- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for getLastKeypathComponent (0.17 seconds)
-
internal/s3select/sql/utils.go
func (o *ObjectKey) keyString() string { if o.Lit != nil { return string(*o.Lit) } return o.ID.String() } // getLastKeypathComponent checks if the given expression is a path // expression, and if so extracts the last dot separated component of // the path. Otherwise it returns false. func getLastKeypathComponent(e *Expression) (string, bool) { if len(e.And) > 1 || len(e.And[0].Condition) > 1 || e.And[0].Condition[0].Not != nil ||
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Nov 10 16:12:50 GMT 2021 - 3.6K bytes - Click Count (0) -
internal/s3select/sql/statement.go
if err != nil { return nil, err } // Pick output column names if expr.As != "" { output, err = output.Set(expr.As, v) } else if comp, ok := getLastKeypathComponent(expr.Expression); ok { output, err = output.Set(comp, v) } else { output, err = output.Set(fmt.Sprintf("_%d", i+1), v) } if err != nil { return nil, err } }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 9K bytes - Click Count (0)