-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BugFix] Fix sequence of selection and input_chunk for streaming_agg_with_selection #54595
[BugFix] Fix sequence of selection and input_chunk for streaming_agg_with_selection #54595
Conversation
…with_selectoin Signed-off-by: zihe.liu <[email protected]>
Signed-off-by: zihe.liu <[email protected]>
Signed-off-by: zihe.liu <[email protected]>
[Java-Extensions Incremental Coverage Report]✅ pass : 0 / 0 (0%) |
[FE Incremental Coverage Report]✅ pass : 0 / 0 (0%) |
@Mergifyio backport branch-3.4 |
@Mergifyio backport branch-3.3 |
@Mergifyio backport branch-3.2 |
@Mergifyio backport branch-3.1 |
@Mergifyio backport branch-3.0 |
@mergify backport branch-3.4.0-rc01 |
✅ Backports have been created
|
✅ Backports have been created
|
✅ Backports have been created
|
✅ Backports have been created
|
✅ Backports have been created
|
✅ Backports have been created
|
…with_selection (#54595) Signed-off-by: zihe.liu <[email protected]> (cherry picked from commit efe1dde)
…with_selection (#54595) Signed-off-by: zihe.liu <[email protected]> (cherry picked from commit efe1dde) # Conflicts: # be/src/exec/aggregator.h
…with_selection (#54595) Signed-off-by: zihe.liu <[email protected]> (cherry picked from commit efe1dde) # Conflicts: # be/src/exec/aggregator.h
…with_selection (#54595) Signed-off-by: zihe.liu <[email protected]> (cherry picked from commit efe1dde) # Conflicts: # be/src/exec/aggregator.h
…with_selection (#54595) Signed-off-by: zihe.liu <[email protected]> (cherry picked from commit efe1dde) # Conflicts: # be/src/exec/aggregator.h
…with_selection (#54595) Signed-off-by: zihe.liu <[email protected]> (cherry picked from commit efe1dde)
[BE Incremental Coverage Report]✅ pass : 12 / 12 (100.00%) file detail
|
…with_selection (backport #54595) (#54619) Co-authored-by: zihe.liu <[email protected]>
…with_selection (StarRocks#54595) Signed-off-by: zihe.liu <[email protected]>
@mergify backport branch-3.3 |
✅ Backports have been created
|
…with_selection (backport #54595) (#54614) Co-authored-by: zihe.liu <[email protected]>
…with_selection (backport #54595) (#54615) Signed-off-by: zihe.liu <[email protected]> Co-authored-by: zihe.liu <[email protected]>
ignore backport check 3.2.15 |
ignore backport check: 3.2.15 |
…with_selection (backport StarRocks#54595) (StarRocks#54615) Signed-off-by: zihe.liu <[email protected]> Co-authored-by: zihe.liu <[email protected]>
Why I'm doing:
Previous Logic:
evaluate_group_by_columns
.evaluate_input_columns
_streaming_selection
to indicate which rows hit HT.output_chunk_by_streaming_with_selection
(filtergroup_by_columns
andinput_columns
by_streaming_selection
)output_chunk_by_streaming
Recent Logic:
evaluate_group_by_columns
_streaming_selection
to indicate which rows hit HT.output_chunk_by_streaming_with_selection
(filtergroup_by_columns
by_streaming_selection
)output_chunk_by_streaming
(evaluateinput_columns
here now)This cause two issues.
In
output_chunk_by_streaming
, before callingevaluate_input_columns
, the number of rows ingroup_by_columns
andinput_chunk
differs. This is becausegroup_by_columns
is filtered by_streaming_selection
, whereasinput_chunk
is not.The result of
evaluate_input_columns
is not filtered by_streaming_selection
.What I'm doing:
Fixes https://github.com/StarRocks/StarRocksTest/issues/9009
What type of PR is this:
Does this PR entail a change in behavior?
If yes, please specify the type of change:
Checklist:
Bugfix cherry-pick branch check: