cloud-fan commented on code in PR #50345: URL: https://github.com/apache/spark/pull/50345#discussion_r2010206567
########## common/utils/src/main/resources/error/error-conditions.json: ########## @@ -2945,6 +2945,11 @@ "The lambda function has duplicate arguments <args>. Please, consider to rename the argument names or set <caseSensitiveConfig> to \"true\"." ] }, + "LAMBDA_FUNCTION_AS_ARGUMENT_IS_OUT_OF_POSITION" : { Review Comment: I think OUT_OF_POSITION is confusing. e.g. `select transform(x -> x + 1, x -> x + 1)`, the user does not swap the position but simply pass a lambda function to a parameter that does not accept it. -- 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: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org