Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for errInvalidJSONType (0.17 sec)

  1. internal/s3select/json/errors.go

    	return err.message
    }
    
    func (err *s3Error) HTTPStatusCode() int {
    	return err.statusCode
    }
    
    func (err *s3Error) Error() string {
    	return err.message
    }
    
    func errInvalidJSONType(err error) *s3Error {
    	return &s3Error{
    		code:       "InvalidJsonType",
    		message:    "The JsonType is invalid. Only DOCUMENT and LINES are supported.",
    		statusCode: 400,
    		cause:      err,
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  2. internal/s3select/json/args.go

    		return err
    	}
    
    	parsedArgs.ContentType = strings.ToLower(parsedArgs.ContentType)
    	switch parsedArgs.ContentType {
    	case document, lines:
    	default:
    		return errInvalidJSONType(fmt.Errorf("invalid ContentType '%v'", parsedArgs.ContentType))
    	}
    
    	*args = ReaderArgs(parsedArgs)
    	args.unmarshaled = true
    	return nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 2.7K bytes
    - Viewed (0)
  3. cmd/apierrorcode_string.go

    	_ = x[ErrExpressionTooLong-231]
    	_ = x[ErrIllegalSQLFunctionArgument-232]
    	_ = x[ErrInvalidKeyPath-233]
    	_ = 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]
    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

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