Skip to main content

arity_error

Function arity_error 

Source
fn arity_error(
    name: &str,
    signature: MathSignature,
    given: usize,
) -> DataFusionError
Expand description

The rejection of a math call that wrote given arguments where signature takes another count.

The count is the signature’s, so the message says what this function takes rather than what one argument happens to be. The vector is counted in: it is the function’s first argument, and a reader counting the call’s arguments should not have to add it themselves.