Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for errCastFailure (0.32 sec)

  1. internal/s3select/sql/funceval.go

    		if !ok {
    			return 0, errCastFailure("could not parse as int")
    		}
    		return res, nil
    	case []byte:
    		// Parse as number, truncate floating point if
    		// needed.
    		// String might contain trimming spaces, which
    		// needs to be trimmed.
    		res, ok := strToInt(strings.TrimSpace(string(x)))
    		if !ok {
    			return 0, errCastFailure("could not parse as int")
    		}
    		return res, nil
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 13.2K bytes
    - Viewed (0)
Back to top