Github user MaxGekk commented on a diff in the pull request:
https://github.com/apache/spark/pull/22429#discussion_r219276920
--- Diff:
sql/core/src/test/scala/org/apache/spark/sql/execution/QueryExecutionSuite.scala
---
@@ -16,11 +16,33 @@
*/
package org.apache.spark.sql.execution
+import scala.io.Source
+
import org.apache.spark.sql.AnalysisException
import org.apache.spark.sql.catalyst.plans.logical.{LogicalPlan,
OneRowRelation}
import org.apache.spark.sql.test.SharedSQLContext
class QueryExecutionSuite extends SharedSQLContext {
+ test("dumping query execution info to a file") {
+ withTempDir { dir =>
+ val path = dir.getCanonicalPath + "/plans.txt"
--- End diff --
> Also add a few cases.
@gatorsmile I added a few tests. Please, take a look at them.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]