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
Does it reproduce on recent release?
Yes, 23.6
How to reproduce
SELECT CAST(materialize(CAST(NULL, 'Nullable(Enum(\'A\' = 1, \'B\' = 2))')), 'Nullable(String)') 0 rows in set. Elapsed: 0.002 sec. Received exception: Code: 36. DB::Exception: Unexpected value 0 in enum: while executing 'FUNCTION CAST(materialize(CAST(NULL, 'Nullable(Enum(\'A\' = 1, \'B\' = 2))')) :: 2, 'Nullable(String)' :: 1) -> CAST(materialize(CAST(NULL, 'Nullable(Enum(\'A\' = 1, \'B\' = 2))')), 'Nullable(String)') Nullable(String) : 0'. (BAD_ARGUMENTS)
Expected behavior
Query works
Additional context WA
SELECT CAST(materialize(CAST(NULL, 'Nullable(Enum(\'\' = 0, \'A\' = 1, \'B\' = 2))')), 'Nullable(String)') Query id: 6b25086b-39da-4344-8743-f8c3edfda2ab ┌─CAST(materialize(CAST(NULL, 'Nullable(Enum(\'\' = 0, \'A\' = 1, \'B\' = 2))')), 'Nullable(String)')─┐ │ ᴺᵁᴸᴸ │ └─────────────────────────────────────────────────────────────────────────────────────────────────────┘
The text was updated successfully, but these errors were encountered:
Nullable(Enum)
Nullable(String)
evillique
Successfully merging a pull request may close this issue.
Does it reproduce on recent release?
Yes, 23.6
How to reproduce
Expected behavior
Query works
Additional context
WA
The text was updated successfully, but these errors were encountered: