- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for PathExpr (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
internal/s3select/sql/evaluate.go
alias := tableAlias if tableAlias == "" { alias = baseTableName } pathExpr := e.StripTableAlias(alias) _, rawVal := r.Raw() switch rowVal := rawVal.(type) { case jstream.KVS, simdjson.Object: if len(pathExpr) == 0 { pathExpr = []*JSONPathElement{{Key: &ObjectKey{ID: e.BaseKey}}} } result, _, err := jsonpathEval(pathExpr, rowVal) if err != nil { return nil, err }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 12K bytes - Click Count (0) -
internal/s3select/sql/statement.go
if !strings.EqualFold(from.Table.BaseKey.String(), baseTableName) { return errBadTableName(errors.New("table name must be `s3object`")) } if len(from.Table.PathExpr) > 0 { if !from.Table.PathExpr[0].ArrayWildcard { return errBadTableName(errors.New("keypath table name is invalid - please check the service documentation")) } } return nil }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 9K bytes - Click Count (0) -
internal/s3select/sql/analysis.go
} return result } func (e *In) analyze(s *Select) (result qProp) { switch { case e.JPathExpr != nil: // Check if the path expression is valid if len(e.JPathExpr.PathExpr) > 0 { if e.JPathExpr.BaseKey.String() != s.From.As && !strings.EqualFold(e.JPathExpr.BaseKey.String(), baseTableName) { result = qProp{err: errInvalidKeypath} return result } }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 8.6K bytes - Click Count (0) -
internal/s3select/sql/parser.go
} // JSONPath represents a keypath. // Instances should be treated idempotent and not change once created. type JSONPath struct { BaseKey *Identifier `parser:" @@"` PathExpr []*JSONPathElement `parser:"(@@)*"` // Cached values: pathString string strippedTableAlias string strippedPathExpr []*JSONPathElement }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 12.9K bytes - Click Count (0)