Skip to content

Conversation

@walterddr
Copy link
Contributor

@walterddr walterddr commented Nov 28, 2023

we already have agg-project merge rule. no need to do it during relbuilder. which might cause eliminating project useful for other rules.

this fix #12013

@codecov-commenter
Copy link

codecov-commenter commented Nov 28, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (f79b618) 61.62% compared to head (49ce067) 61.63%.
Report is 2 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master   #12058      +/-   ##
============================================
+ Coverage     61.62%   61.63%   +0.01%     
- Complexity     1151     1152       +1     
============================================
  Files          2386     2386              
  Lines        129567   129580      +13     
  Branches      20053    20056       +3     
============================================
+ Hits          79847    79871      +24     
+ Misses        43913    43895      -18     
- Partials       5807     5814       +7     
Flag Coverage Δ
custom-integration1 <0.01% <0.00%> (ø)
integration <0.01% <0.00%> (ø)
integration1 <0.01% <0.00%> (ø)
integration2 0.00% <0.00%> (ø)
java-11 61.57% <100.00%> (-0.02%) ⬇️
java-21 61.52% <100.00%> (+0.01%) ⬆️
skip-bytebuffers-false 61.60% <100.00%> (-0.01%) ⬇️
skip-bytebuffers-true 61.49% <100.00%> (+0.01%) ⬆️
temurin 61.63% <100.00%> (+0.01%) ⬆️
unittests 61.63% <100.00%> (+0.01%) ⬆️
unittests1 46.95% <100.00%> (+0.01%) ⬆️
unittests2 27.58% <0.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@walterddr walterddr marked this pull request as ready for review November 28, 2023 16:37
@walterddr walterddr changed the title [multistage] don't prune project after agg [multistage] don't prune project after agg during relBuilder Nov 28, 2023
@Jackie-Jiang Jackie-Jiang added bugfix multi-stage Related to the multi-stage query engine labels Nov 29, 2023
Comment on lines 124 to +126
.addRelBuilderConfigTransform(c -> c.withPushJoinCondition(true))
.addRelBuilderConfigTransform(c -> c.withAggregateUnique(true)))
.addRelBuilderConfigTransform(c -> c.withAggregateUnique(true))
.addRelBuilderConfigTransform(c -> c.withPruneInputOfAggregate(false)))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(minor) Can we chain them as .addRelBuilderConfigTransform(c -> c.withPushJoinCondition(true).withAggregateUnique(true).withPruneInputOfAggregate(false))?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good point. just saw this, will clean up later

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

Labels

bugfix multi-stage Related to the multi-stage query engine

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[multistage][bug] multi semi-join hint not applied in weird conditions

3 participants