Uh oh!
There was an error while loading. Please reload this page.
Use repartition in window functions to speed up - #569
Conversation
Uh oh!
There was an error while loading. Please reload this page.
0ac4a3a to
1658606Compare
This comment has been minimized.
This comment has been minimized.
a61d9ee to
bb71637Comparebb71637 to
0f7ce2fCompareDandandan
commented
Jun 22, 2021
Nice, almost 5 times improvement for some queries! But do those have to do with the changes wrt sort or with regards to partition by? |
| fn required_child_distribution(&self) -> Distribution { | ||
| Distribution::SinglePartition | ||
| Distribution::UnspecifiedDistribution |
There was a problem hiding this comment.
Would this be correct with a window without any partition by clause?
In that case I think the required partitions should be 1, as the aggregate function can not be computed only over a part of the data.
aebff92 to
809cd80Comparejimexist
commented
Jun 23, 2021
I don't expect that much of an improvement. let me redo the benchmark after #573 is merged. |
a2c90a1 to
9f18613Comparejimexist
commented
Jun 24, 2021
latest against the master @Dandandan turns out it's not that clear cut |
5688cf5 to
22ce613Compare9af8b64 to
93d2a91Compare93d2a91 to
723e7bcCompare
Which issue does this PR close?
this pull request is based on #571 so review that first
Closes#435 as this will make it stale
Rationale for this change
benchmark:
What changes are included in this PR?
Are there any user-facing changes?