Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for Klauser (0.3 sec)

  1. cmd/api-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrParseExpectedWhenClause: {
    		Code:           "ParseExpectedWhenClause",
    		Description:    "Did not find the expected WHEN clause in the SQL expression. CASE is not supported.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrParseUnsupportedToken: {
    		Code:           "ParseUnsupportedToken",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  2. internal/s3select/sql/parser.go

    // Expression represents a logical disjunction of clauses
    type Expression struct {
    	And []*AndCondition `parser:"@@ ( \"OR\" @@ )*"`
    }
    
    // ListExpr represents a literal list with elements as expressions.
    type ListExpr struct {
    	Elements []*Expression `parser:"\"(\" @@ ( \",\" @@ )* \")\" | \"[\" @@ ( \",\" @@ )* \"]\""`
    }
    
    // AndCondition represents logical conjunction of clauses
    type AndCondition struct {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  3. internal/s3select/sql/evaluate.go

    )
    
    var (
    	errInvalidASTNode    = errors.New("invalid AST Node")
    	errExpectedBool      = errors.New("expected bool")
    	errLikeNonStrArg     = errors.New("LIKE clause requires string arguments")
    	errLikeInvalidEscape = errors.New("LIKE clause has invalid ESCAPE character")
    	errNotImplemented    = errors.New("not implemented")
    )
    
    // AST Node Evaluation functions
    //
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 12K bytes
    - Viewed (0)
  4. go.sum

    github.com/tklauser/go-sysconf v0.3.12/go.mod h1:Ho14jnntGE1fpdOqQEEaiKRpvIavV0hSfmBq8nJbHYI=
    github.com/tklauser/go-sysconf v0.3.13 h1:GBUpcahXSpR2xN01jhkNAbTLRk2Yzgggk8IM08lq3r4=
    github.com/tklauser/go-sysconf v0.3.13/go.mod h1:zwleP4Q4OehZHGn4CYZDipCgg9usW5IJePewFCGVEa0=
    github.com/tklauser/numcpus v0.6.1/go.mod h1:1XfjsgE2zo8GVw7POkMbHENHzVg3GzmoZ9fESEdAacY=
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 84.2K bytes
    - Viewed (0)
  5. internal/s3select/unused-errors.go

    		statusCode: 400,
    		cause:      err,
    	}
    }
    
    func errParseExpectedWhenClause(err error) *s3Error {
    	return &s3Error{
    		code:       "ParseExpectedWhenClause",
    		message:    "Did not find the expected WHEN clause in the SQL expression. CASE is not supported.",
    		statusCode: 400,
    		cause:      err,
    	}
    }
    
    func errParseUnsupportedToken(err error) *s3Error {
    	return &s3Error{
    		code:       "ParseUnsupportedToken",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 20 08:16:35 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  6. internal/s3select/sql/statement.go

    		return
    	}
    
    	// Analyze where clause
    	if selectAST.Where != nil {
    		whereQProp := selectAST.Where.analyze(&selectAST)
    		if whereQProp.err != nil {
    			err = errQueryAnalysisFailure(fmt.Errorf("Where clause error: %w", whereQProp.err))
    			return
    		}
    
    		if whereQProp.isAggregation {
    			err = errQueryAnalysisFailure(errors.New("WHERE clause cannot have an aggregation"))
    			return
    		}
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 09 17:19:11 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  7. CREDITS

    ================================================================
    
    github.com/tklauser/go-sysconf
    https://github.com/tklauser/go-sysconf
    ----------------------------------------------------------------
    BSD 3-Clause License
    
    Copyright (c) 2018-2022, Tobias Klauser
    All rights reserved.
    
    Redistribution and use in source and binary forms, with or without
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 06:31:35 GMT 2024
    - 1.6M bytes
    - Viewed (0)
Back to top