Skip to content

Commit 23c750c

Browse files
committed
Improved unsupported predicate test case
1 parent a11b9f3 commit 23c750c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/core/src/test/scala/org/apache/spark/sql/columnar/PartitionBatchPruningSuite.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ class PartitionBatchPruningSuite extends FunSuite with BeforeAndAfterAll with Be
7171

7272
// With unsupported predicate
7373
checkBatchPruning("i < 12 AND i IS NOT NULL", 1 to 11, 1, 2)
74-
checkBatchPruning("NOT (i in (1))", 2 to 100, 5, 10)
74+
checkBatchPruning(s"NOT (i in (${(1 to 30).mkString(",")}))", 31 to 100, 5, 10)
7575

7676
def checkBatchPruning(
7777
filter: String,

0 commit comments

Comments
 (0)