Github user viirya commented on a diff in the pull request:
https://github.com/apache/spark/pull/22429#discussion_r217915212
--- 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 + s"/plans.txt"
--- End diff --
We don't need string interpolation here.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]