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

ColBytes support for LowCardinality #230

Open
jdef opened this issue Jan 5, 2023 · 2 comments
Open

ColBytes support for LowCardinality #230

jdef opened this issue Jan 5, 2023 · 2 comments

Comments

@jdef
Copy link

jdef commented Jan 5, 2023

i'm trying to avoid converting []byte types into string for bulk inserts w/ low-cardinality cols but the API doesn't seem to allow that since []byte is not comparable

as a workaround, I can use ColString and then coerce the []byte vals into string with the unfortunate side-effect of additional allocations. ideally this would not be needed and the API would support low-cardinality w/ []byte natively.

@ernado
Copy link
Collaborator

ernado commented Feb 10, 2023

I want LowCardinality for ColBytes too, but I don't know how to fit it to current generic API.

Probably an ad-hoc solution for this specific type would be ok?

@jdef
Copy link
Author

jdef commented Jul 23, 2024

@ernado is this on the roadmap at all?

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

No branches or pull requests

2 participants