amaliujia commented on code in PR #39068:
URL: https://github.com/apache/spark/pull/39068#discussion_r1052727913
##########
connector/connect/server/src/main/scala/org/apache/spark/sql/connect/planner/SparkConnectPlanner.scala:
##########
@@ -534,6 +536,36 @@ class SparkConnectPlanner(session: SparkSession) {
}
}
+ /**
+ * Translates a LambdaFunction from proto to the Catalyst expression.
+ */
+ private def transformLamdaFunction(lambda: proto.Expression.LambdaFunction):
Expression = {
+ if (lambda.getArgumentsCount == 0) {
Review Comment:
There is a validation in the client side already but I guess we need that in
the server side as well?
--
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]