Skip to content

Remove useless ProjectNode after SortElimination#17806

Open
Wei-hao-Li wants to merge 3 commits into
masterfrom
fixProject
Open

Remove useless ProjectNode after SortElimination#17806
Wei-hao-Li wants to merge 3 commits into
masterfrom
fixProject

Conversation

@Wei-hao-Li
Copy link
Copy Markdown
Collaborator

issue: Now we may do SortElimination optimization when generate DistributionPlan or do DistributionPlan optimization, there may be useless ProjectNode after the optimization.

@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 1, 2026

Codecov Report

❌ Patch coverage is 38.33333% with 37 lines in your changes missing coverage. Please review.
✅ Project coverage is 40.86%. Comparing base (44d4f6d) to head (9ea7439).

Files with missing lines Patch % Lines
.../planner/iterative/rule/PruneTableScanColumns.java 17.07% 34 Missing ⚠️
...ational/planner/optimizations/SortElimination.java 84.21% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff            @@
##             master   #17806   +/-   ##
=========================================
  Coverage     40.85%   40.86%           
- Complexity     2610     2611    +1     
=========================================
  Files          5186     5186           
  Lines        351193   351250   +57     
  Branches      44946    44952    +6     
=========================================
+ Hits         143491   143546   +55     
- Misses       207702   207704    +2     

☔ 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.

Signed-off-by: Weihao Li <18110526956@163.com>
Signed-off-by: Weihao Li <18110526956@163.com>
Signed-off-by: Weihao Li <18110526956@163.com>
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Jun 2, 2026

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