Repository navigation
Conversation
Codecov Report❌ Patch coverage is
Flags with carried forward coverage won't be shown. Click here to find out more. @@ Coverage Diff @@
## main #27439 +/- ##
==========================================
- Coverage 83.33% 83.33% -0.01%
==========================================
Files 1054 1054
Lines 467862 467853 -9
Branches 467862 467853 -9
==========================================
- Hits 389894 389872 -22
- Misses 53930 53948 +18
+ Partials 24038 24033 -5
... and 2 files with indirect coverage changes 🚀 New features to boost your workflow:
|
blaginin
commented
Nov 14, 2026
Comment on lines
+498
to
+511
| match (frame.is_ever_expanding(), frame.end_bound.is_unbounded()) { | ||
| (true, false) => add_window_ordering( | ||
| eq_properties, | ||
| growing.clone(), | ||
| partition_ordering, | ||
| result_never_null, | ||
| ), | ||
| (false, true) => add_window_ordering( | ||
| eq_properties, | ||
| growing.reverse(), | ||
| partition_ordering, | ||
| result_never_null, | ||
| ), | ||
| _ => {} |
Member
Author
Member
Author
|
this fixes everything i want it to fix but i will think about the code until tmr |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This should fix:
ORDER BYonMAX/MINover a sliding window frame is skipped #27422: Incorrect ordering for sliding MIN/MAXORDER BY ... NULLS LASTon a runningMAXwindow function puts the NULL row first #27267: Incorrect NULL placement in growing and shrinking framesand hopefully removes an extra sort:
ROW_NUMBERwhen the data is already in that orderMIN/MAXresultMIN/MAXresults that already follow the requested orderMIN/MAXresults from frames withFOLLOWING