Skip to content

Implement distinct in AggFunction#14623

Merged
JackieTien97 merged 11 commits intoapache:masterfrom
Wei-hao-Li:Aggdistinct
Jan 17, 2025
Merged

Implement distinct in AggFunction#14623
JackieTien97 merged 11 commits intoapache:masterfrom
Wei-hao-Li:Aggdistinct

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 <18110526956@163.com>
Signed-off-by: Weihao Li <18110526956@163.com>
Signed-off-by: Weihao Li <18110526956@163.com>
Signed-off-by: Weihao Li <18110526956@163.com>
@Wei-hao-Li Wei-hao-Li closed this Jan 6, 2025
@Wei-hao-Li Wei-hao-Li reopened this Jan 6, 2025
Signed-off-by: Weihao Li <18110526956@163.com>
Signed-off-by: Weihao Li <18110526956@163.com>
Signed-off-by: Weihao Li <18110526956@163.com>
Signed-off-by: Weihao Li <18110526956@163.com>
@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 <18110526956@163.com>

Signed-off-by: Weihao Li <18110526956@163.com>
@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