ulysses-you commented on code in PR #57602:
URL: https://github.com/apache/spark/pull/57602#discussion_r3687490841
##########
docs/sql-performance-tuning.md:
##########
@@ -136,6 +136,18 @@ Configuration of in-memory caching can be done via
`spark.conf.set` or by runnin
</td>
<td>2.1.1</td>
</tr>
+ <tr>
+ <td><code>spark.sql.execution.bypassPartialWindowGroupLimit</code></td>
Review Comment:
addressed
##########
sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala:
##########
@@ -4527,6 +4527,17 @@ object SQLConf {
"The threshold of window group limit must be -1, 0 or positive
integer.")
.createWithDefault(1000)
+ val BYPASS_PARTIAL_WINDOW_GROUP_LIMIT =
+ buildConf("spark.sql.execution.bypassPartialWindowGroupLimit")
+ .doc("When true, skips the pre-shuffle partial WindowGroupLimit and runs
only a single " +
+ "WindowGroupLimit after the shuffle. Bypassing the partial window
group limit can " +
+ "improve performance when the pre-shuffle reduction ratio is low. When
false (default), " +
+ "a partial WindowGroupLimit runs before the shuffle and a final one
runs after it.")
+ .version("4.3.0")
+ .withBindingPolicy(ConfigBindingPolicy.SESSION)
Review Comment:
addressed
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]