- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 23 for Expression (0.34 sec)
-
internal/s3select/sql/statement.go
if !selectAST.Expression.All && len(selectAST.Expression.Expressions) == 1 && len(selectAST.Expression.Expressions[0].Expression.And) == 1 && len(selectAST.Expression.Expressions[0].Expression.And[0].Condition) == 1 && selectAST.Expression.Expressions[0].Expression.And[0].Condition[0].Operand != nil && selectAST.Expression.Expressions[0].Expression.And[0].Condition[0].Operand.Operand.Left != nil &&
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) -
internal/s3select/sql/parser.go
strippedTableAlias string strippedPathExpr []*JSONPathElement } // AliasedExpression is an expression that can be optionally named type AliasedExpression struct { Expression *Expression `parser:"@@"` As string `parser:"[ \"AS\" @Ident | \"AS\" @LitString ]"` } // Grammar for Expression // // Expression → AndCondition ("OR" AndCondition)* // AndCondition → Condition ("AND" Condition)*
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) -
internal/s3select/unused-errors.go
message: "Did not find the expected identifier for AT name in the SQL expression.", statusCode: 400, cause: err, } } func errParseCannotMixSqbAndWildcardInSelectList(err error) *s3Error { return &s3Error{ code: "ParseCannotMixSqbAndWildcardInSelectList", message: "Cannot mix [] and * in the same expression in a SELECT list in SQL expression.", statusCode: 400, cause: err, } }
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) -
internal/s3select/sql/analysis.go
if e.All { return qProp{isRowFunc: true} } for _, ex := range e.Expressions { result.combine(ex.analyze(s)) } return } func (e *AliasedExpression) analyze(s *Select) qProp { return e.Expression.analyze(s) } func (e *Expression) analyze(s *Select) (result qProp) { for _, ac := range e.And { result.combine(ac.analyze(s)) } return }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sat Dec 23 07:19:11 GMT 2023 - 8.5K bytes - Viewed (0) -
internal/s3select/sql/errors.go
} 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, } } func errIncorrectSQLFunctionArgumentType(err error) *s3Error { return &s3Error{ code: "IncorrectSqlFunctionArgumentType",
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Jun 01 21:59:40 GMT 2021 - 2.6K bytes - Viewed (0) -
cmd/batch-expire_test.go
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 3K bytes - Viewed (0) -
internal/s3select/select_benchmark_test.go
func (w *nullResponseWriter) Flush() { } func benchmarkSelect(b *testing.B, count int, query string) { requestXML := []byte(` <?xml version="1.0" encoding="UTF-8"?> <SelectObjectContentRequest> <Expression>` + query + `</Expression> <ExpressionType>SQL</ExpressionType> <InputSerialization> <CompressionType>NONE</CompressionType> <CSV> <FileHeaderInfo>USE</FileHeaderInfo> </CSV>
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 14 13:54:47 GMT 2022 - 5K bytes - Viewed (0) -
docs/select/README.md
### 3. Example As an example, let us take a gzip compressed CSV file. Without S3 Select, we would need to download, decompress and process the entire CSV to get the data you needed. With Select API, can use a simple SQL expression to return only the data from the CSV you’re interested in, instead of retrieving the entire object. Following Python example shows how to retrieve the first column `Location` from an object containing data in CSV format.
Plain Text - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Sep 29 04:28:45 GMT 2022 - 6.5K bytes - Viewed (0) -
internal/s3select/sql/aggregation.go
default: err = errInvalidAggregation } return err } func (e *AliasedExpression) aggregateRow(r Record, tableAlias string) error { return e.Expression.aggregateRow(r, tableAlias) } func (e *Expression) aggregateRow(r Record, tableAlias string) error { for _, ex := range e.And { err := ex.aggregateRow(r, tableAlias) if err != nil { return err } } return nil
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sat Dec 23 07:19:11 GMT 2023 - 7.9K bytes - Viewed (0) -
internal/s3select/sql/evaluate.go
// processed, and the `getAggregate` function is called. func (e *AliasedExpression) evalNode(r Record, tableAlias string) (*Value, error) { return e.Expression.evalNode(r, tableAlias) } func (e *Expression) evalNode(r Record, tableAlias string) (*Value, error) { if len(e.And) == 1 { // In this case, result is not required to be boolean // type. return e.And[0].evalNode(r, tableAlias) }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sat Dec 23 07:19:11 GMT 2023 - 12K bytes - Viewed (0)