dongjoon-hyun commented on a change in pull request #30765:
URL: https://github.com/apache/spark/pull/30765#discussion_r542674121



##########
File path: sql/core/src/main/scala/org/apache/spark/sql/execution/subquery.scala
##########
@@ -191,7 +194,10 @@ case class PlanSubqueries(sparkSession: SparkSession) 
extends Rule[SparkPlan] {
           )
         }
         val executedPlan = QueryExecution.prepareExecutedPlan(sparkSession, 
query)
-        InSubqueryExec(expr, SubqueryExec(s"subquery#${exprId.id}", 
executedPlan), exprId)
+        InSubqueryExec(
+          expr,
+          SubqueryExec(s"subquery#${exprId.id}", executedPlan, maxNumRows = 
None),
+          exprId)

Review comment:
       So, we need this change because we don't prefer to have the default 
value for `maxNumRows`?




----------------------------------------------------------------
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.

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