Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Later
-
4.0.0
-
None
Description
Lambdas in non-higher order functions throw
INVALID_LAMBDA_FUNCTION_CALL.NON_HIGHER_ORDER_FUNCTION
, however this is only thrown from other functions, and not for all cases:
select if(x -> x = 2, 10, 20)
throws
INVALID_LAMBDA_FUNCTION_CALL.NON_HIGHER_ORDER_FUNCTION
, but
select if(not x -> x = 2, 10, 20)
throws
UnresolvedException
The user error in the latter case needs improvement
Attachments
Issue Links
- links to