xieshuaihu commented on code in PR #48430:
URL: https://github.com/apache/spark/pull/48430#discussion_r1800643605
##########
sql/connect/server/src/main/scala/org/apache/spark/sql/connect/execution/SparkConnectPlanExecution.scala:
##########
@@ -144,6 +144,14 @@ private[execution] class
SparkConnectPlanExecution(executeHolder: ExecuteHolder)
sendBatch(bytes, count, offset)
offset += count
}
+ case cle @ (_: CollectLimitExec | _: CollectTailExec) =>
+ val rows = cle.executeCollect()
Review Comment:
Thanks for your review, I will rewrite it in streaming fashion.
--
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]