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

Can't insert FixedString column using GORM serializer #98

Open
OscBacon opened this issue Mar 22, 2023 · 0 comments
Open

Can't insert FixedString column using GORM serializer #98

OscBacon opened this issue Mar 22, 2023 · 0 comments
Assignees

Comments

@OscBacon
Copy link

Hi, I've filed an issue under the clickhouse-go repo, but this might be an issue with the clickhouse driver.

ClickHouse/clickhouse-go#939

Is it expected for the output of a serializer to be its value (a string for example), or for it to be a *schema.serializer object?

It seems as though otherwise, DB clients need to explicitly handle this serializer object, which isn't the case with clickhouse-go.
For example, see this switch on types for FixedString inserts:
https://github.com/ClickHouse/clickhouse-go/blob/ca9c1f0265cec9aeb5cd54cabec31136adc2c9b3/lib/column/fixed_string.go#L140

Description

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