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


##########
sql/core/src/main/scala/org/apache/spark/sql/execution/QueryExecution.scala:
##########
@@ -92,7 +93,38 @@ class QueryExecution(
       sparkSession.sessionState.analyzer.executeAndCheck(logical, tracker)
     }
     tracker.setAnalyzed(plan)
-    plan
+
+    mode match {

Review Comment:
   I'd prefer a special mix-in interface that indicates the command returns 
multiple result sets. It should have a method to return multiple 
LogicalPlan/DataFrame.



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