File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
sql/core/src/test/scala/org/apache/spark/sql Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,6 @@ package org.apache.spark.sql
1919
2020import org .scalatest .BeforeAndAfterAll
2121
22- import org .apache .spark .internal .Logging
2322import org .apache .spark .sql .catalyst .expressions .codegen .{CodeFormatter , CodeGenerator }
2423import org .apache .spark .sql .catalyst .rules .RuleExecutor
2524import org .apache .spark .sql .catalyst .util .resourceToString
@@ -32,7 +31,7 @@ import org.apache.spark.util.Utils
3231 * This test suite ensures all the TPC-DS queries can be successfully analyzed and optimized
3332 * without hitting the max iteration threshold.
3433 */
35- class TPCDSQuerySuite extends QueryTest with SharedSQLContext with BeforeAndAfterAll with Logging {
34+ class TPCDSQuerySuite extends QueryTest with SharedSQLContext with BeforeAndAfterAll {
3635
3736 // When Utils.isTesting is true, the RuleExecutor will issue an exception when hitting
3837 // the max iteration of analyzer/optimizer batches.
@@ -372,7 +371,7 @@ class TPCDSQuerySuite extends QueryTest with SharedSQLContext with BeforeAndAfte
372371 | $subtree
373372 |Generated code:
374373 | ${CodeFormatter .format(code)}
375- """
374+ """ .stripMargin
376375 throw new Exception (msg, e)
377376 }
378377 }
You can’t perform that action at this time.
0 commit comments