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

Feature: Support DISTINCT in new planner #5343

Closed
leiysky opened this issue May 13, 2022 · 1 comment · Fixed by #5410
Closed

Feature: Support DISTINCT in new planner #5343

leiysky opened this issue May 13, 2022 · 1 comment · Fixed by #5410
Assignees
Labels
A-planner Area: planner/optimizer C-feature Category: feature community-take

Comments

@leiysky
Copy link
Contributor

leiysky commented May 13, 2022

In SQL, we can use DISTINCT to deduplicate the result set of a query, and produce a multi-set.

SELECT DISTINCT a, b FROM t; -- The output won't contain duplicated (a, b)

This is essentially equivalent with GROUP BY a, b.

@leiysky leiysky added C-feature Category: feature A-planner Area: planner/optimizer labels May 13, 2022
@ygf11
Copy link
Contributor

ygf11 commented May 13, 2022

/assignme

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-planner Area: planner/optimizer C-feature Category: feature community-take
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants