maropu commented on a change in pull request #30225:
URL: https://github.com/apache/spark/pull/30225#discussion_r521128972



##########
File path: 
sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala
##########
@@ -815,6 +815,14 @@ object SQLConf {
       .booleanConf
       .createWithDefault(true)
 
+  val HIVE_METASTORE_PARTITION_LIMIT =
+    buildConf("spark.sql.hive.metastorePartitionLimit")
+      .doc("The maximum number of metastore partitions allowed. Use -1 for 
unlimited.")
+      .version("3.0.2")
+      .intConf
+      .checkValue(_ >= -1, "The maximum must be a positive integer, -1 to 
apply no limit.")
+      .createWithDefault(100000)

Review comment:
       `-1` to follow the Hive config?




----------------------------------------------------------------
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.

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

Reply via email to