Skip to content

Commit 44abd2f

Browse files
committed
address review comments
1 parent dacb790 commit 44abd2f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

sql/core/src/test/scala/org/apache/spark/sql/TPCDSQuerySuite.scala

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ package org.apache.spark.sql
1919

2020
import org.scalatest.BeforeAndAfterAll
2121

22-
import org.apache.spark.internal.Logging
2322
import org.apache.spark.sql.catalyst.expressions.codegen.{CodeFormatter, CodeGenerator}
2423
import org.apache.spark.sql.catalyst.rules.RuleExecutor
2524
import 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
}

0 commit comments

Comments
 (0)