Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for errCastFailure (0.06 seconds)

  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
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 13.2K bytes
    - Click Count (0)
Back to Top