Skip to content

Conversation

@Sh-Zh-7
Copy link
Contributor

@Sh-Zh-7 Sh-Zh-7 commented Dec 25, 2025

Description

This PR introduce the following optimization rules:

  • PruneWindowColumns
  • RemoveRedundantWindow
  • PruneOrderByInWindowAggregation
  • GatherAndMergeWindows
  • ReplaceWindowWithRowNumber
  • PushdownLimitIntoWindow
  • PushdownFilterIntoWindow

And its corresponding nodes and operators.

@Sh-Zh-7 Sh-Zh-7 marked this pull request as draft December 25, 2025 19:21
@codecov
Copy link

codecov bot commented Dec 25, 2025

Codecov Report

❌ Patch coverage is 0.29390% with 1357 lines in your changes missing coverage. Please review.
✅ Project coverage is 39.16%. Comparing base (9abac5c) to head (fa450f1).
⚠️ Report is 36 commits behind head on master.

Files with missing lines Patch % Lines
...tion/operator/GroupedTopNRowNumberAccumulator.java 0.00% 220 Missing ⚠️
...ne/execution/operator/RowReferencePageManager.java 0.00% 151 Missing ⚠️
.../planner/iterative/rule/GatherAndMergeWindows.java 0.00% 143 Missing ⚠️
...l/aggregation/grouped/array/IntArrayFIFOQueue.java 0.00% 90 Missing ⚠️
...ngine/plan/relational/planner/node/ValuesNode.java 0.00% 88 Missing ⚠️
...n/operator/process/window/TopKRankingOperator.java 0.00% 84 Missing ⚠️
...gregation/grouped/array/LongBigArrayFIFOQueue.java 0.00% 81 Missing ⚠️
...xecution/operator/GroupedTopNRowNumberBuilder.java 0.00% 78 Missing ⚠️
...ion/operator/process/window/RowNumberOperator.java 0.00% 76 Missing ⚠️
...ne/plan/relational/planner/node/RowNumberNode.java 0.00% 69 Missing ⚠️
... and 13 more
Additional details and impacted files
@@             Coverage Diff              @@
##             master   #16953      +/-   ##
============================================
+ Coverage     39.02%   39.16%   +0.14%     
- Complexity      207      212       +5     
============================================
  Files          5021     5073      +52     
  Lines        333377   338578    +5201     
  Branches      42431    43138     +707     
============================================
+ Hits         130110   132617    +2507     
- Misses       203267   205961    +2694     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant