You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Revert "Add RowsStreamingWindowBuild to avoid OOM in Window operator (9025)"
This reverts commit f34c9b1.
* Add RowsStreamingWindowBuild to avoid OOM in Window operator (facebookincubator#9025)
Summary:
Unlike `StreamingWindowBuild`, `RowLevelStreamingWindowBuild ` in this PR is capable of processing window functions as rows arrive within a single partition, without the need to wait for the entire partition to be ready. This approach can significantly reduce memory usage, especially when a single partition contains a large amount of data. It is particularly suited for optimizing `rank `and `row_number `functions, as well as aggregate window functions with a default frame.
The detailed discussions is [here](facebookincubator#8975). The design doc is [here](https://docs.google.com/document/d/17ONSJHK8XP5Lixm8XBl01RMNl4ntpixiVFe693ahw6k/edit?usp=sharing).
Pull Request resolved: facebookincubator#9025
Test Plan: Run through 10hrs fuzzer testing
Reviewed By: kagamiori
Differential Revision: D61473798
Pulled By: xiaoxmeng
fbshipit-source-id: 569a752770395330c48a3521bd5421eb89f5623d
* Fix error message
* Fix the result mismatch in RowsStreamingWindowBuild (facebookincubator#10979)
Summary:
For a Range frame, it is necessary to ensure that the peer is ready before commencing the window function computation
Pull Request resolved: facebookincubator#10979
Reviewed By: kagamiori
Differential Revision: D62622816
Pulled By: xiaoxmeng
fbshipit-source-id: 1a9911da416c867c9e295242a05d0f33fbc2e22d
---------
Co-authored-by: Jia Ke <[email protected]>
0 commit comments