Skip to content

Commit deb84ea

Browse files
committed
update test case
1 parent d782e4a commit deb84ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2189,7 +2189,7 @@ class SQLQuerySuite extends QueryTest with SQLTestUtils with TestHiveSingleton {
21892189
Seq(true, false).foreach { enableOptimizeMetadataOnlyQuery =>
21902190
withSQLConf(SQLConf.OPTIMIZER_METADATA_ONLY.key -> enableOptimizeMetadataOnlyQuery.toString) {
21912191
withTable("t") {
2192-
sql("CREATE TABLE t (col1 INT, p1 INT) USING PARQUET PARTITIONED BY (p1)")
2192+
sql("CREATE TABLE t (col1 INT) PARTITIONED BY (p1 INT)")
21932193
sql("INSERT INTO TABLE t PARTITION (p1 = 5) SELECT ID FROM range(1, 1)")
21942194
if (enableOptimizeMetadataOnlyQuery) {
21952195
// The result is wrong if we enable the configuration.

0 commit comments

Comments
 (0)