yuexing commented on code in PR #51132: URL: https://github.com/apache/spark/pull/51132#discussion_r2135867202
########## sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala: ########## @@ -1538,6 +1538,16 @@ object SQLConf { .checkValue(_ > 0, "The value of metastorePartitionPruningInSetThreshold must be positive") .createWithDefault(1000) + val HIVE_METASTORE_PARTITION_PRUNING_DIRECT_IN_ENABLED = + buildConf("spark.sql.hive.metastorePartitionPruningDirectInEnabled") + .doc("When true, IN predicates will be pushed down to Hive Metastore directly as 'column " + + "IN (value1, value2, ...)' instead of converting to OR predicates. This requires Hive " + + "2.0+ for proper support. When false, IN predicates will be converted to OR predicates " + + "for backward compatibility.") + .version("4.1.0") + .booleanConf + .createWithDefault(false) Review Comment: hi @wangyum Thanks for pointing it out. I'll remove the config and update the IN conversion directly. -- 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