Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for arithOp (0.16 sec)

  1. internal/s3select/sql/aggregation.go

    		f, ok := argVal.ToFloat()
    		if !ok {
    			return fmt.Errorf("Could not convert value %v (%s) to a number", argVal.value, argVal.GetTypeString())
    		}
    		argVal.setFloat(f)
    		err = e.aggregate.runningSum.arithOp(opPlus, argVal)
    
    	case aggFnMin:
    		err = e.aggregate.runningMin.minmax(argVal, false, isFirstRow)
    
    	case aggFnMax:
    		err = e.aggregate.runningMax.minmax(argVal, true, isFirstRow)
    
    	default:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Dec 23 07:19:11 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  2. internal/s3select/sql/evaluate.go

    	// symbols.
    	for _, rightTerm := range e.Right {
    		op := rightTerm.Op
    		rval, rerr := rightTerm.Right.evalNode(r, tableAlias)
    		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)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 12K bytes
    - Viewed (0)
  3. internal/s3select/sql/value.go

    	opModulo   = "%"
    )
    
    // For arithmetic operations, if both values are numeric then the
    // operation shall succeed. If the types are unknown automatic type
    // conversion to a number is attempted.
    func (v *Value) arithOp(op string, a *Value) error {
    	err := inferTypeForArithOp(v)
    	if err != nil {
    		return err
    	}
    
    	err = inferTypeForArithOp(a)
    	if err != nil {
    		return err
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Feb 25 20:31:19 UTC 2022
    - 20.2K bytes
    - Viewed (0)
  4. CHANGELOG/CHANGELOG-1.3.md

    * vSphere Volume Plugin Implementation ([#24947](https://github.com/kubernetes/kubernetes/pull/24947), [@abithap](https://github.com/abithap))
    * ResourceQuota controller uses rate limiter to prevent hot-loops in error situations ([#25748](https://github.com/kubernetes/kubernetes/pull/25748), [@derekwaynecarr](https://github.com/derekwaynecarr))
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Thu Dec 24 02:28:26 UTC 2020
    - 84K bytes
    - Viewed (0)
Back to top