Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for dateAdd (0.05 sec)

  1. internal/s3select/sql/funceval.go

    		return aggFnCount
    	case e.Cast != nil:
    		return sqlFnCast
    	case e.Substring != nil:
    		return sqlFnSubstring
    	case e.Extract != nil:
    		return sqlFnExtract
    	case e.Trim != nil:
    		return sqlFnTrim
    	case e.DateAdd != nil:
    		return sqlFnDateAdd
    	case e.DateDiff != nil:
    		return sqlFnDateDiff
    	default:
    		return ""
    	}
    }
    
    // evalSQLFnNode assumes that the FuncExpr is not an aggregation
    // function.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 13.2K bytes
    - Viewed (0)
  2. internal/s3select/sql/parser.go

    	TrimChars *PrimaryTerm `parser:"             @@?  "`
    	TrimFrom  *PrimaryTerm `parser:"             \"FROM\" )? @@ \")\" "`
    }
    
    // DateAddFunc represents the DATE_ADD function
    type DateAddFunc struct {
    	DatePart  string       `parser:" \"DATE_ADD\" \"(\" @( \"YEAR\":Timeword | \"MONTH\":Timeword | \"DAY\":Timeword | \"HOUR\":Timeword | \"MINUTE\":Timeword | \"SECOND\":Timeword ) \",\""`
    	Quantity  *Operand     `parser:" @@ \",\""`
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 12.9K bytes
    - Viewed (0)
Back to top