Skip to content
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

Implement distinct in AggFunction #14623

Merged
merged 11 commits into from
Jan 17, 2025
Merged

Conversation

Wei-hao-Li
Copy link
Collaborator

  1. Support all agg-functions include UDAF.
  2. This PR only contains the basic implement, the optimizers will be supported in next PR.

Signed-off-by: Weihao Li <[email protected]>
Signed-off-by: Weihao Li <[email protected]>
Signed-off-by: Weihao Li <[email protected]>
Signed-off-by: Weihao Li <[email protected]>
@Wei-hao-Li Wei-hao-Li closed this Jan 6, 2025
@Wei-hao-Li Wei-hao-Li reopened this Jan 6, 2025
@lancelly
Copy link
Contributor

lancelly commented Jan 11, 2025

I noticed that In Trino there's a MarkDistinctOperator, does it have something to do with Distinct Function?
截屏2025-01-11 17 25 18

@Wei-hao-Li
Copy link
Collaborator Author

I noticed that In Trino there's a MarkDistinctOperator, does it have something to do with Distinct Function? 截屏2025-01-11 17 25 18

Yes, it is another implement of AggFunc-distinct, it will be introduced to our code in next optimizer PR (You can see design doc of this feature to see more details).

@lancelly
Copy link
Contributor

I noticed that In Trino there's a MarkDistinctOperator, does it have something to do with Distinct Function? 截屏2025-01-11 17 25 18

Yes, it is another implement of AggFunc-distinct, it will be introduced to our code in next optimizer PR (You can see design doc of this feature to see more details).

OK👍

Signed-off-by: Weihao Li <[email protected]>

Signed-off-by: Weihao Li <[email protected]>
@JackieTien97 JackieTien97 merged commit 3072ae5 into apache:master Jan 17, 2025
35 checks passed
@Wei-hao-Li Wei-hao-Li deleted the Aggdistinct branch January 20, 2025 01:43
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.

3 participants