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

chore(query): add DistinctToGroupBy #9612

Merged
merged 5 commits into from
Jan 15, 2023

Conversation

sundy-li
Copy link
Member

I hereby agree to the terms of the CLA available at: https://databend.rs/dev/policies/cla/

Summary

Summary about this PR

-- before
MySQL [(none)]> select count_distinct(UserID) from hits_native;
+------------------------+
| count_distinct(userid) |
+------------------------+
|               17630976 |
+------------------------+
1 row in set (2.108 sec)


-- after
MySQL [(none)]> select count_distinct(UserID) from hits_native;
+----------+
| count()  |
+----------+
| 17630976 |
+----------+
1 row in set (0.656 sec)

Closes #issue

@vercel
Copy link

vercel bot commented Jan 15, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Updated
databend ⬜️ Ignored (Inspect) Jan 15, 2023 at 9:27AM (UTC)

@mergify mergify bot added the pr-chore this PR only has small changes that no need to record, like coding styles. label Jan 15, 2023
@sundy-li sundy-li marked this pull request as ready for review January 15, 2023 08:49
@BohuTANG BohuTANG merged commit de2bdae into databendlabs:main Jan 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr-chore this PR only has small changes that no need to record, like coding styles.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants