Github user ueshin commented on a diff in the pull request:
https://github.com/apache/spark/pull/21650#discussion_r199051303
--- Diff:
sql/core/src/test/scala/org/apache/spark/sql/execution/python/BatchEvalPythonExecSuite.scala
---
@@ -97,6 +103,64 @@ class BatchEvalPythonExecSuite extends SparkPlanTest
with SharedSQLContext {
}
assert(qualifiedPlanNodes.size == 1)
}
+
+ private def collectPythonExec(spark: SparkPlan):
Seq[BatchEvalPythonExec] = spark.collect {
+ case b: BatchEvalPythonExec => b
+ }
+
+ private def collectPandasExec(spark: SparkPlan):
Seq[ArrowEvalPythonExec] = spark.collect {
--- End diff --
ditto.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]