pub fn generate_signature_error_msg(
func_name: &str,
func_signature: Signature,
input_expr_types: &[DataType],
) -> String
Expand description
Creates a detailed error message for a function with wrong signature.
For example, a query like select round(3.14, 1.1);
would yield:
Error during planning: No function matches 'round(Float64, Float64)'. You might need to add explicit type casts.
Candidate functions:
round(Float64, Int64)
round(Float32, Int64)
round(Float64)
round(Float32)