test: cover unsorted contiguous groups in one partition - #24737
Draft
xavlee wants to merge 1 commit into
Draft
Conversation
This was referenced Aug 27, 2026
xavlee
force-pushed
the
test/issue-24438-group-contiguous-single-partition
branch
from
August 27, 2026 19:16
61c082c to
060dd38
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #24737 +/- ##
==========================================
- Coverage 81.42% 81.42% -0.01%
==========================================
Files 1121 1121
Lines 402142 402180 +38
Branches 402142 402180 +38
==========================================
+ Hits 327460 327488 +28
Misses 55484 55484
- Partials 19198 19208 +10 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
xavlee
force-pushed
the
test/issue-24438-group-contiguous-single-partition
branch
from
August 27, 2026 20:54
060dd38 to
3b6d7ab
Compare
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.
Which issue does this PR relate to?
Rationale for this change
A source can concatenate sorted logical runs into one DataFusion output partition. The resulting rows can be globally unsorted while every distinct
(key, time_bin)grouping tuple still occupies one contiguous range. This fixture records how aggregate planning handles that layout today.What changes are included in this PR?
TestMemoryExecfixture containing two sorted logical runs whose(key, time_bin)order resets between runs.(key, time_bin)tuple.InputOrderMode::Linear,EmissionType::Final, and the ordinary single-hash stream.Stack
Are these changes tested?
Yes, this PR itself only adds a test that serves to capture behavior today.
Are there any user-facing changes?
No.
Review this layer
View only this PR layer