Share via


INVALID_LAMBDA_FUNCTION_CALL error condition

SQLSTATE: 42K0D

Invalid lambda function call.

DUPLICATE_ARG_NAMES

The lambda function has duplicate arguments <args>. Please, consider to rename the argument names or set <caseSensitiveConfig> to "true".

LAMBDA_IN_GROUP_BY_FORBIDDEN

A lambda function cannot be a GROUP BY expression.

LAMBDA_IN_ORDER_BY_FORBIDDEN

A lambda function cannot be an ORDER BY expression.

LAMBDA_IN_PROJECT_FORBIDDEN

A lambda function cannot be part of output in SELECT clause.

NON_HIGHER_ORDER_FUNCTION

A lambda function should only be used in a higher order function. However, its class is <class>, which is not a higher order function.

NUM_ARGS_MISMATCH

A higher order function expects <expectedNumArgs> arguments, but got <actualNumArgs>.

PARAMETER_DOES_NOT_ACCEPT_LAMBDA_FUNCTION

You passed a lambda function to a parameter that does not accept it. Please check if lambda function argument is in the correct position.