Skip to content

Commit 7214b8a

Browse files
committed
add test case
1 parent 6884ad3 commit 7214b8a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1236,6 +1236,12 @@ class HiveQuerySuite extends HiveComparisonTest with SQLTestUtils with BeforeAnd
12361236
}
12371237
}
12381238
}
1239+
1240+
createQueryTest("SPARK-19490: case sensitivity when filtering hive partition columns",
1241+
"""
1242+
| CREATE TABLE partition_test (key Int) partitioned by date;
1243+
| SELECT * FROM partition_test where DATE = '20170101';
1244+
""".stripMargin)
12391245
}
12401246

12411247
// for SPARK-2180 test

0 commit comments

Comments
 (0)