Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for errNonNumericArg (0.09 sec)

  1. internal/s3select/sql/aggregation.go

    // Aggregation Function name constants
    const (
    	aggFnAvg   FuncName = "AVG"
    	aggFnCount FuncName = "COUNT"
    	aggFnMax   FuncName = "MAX"
    	aggFnMin   FuncName = "MIN"
    	aggFnSum   FuncName = "SUM"
    )
    
    var (
    	errNonNumericArg = func(fnStr FuncName) error {
    		return fmt.Errorf("%s() requires a numeric argument", fnStr)
    	}
    	errInvalidAggregation = errors.New("Invalid aggregation seen")
    )
    
    type aggVal struct {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Dec 23 07:19:11 UTC 2023
    - 7.9K bytes
    - Viewed (0)
Back to top