Skip to content

branch-3.0: [fix](nereids) fix sum0 cannot pass multi distinct check #51234 - #51431

Closed
github-actions[bot] wants to merge 1 commit into
branch-3.0from
auto-pick-51234-branch-3.0
Closed

branch-3.0: [fix](nereids) fix sum0 cannot pass multi distinct check #51234#51431
github-actions[bot] wants to merge 1 commit into
branch-3.0from
auto-pick-51234-branch-3.0

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Cherry-picked from #51234

### What problem does this PR solve?
Related PR: #32541
Problem Summary:
Before this pr, execute below sql will report error: sum0(DISTINCT c#2) can't support multi distinct.
This pr change the check, and the sql can be executed. sql is:
select sum0(distinct b),sum(distinct c) from test_sum0_multi_distinct_with_group_by group by a
@Thearas

Copy link
Copy Markdown
Contributor

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR.

Please clearly describe your PR:

  1. What problem was fixed (it's best to include specific error reporting information). How it was fixed.
  2. Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
  3. What features were added. Why was this function added?
  4. Which code was refactored and why was this part of the code refactored?
  5. Which functions were optimized and what is the difference before and after the optimization?

@Thearas

Copy link
Copy Markdown
Contributor

run buildall

@feiniaofeiafei

Copy link
Copy Markdown
Collaborator

run complie

@morningman
morningman deleted the auto-pick-51234-branch-3.0 branch July 8, 2026 14:32
Sign up for freeto 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.

4 participants

@Thearas@feiniaofeiafei@dataroaring@morrySnow