Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for errUnsupportedCast (0.55 sec)

  1. internal/s3select/sql/funceval.go

    		return nil, err
    	}
    
    	t, ok := timeVal.ToTimestamp()
    	if !ok {
    		return nil, errNonTimestampArg
    	}
    
    	return extract(strings.ToUpper(e.Timeword), t)
    }
    
    func errUnsupportedCast(fromType, toType string) error {
    	return fmt.Errorf("Cannot cast from %v to %v", fromType, toType)
    }
    
    func errCastFailure(msg string) error {
    	return fmt.Errorf("Error casting: %s", msg)
    }
    
    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