Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for errInvalidDataType (0.13 sec)

  1. internal/s3select/sql/errors.go

    	return err.message
    }
    
    func (err *s3Error) HTTPStatusCode() int {
    	return err.statusCode
    }
    
    func (err *s3Error) Error() string {
    	return err.message
    }
    
    func errInvalidDataType(err error) *s3Error {
    	return &s3Error{
    		code:       "InvalidDataType",
    		message:    "The SQL expression contains an invalid data type.",
    		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)
  2. internal/s3select/sql/value.go

    		return err
    	}
    
    	err = inferTypeForArithOp(a)
    	if err != nil {
    		return err
    	}
    
    	if !v.isNumeric() || !a.isNumeric() {
    		return errInvalidDataType(errArithMismatchedTypes)
    	}
    
    	if !isValidArithOperator(op) {
    		return errInvalidDataType(errArithMismatchedTypes)
    	}
    
    	intV, ok1i := v.ToInt()
    	intA, ok2i := a.ToInt()
    	switch {
    	case ok1i && ok2i:
    		res, err := intArithOp(op, intV, intA)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Feb 25 20:31:19 UTC 2022
    - 20.2K bytes
    - Viewed (0)
  3. cmd/apierrorcode_string.go

    	_ = x[ErrInvalidCompressionFormat-234]
    	_ = x[ErrInvalidFileHeaderInfo-235]
    	_ = x[ErrInvalidJSONType-236]
    	_ = x[ErrInvalidQuoteFields-237]
    	_ = x[ErrInvalidRequestParameter-238]
    	_ = x[ErrInvalidDataType-239]
    	_ = x[ErrInvalidTextEncoding-240]
    	_ = x[ErrInvalidDataSource-241]
    	_ = x[ErrInvalidTableAlias-242]
    	_ = x[ErrMissingRequiredParameter-243]
    	_ = x[ErrObjectSerializationConflict-244]
    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

    	ErrExpressionTooLong
    	ErrIllegalSQLFunctionArgument
    	ErrInvalidKeyPath
    	ErrInvalidCompressionFormat
    	ErrInvalidFileHeaderInfo
    	ErrInvalidJSONType
    	ErrInvalidQuoteFields
    	ErrInvalidRequestParameter
    	ErrInvalidDataType
    	ErrInvalidTextEncoding
    	ErrInvalidDataSource
    	ErrInvalidTableAlias
    	ErrMissingRequiredParameter
    	ErrObjectSerializationConflict
    	ErrUnsupportedSQLOperation
    	ErrUnsupportedSQLStructure
    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