Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for arrayCompare (0.09 sec)

  1. internal/s3select/sql/value.go

    		// If one is, both must be.
    		return boolCompare(op, v.IsMissing(), a.IsMissing())
    	}
    
    	// Check array values
    	aArr, aOK := a.ToArray()
    	vArr, vOK := v.ToArray()
    	if aOK && vOK {
    		return arrayCompare(op, aArr, vArr)
    	}
    
    	isNumeric := v.isNumeric() && a.isNumeric()
    	if isNumeric {
    		intV, ok1i := v.ToInt()
    		intA, ok2i := a.ToInt()
    		if ok1i && ok2i {
    			return intCompare(op, intV, intA), nil
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Feb 25 20:31:19 UTC 2022
    - 20.2K bytes
    - Viewed (0)
Back to top