cloud-fan commented on code in PR #45652:
URL: https://github.com/apache/spark/pull/45652#discussion_r1537003305


##########
common/utils/src/main/resources/error/error-classes.json:
##########
@@ -4457,6 +4457,11 @@
           "Expressions referencing the outer query are not supported outside 
of WHERE/HAVING clauses: <sqlExprs>."
         ]
       },
+      "LAMBDA_OR_HIGHER_ORDER_FUNCTION" : {

Review Comment:
   Reading the code comment
   ```
   /**
    * A higher order function takes one or more (lambda) functions and applies 
these to some objects.
    * The function produces a number of variables which can be consumed by some 
lambda function.
    */
   ```
   
   I think for use-facing error message, we can just say "higher order 
functions". For the code change, we can check both `HigherOrderFunction` and 
`LambdaFunction` to  be safe.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to