wangyum commented on code in PR #47998: URL: https://github.com/apache/spark/pull/47998#discussion_r1976298867
########## sql/hive/src/test/scala/org/apache/spark/sql/hive/TestHiveSuite.scala: ########## @@ -47,4 +47,19 @@ class TestHiveSuite extends TestHiveSingleton with SQLTestUtils { test("SPARK-15887: hive-site.xml should be loaded") { assert(hiveClient.getConf("hive.in.test", "") == "true") } + + test("SPARK-49507: Fix Expected only partition pruning predicates exception") { Review Comment: Move this test to `PruneHiveTablePartitionsSuite`: ```scala test("SPARK-49507: Fix the case issue after enabling metastorePartitionPruningFastFallback") { withTable("t") { withSQLConf(SQLConf.HIVE_METASTORE_PARTITION_PRUNING_FAST_FALLBACK.key -> "true") { sql("CREATE TABLE t(ID BIGINT, DT STRING) USING PARQUET PARTITIONED BY (DT)") sql("INSERT INTO TABLE t SELECT 1, '20240820'") checkAnswer(sql("SELECT * FROM t WHERE dt=20240820"), Row(1, "20240820") :: Nil) } } } ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org