Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for evalNode (0.07 sec)

  1. 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)
  2. internal/s3select/sql/funceval.go

    	q, err := d.Quantity.evalNode(r, tableAlias)
    	if err != nil {
    		return nil, err
    	}
    	inferTypeForArithOp(q)
    	qty, ok := q.ToFloat()
    	if !ok {
    		return nil, fmt.Errorf("QUANTITY must be a numeric argument to %s()", sqlFnDateAdd)
    	}
    
    	ts, err := d.Timestamp.evalNode(r, tableAlias)
    	if err != nil {
    		return nil, err
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 13.2K bytes
    - Viewed (0)
Back to top