Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Cullop (0.25 sec)

  1. internal/s3select/sql/parser.go

    }
    
    // Grammar for Operand:
    //
    // operand → multOp ( ("-" | "+") multOp )*
    // multOpunary ( ("/" | "*" | "%") unary )*
    // unary   → "-" unary | primary
    // primary → Value | Variable | "(" expression ")"
    //
    
    // An Operand is a single term followed by an optional sequence of
    // terms separated by +/-
    type Operand struct {
    	Left  *MultOp     `parser:"@@"`
    	Right []*OpFactor `parser:"(@@)*"`
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  2. internal/s3select/sql/aggregation.go

    	if err != nil {
    		return err
    	}
    	for _, rt := range e.Right {
    		err = rt.Right.aggregateRow(r, tableAlias)
    		if err != nil {
    			return err
    		}
    	}
    	return nil
    }
    
    func (e *MultOp) aggregateRow(r Record, tableAlias string) error {
    	err := e.Left.aggregateRow(r, tableAlias)
    	if err != nil {
    		return err
    	}
    	for _, rt := range e.Right {
    		err = rt.Right.aggregateRow(r, tableAlias)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  3. internal/s3select/sql/analysis.go

    	return
    }
    
    func (e *Operand) analyze(s *Select) (result qProp) {
    	result.combine(e.Left.analyze(s))
    	for _, r := range e.Right {
    		result.combine(r.Right.analyze(s))
    	}
    	return
    }
    
    func (e *MultOp) analyze(s *Select) (result qProp) {
    	result.combine(e.Left.analyze(s))
    	for _, r := range e.Right {
    		result.combine(r.Right.analyze(s))
    	}
    	return
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  4. internal/s3select/sql/evaluate.go

    		if rerr != nil {
    			return nil, rerr
    		}
    		err := lval.arithOp(op, rval)
    		if err != nil {
    			return nil, err
    		}
    	}
    	return lval, nil
    }
    
    func (e *MultOp) evalNode(r Record, tableAlias string) (*Value, error) {
    	lval, lerr := e.Left.evalNode(r, tableAlias)
    	if lerr != nil || len(e.Right) == 0 {
    		return lval, lerr
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 12K bytes
    - Viewed (0)
Back to top