You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2021/11/07 00:55:00 UTC

[GitHub] [spark] viirya commented on a change in pull request #34499: [SPARK-37221][SQL] The collect-like API in SparkPlan should support columnar output

viirya commented on a change in pull request #34499:
URL: https://github.com/apache/spark/pull/34499#discussion_r744185819



##########
File path: sql/core/src/test/scala/org/apache/spark/sql/execution/SparkPlanSuite.scala
##########
@@ -109,4 +113,19 @@ class SparkPlanSuite extends QueryTest with SharedSparkSession {
     assert(err.getMessage.contains("Deduplicate operator for non streaming data source " +
       "should have been replaced by aggregate in the optimizer"))
   }
+
+  test("SPARK-37221: The collect-like API in SparkPlan should support columnar output") {
+    val results = ColumnarOp(LocalTableScanExec(Nil, Nil)).executeCollect()
+    assert(results.isEmpty)

Review comment:
       Sure. Let me add another one.




-- 
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-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org