File tree Expand file tree Collapse file tree 3 files changed +4
-5
lines changed
hive/src/test/scala/org/apache/spark/sql/hive
hive-thriftserver/src/test/scala/org/apache/spark/sql/hive/thriftserver Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -44,8 +44,7 @@ import org.scalatest.BeforeAndAfterAll
44
44
import org .apache .spark .{SparkException , SparkFunSuite }
45
45
import org .apache .spark .internal .Logging
46
46
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
49
48
import org .apache .spark .sql .internal .StaticSQLConf .HIVE_THRIFT_SERVER_SINGLESESSION
50
49
import org .apache .spark .sql .test .ProcessTestUtils .ProcessOutputCapturer
51
50
import org .apache .spark .util .{ThreadUtils , Utils }
Original file line number Diff line number Diff line change @@ -587,7 +587,7 @@ class InsertSuite extends QueryTest with TestHiveSingleton with BeforeAndAfter
587
587
|INSERT OVERWRITE LOCAL DIRECTORY ' ${path}'
588
588
|STORED AS orc
589
589
|SELECT * FROM src where key < 10
590
- """ .stripMargin)
590
+ """ .stripMargin)
591
591
592
592
// use orc data source to check the data of path is right.
593
593
withTempView(" orc_source" ) {
@@ -598,7 +598,7 @@ class InsertSuite extends QueryTest with TestHiveSingleton with BeforeAndAfter
598
598
|OPTIONS (
599
599
| PATH ' ${dir.getCanonicalPath}'
600
600
|)
601
- """ .stripMargin)
601
+ """ .stripMargin)
602
602
603
603
checkAnswer(
604
604
sql(" select * from orc_source" ),
Original file line number Diff line number Diff line change @@ -32,8 +32,8 @@ import org.apache.spark.util.Utils
32
32
* A set of tests that validates support for Hive Explain command.
33
33
*/
34
34
class HiveExplainSuite extends QueryTest with SQLTestUtils with TestHiveSingleton {
35
-
36
35
import testImplicits ._
36
+
37
37
test(" show cost in explain command" ) {
38
38
val explainCostCommand = " EXPLAIN COST SELECT * FROM src"
39
39
// For readability, we only show optimized plan and physical plan in explain cost command
You can’t perform that action at this time.
0 commit comments