Skip to content

Commit fc9b910

Browse files
committed
another check
1 parent cae3571 commit fc9b910

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

sql/hive-thriftserver/src/test/scala/org/apache/spark/sql/hive/thriftserver/HiveThriftServer2Suites.scala

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,7 @@ import org.scalatest.BeforeAndAfterAll
4444
import org.apache.spark.{SparkException, SparkFunSuite}
4545
import org.apache.spark.internal.Logging
4646
import org.apache.spark.sql.hive.HiveUtils
47-
import org.apache.spark.sql.hive.test.{HiveTestJars, TestHive}
48-
import org.apache.spark.sql.internal.SQLConf
47+
import org.apache.spark.sql.hive.test.HiveTestJars
4948
import org.apache.spark.sql.internal.StaticSQLConf.HIVE_THRIFT_SERVER_SINGLESESSION
5049
import org.apache.spark.sql.test.ProcessTestUtils.ProcessOutputCapturer
5150
import org.apache.spark.util.{ThreadUtils, Utils}

sql/hive/src/test/scala/org/apache/spark/sql/hive/InsertSuite.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,7 @@ class InsertSuite extends QueryTest with TestHiveSingleton with BeforeAndAfter
587587
|INSERT OVERWRITE LOCAL DIRECTORY '${path}'
588588
|STORED AS orc
589589
|SELECT * FROM src where key < 10
590-
""".stripMargin)
590+
""".stripMargin)
591591

592592
// use orc data source to check the data of path is right.
593593
withTempView("orc_source") {
@@ -598,7 +598,7 @@ class InsertSuite extends QueryTest with TestHiveSingleton with BeforeAndAfter
598598
|OPTIONS (
599599
| PATH '${dir.getCanonicalPath}'
600600
|)
601-
""".stripMargin)
601+
""".stripMargin)
602602

603603
checkAnswer(
604604
sql("select * from orc_source"),

sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/HiveExplainSuite.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ import org.apache.spark.util.Utils
3232
* A set of tests that validates support for Hive Explain command.
3333
*/
3434
class HiveExplainSuite extends QueryTest with SQLTestUtils with TestHiveSingleton {
35-
3635
import testImplicits._
36+
3737
test("show cost in explain command") {
3838
val explainCostCommand = "EXPLAIN COST SELECT * FROM src"
3939
// For readability, we only show optimized plan and physical plan in explain cost command

0 commit comments

Comments
 (0)