Skip to content

Exception on inserting intto Array(LowCardinality(String)) #140

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

Closed
typeryougishiki opened this issue Jan 19, 2022 · 4 comments
Closed

Exception on inserting intto Array(LowCardinality(String)) #140

typeryougishiki opened this issue Jan 19, 2022 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@typeryougishiki
Copy link

typeryougishiki commented Jan 19, 2022

Code like this:

auto arr_locard_string = make_shared<ColumnArray>(make_shared<ColumnLowCardinalityT<ColumnString>>());
auto locard_string = make_shared<ColumnLowCardinalityT<ColumnString>>();
locard_string->Append("aaa");
locard_string->Append("bbb");
arr_locard_string->AppendAsColumn(locard_string);
Block block;
block.AppendColumn("arr", arr_locard_string);
client.Insert("test.array_locard_test",block);

And exception is "DB::Exception: Invalid version for SerializationLowCardinality key column."

@typeryougishiki typeryougishiki changed the title Exception on inserting intto ArrayLowCardinality(Nullable(String)) Exception on inserting intto Array(LowCardinality(String)) Jan 19, 2022
@Enmk
Copy link
Contributor

Enmk commented Feb 2, 2022

Hi @typeryougishiki! Thanks for the report, going to fix it.

@Enmk Enmk self-assigned this Mar 3, 2022
@haoxiaokun
Copy link

when fix this bug?

@Enmk Enmk added the bug Something isn't working label Apr 13, 2022
@arthurpassos
Copy link
Contributor

Working on it

@Enmk
Copy link
Contributor

Enmk commented May 4, 2022

Closed with #173

@Enmk Enmk closed this as completed May 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants