We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf1b4ec commit 4e1b6a0Copy full SHA for 4e1b6a0
sql/hive/src/test/scala/org/apache/spark/sql/hive/InsertIntoHiveTableSuite.scala
@@ -501,13 +501,8 @@ class InsertIntoHiveTableSuite extends QueryTest with TestHiveSingleton with Bef
501
|under the table directory.""".stripMargin) {
502
503
withTable("test_table") {
504
- spark.range(1).write.saveAsTable("test_table")
505
506
- // Make sure the table has also been updated.
507
- checkAnswer(
508
- sql("SELECT * FROM test_table"),
509
- Row(0)
510
- )
+ sql("CREATE TABLE test_table (key int)")
511
512
// Set hive.exec.stagingdir under the table directory without start with ".".
513
sql("set hive.exec.stagingdir=./test")
0 commit comments