- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for StripTableAlias (0.15 sec)
-
internal/s3select/sql/utils.go
parts[i+1] = pe.String() } e.pathString = strings.Join(parts, "") } return e.pathString } // StripTableAlias removes a table alias from the path. The result is also // cached for repeated lookups during SQL query evaluation. func (e *JSONPath) StripTableAlias(tableAlias string) []*JSONPathElement { if e.strippedTableAlias == tableAlias { return e.strippedPathExpr }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Nov 10 16:12:50 UTC 2021 - 3.6K bytes - Viewed (0) -
internal/s3select/sql/evaluate.go
return nil, errArithMismatchedTypes } func (e *JSONPath) evalNode(r Record, tableAlias string) (*Value, error) { 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}}} }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 23 19:35:41 UTC 2024 - 12K bytes - Viewed (0)