We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
main branch
mysql> select version(); +--------------------------------------------------------------------------------------+ | version() | +--------------------------------------------------------------------------------------+ | 8.0.26-v0.7.65-nightly-cae12e2-simd(rust-1.63.0-nightly-2022-06-21T01:36:27.065955Z) | +--------------------------------------------------------------------------------------+ 1 row in set (0.03 sec)
mysql> SELECT count() FROM numbers(1000) GROUP BY uuid(); ERROR 1105 (HY000): Code: 1058, displayText = downcast column error, column type: "Const(String)", expected column: "common_datavalues::columns::string::StringColumn" (while in processor thread 0).
No response
The text was updated successfully, but these errors were encountered:
I encountered this bug too, the root cause is SingleString hash method won't check Const and Nullable column.
SingleString
Const
Nullable
https://github.com/datafuselabs/databend/blob/7d46a582a44e29f1dec988908102894c89d0aefc/common/datablocks/src/kernels/data_block_group_by_hash.rs#L208-L223
cc @sundy-li
Sorry, something went wrong.
Why GROUP BY uuid() is const column?
Now uuid function generates const column. Maybe we should modify and set uuid value to each row.
sundy-li
Successfully merging a pull request may close this issue.
Search before asking
Version
main branch
What's Wrong?
How to Reproduce?
No response
Are you willing to submit PR?
The text was updated successfully, but these errors were encountered: