Skip to content

Remove useless ProjectNode after SortElimination#17806

Merged
JackieTien97 merged 3 commits into
masterfrom
fixProject
Jun 3, 2026
Merged

Remove useless ProjectNode after SortElimination#17806
JackieTien97 merged 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

codecov Bot commented Jun 1, 2026

Copy link
Copy Markdown

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

sonarqubecloud Bot commented Jun 2, 2026

Copy link
Copy Markdown

@JackieTien97
JackieTien97 merged commit 66d0c07 into master Jun 3, 2026
44 of 45 checks passed
@JackieTien97
JackieTien97 deleted the fixProject branch June 3, 2026 09:33
MileaRobertStefan pushed a commit to MileaRobertStefan/iotdb that referenced this pull request Jun 26, 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.

2 participants