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

fix(groupby): support group by constant string #6095

Merged
merged 3 commits into from
Jun 21, 2022

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

Changelog

  • Bug Fix

Related Issues

Fixes #6093

@vercel
Copy link

vercel bot commented Jun 21, 2022

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

Name Status Preview Updated
databend ✅ Ready (Inspect) Visit Preview Jun 21, 2022 at 11:18AM (UTC)

@mergify
Copy link
Contributor

mergify bot commented Jun 21, 2022

Thanks for the contribution!
I have applied any labels matching special text in your PR Changelog.

Please review the labels and make any necessary changes.

@mergify mergify bot added the pr-bugfix this PR patches a bug in codebase label Jun 21, 2022
@sundy-li sundy-li requested a review from zhang2014 June 21, 2022 06:56
@@ -77,4 +77,7 @@ INSERT INTO t_array VALUES(1, []),

SELECT max(id), min(id), arr FROM t_array GROUP BY arr ORDER BY arr ASC;

-- group by constant string
select count() from numbers(10) group by 'ab';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe add test for nullable string column as well?

@leiysky leiysky mentioned this pull request Jun 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need-review pr-bugfix this PR patches a bug in codebase
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug: downcast column error
4 participants