Skip to content

Commit 8d709fd

Browse files
author
jinxing
committed
fix
1 parent 146fe14 commit 8d709fd

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

sql/hive/src/test/scala/org/apache/spark/sql/hive/client/HiveClientSuite.scala

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ class HiveClientSuite(version: String)
6262

6363
client.createPartitions(
6464
"default", "test", partitions, ignoreIfExists = false)
65-
6665
client
6766
}
6867

@@ -82,7 +81,7 @@ class HiveClientSuite(version: String)
8281

8382
test(s"getPartitionsByFilter returns all partitions when $tryDirectSqlKey=false") {
8483
val client = init(false)
85-
val filteredPartitions = client.getPartitionsByFilter(client.getTable("default", "test0"),
84+
val filteredPartitions = client.getPartitionsByFilter(client.getTable("default", "test"),
8685
Seq(attr("ds") === 20170101))
8786

8887
assert(filteredPartitions.size == testPartitionCount)

0 commit comments

Comments
 (0)