Refactor: Split test_window_partial_constant_and_set_monotonicity
from enforce_sorting
#17903
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 close?
core
tests toinsta
#15791Rationale for this change
I found that the enforce_sorting tests need many updates (b/c the plan output
changed) while working on the arrow 57 upgrade, and I am trying to make the
enforce_sorting tests easier to maintain.
At the moment the module is huge (almost 4000 lines) it is totally unobvious (to me) that there are two macros called
"assert_optimized_plan" in enforce_sorting.rs and there is one giant test test function
with many cases in it.
I will refactor it in a follow on PR; The first step is to split the test
into its own module.
What changes are included in this PR?
Move
test_window_partial_constant_and_set_monotonicity
into its own moduleAre these changes tested?
Yes, by CI
Are there any user-facing changes?
no this is a development process nly