Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Zinman (0.18 sec)

  1. internal/s3select/sql/aggregation.go

    		}
    		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:
    		err = errInvalidAggregation
    	}
    
    	return err
    }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  2. internal/s3select/sql/value.go

    // assumed to be numeric. Attempts conversion to numeric type for `a`
    // (first int, then float) only if the underlying values do not have a
    // type.
    func (v *Value) minmax(a *Value, isMax, isFirstRow bool) error {
    	err := inferTypeForArithOp(a)
    	if err != nil {
    		return err
    	}
    
    	if !a.isNumeric() {
    		return errArithMismatchedTypes
    	}
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Feb 25 20:31:19 GMT 2022
    - 20.2K bytes
    - Viewed (0)
Back to top