dongjoon-hyun commented on code in PR #39512: URL: https://github.com/apache/spark/pull/39512#discussion_r1068472465
########## sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala: ########## @@ -513,6 +513,14 @@ object SQLConf { .booleanConf .createWithDefault(false) + val MAX_SINGLE_PARTITION_BYTES = buildConf("spark.sql.maxSinglePartitionBytes") + .internal() + .doc("The maximum number of bytes allowed for a single partition. Otherwise, The planner " + + "will introduce shuffle to improve parallelism.") + .version("3.4.0") + .bytesConf(ByteUnit.BYTE) + .createWithDefaultString("128MB") Review Comment: I'd recommend to use `Long.MaxValue` like `spark.sql.defaultSizeInBytes` in Apache Spark 3.4.0. We can reduce it in 3.5.0 and later. -- 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