- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for evalInNode (0.08 sec)
-
internal/s3select/sql/evaluate.go
} func (e *PrimaryTerm) evalNode(r Record, tableAlias string) (res *Value, err error) { switch { case e.Value != nil: return e.Value.evalNode(r) case e.JPathExpr != nil: return e.JPathExpr.evalNode(r, tableAlias) case e.ListExpr != nil: return e.ListExpr.evalNode(r, tableAlias) case e.SubExpression != nil: return e.SubExpression.evalNode(r, tableAlias) case e.FuncCall != nil:
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 23 19:35:41 UTC 2024 - 12K bytes - Viewed (0) -
internal/s3select/sql/statement.go
// records have been processed. Applies only to aggregation queries. func (e *SelectStatement) AggregateResult(output Record) error { for i, expr := range e.selectAST.Expression.Expressions { v, err := expr.evalNode(nil, e.tableAlias) if err != nil { return err } if expr.As != "" { output, err = output.Set(expr.As, v) } else { output, err = output.Set(fmt.Sprintf("_%d", i+1), v) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 23 19:35:41 UTC 2024 - 8.9K bytes - Viewed (0)