xinrong-meng commented on code in PR #49424: URL: https://github.com/apache/spark/pull/49424#discussion_r1936345930
########## sql/connect/server/src/main/scala/org/apache/spark/sql/connect/planner/SparkConnectPlanner.scala: ########## @@ -3835,6 +3835,24 @@ class SparkConnectPlanner( UnresolvedScalarSubqueryPlanId(planId) case proto.SubqueryExpression.SubqueryType.SUBQUERY_TYPE_EXISTS => UnresolvedExistsPlanId(planId) + case proto.SubqueryExpression.SubqueryType.SUBQUERY_TYPE_TABLE_ARG => + if (!getSubqueryExpression.hasTableArgOptions) { + throw InvalidPlanInput("Missing tableArgOptions for SUBQUERY_TYPE_TABLE_ARG") + } Review Comment: Ah I see what you meant, adjusted. -- 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