Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for errIncorrectSQLFunctionArgumentType (1.86 sec)

  1. internal/s3select/sql/funceval.go

    		return nil, errIncorrectSQLFunctionArgumentType(err)
    	}
    	return FromInt(int64(len([]rune(s)))), nil
    }
    
    func lowerCase(v *Value) (*Value, error) {
    	inferTypeAsString(v)
    	s, ok := v.ToString()
    	if !ok {
    		err := fmt.Errorf("%s expects a string argument", sqlFnLower)
    		return nil, errIncorrectSQLFunctionArgumentType(err)
    	}
    	return FromString(strings.ToLower(s)), nil
    }
    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/errors.go

    	return &s3Error{
    		code:       "InvalidDataType",
    		message:    "The SQL expression contains an invalid data type.",
    		statusCode: 400,
    		cause:      err,
    	}
    }
    
    func errIncorrectSQLFunctionArgumentType(err error) *s3Error {
    	return &s3Error{
    		code:       "IncorrectSqlFunctionArgumentType",
    		message:    "Incorrect type of arguments in function call.",
    		statusCode: 400,
    		cause:      err,
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 2.6K bytes
    - Viewed (0)
  3. cmd/apierrorcode_string.go

    	_ = x[ErrParseExpectedIdentForAt-289]
    	_ = x[ErrParseAsteriskIsNotAloneInSelectList-290]
    	_ = x[ErrParseCannotMixSqbAndWildcardInSelectList-291]
    	_ = x[ErrParseInvalidContextForWildcardInSelectList-292]
    	_ = x[ErrIncorrectSQLFunctionArgumentType-293]
    	_ = x[ErrValueParseFailure-294]
    	_ = x[ErrEvaluatorInvalidArguments-295]
    	_ = x[ErrIntegerOverflow-296]
    	_ = x[ErrLikeInvalidInputs-297]
    	_ = x[ErrCastFailed-298]
    	_ = x[ErrInvalidCast-299]
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  4. cmd/api-errors.go

    	ErrParseMalformedJoin
    	ErrParseExpectedIdentForAt
    	ErrParseAsteriskIsNotAloneInSelectList
    	ErrParseCannotMixSqbAndWildcardInSelectList
    	ErrParseInvalidContextForWildcardInSelectList
    	ErrIncorrectSQLFunctionArgumentType
    	ErrValueParseFailure
    	ErrEvaluatorInvalidArguments
    	ErrIntegerOverflow
    	ErrLikeInvalidInputs
    	ErrCastFailed
    	ErrInvalidCast
    	ErrEvaluatorInvalidTimestampFormatPattern
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 92.1K bytes
    - Viewed (0)
Back to top