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

[client-v2] Including support for bitmap serialization #1814

Merged
merged 4 commits into from
Sep 12, 2024

Conversation

javiercj93
Copy link
Contributor

@javiercj93 javiercj93 commented Sep 8, 2024

Summary

I have a table structure which has a few aggregate function columns (groupBitmap) and I was unable to directly insert into it as the ClickhouseBitmapColumn was throwing an unsupported data type when serializing.

Checking the code I saw there was a writeBitmap function implemented in the BinaryStreamUtils but it was not being used in the SerializerUtils. Not sure if there was any reason behind it or if there are any other considerations to not use it that I am not aware of.

I tested the change and I was able to successfully import in a column with such data type.

@CLAassistant
Copy link

CLAassistant commented Sep 8, 2024

CLA assistant check
All committers have signed the CLA.

@Paultagoras
Copy link
Contributor

Paultagoras commented Sep 9, 2024

Hi @javiercj93 thanks for submitting this! Would you mind adding a test to cover this data as well?

@javiercj93
Copy link
Contributor Author

Hi @javiercj93 thanks for submitting this! Would you mind adding a test to cover this data as well?

Thanks for reviewing @Paultagoras! appreciate it! Please let me know if this change in an existing test would be enough or we need something more specific.

@chernser chernser added this to the 0.7.0 milestone Sep 10, 2024
@chernser chernser changed the title Including support for bitmap serialization [client-v2] Including support for bitmap serialization Sep 10, 2024
@chernser
Copy link
Contributor

@javiercj93 would you please resolve conflicts in the merge?
I would do it with web editor but I need a permission to commit merge to your fork.
Thanks in advance!

@javiercj93
Copy link
Contributor Author

@chernser done, conflicts resolved

@chernser
Copy link
Contributor

@javiercj93 appreciate it! Thank you!

@chernser chernser merged commit 28de7cd into ClickHouse:main Sep 12, 2024
55 of 59 checks passed
@chernser chernser linked an issue Sep 12, 2024 that may be closed by this pull request
@javiercj93 javiercj93 deleted the bitmap-serialize branch October 1, 2024 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bitmap serialization issue
4 participants