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
field1
field2
Expected: 1 row inserted What happens: https://github.com/ClickHouse/clickhouse-go/blob/main/conn_http_batch.go#L92 column %s is not present in the table %s
column %s is not present in the table %s
Looks like it's the cousin of #715 and can be fixed by patching line 48 to
rColumns[i] = strings.TrimSuffix(strings.TrimPrefix(strings.TrimSpace(rColumns[i]),"`"),"`")
if we're to continue with this crazy approach to parsing %)
stmt := tx.PrepareContext(context.TODO(), "insert into table (`field1`,`field2`) VALUES ('a', 'b')")
OS: macOS
Interface: database/sql
database/sql
Driver version: 2.4.3
Go version: go1.19.4 darwin/arm64
ClickHouse Server version: 22.8.1.1316
The text was updated successfully, but these errors were encountered:
My bad. This was already fixed in #829 and already reported in #828. Closing it.
Sorry, something went wrong.
@jkaflik v2.6.2 This error still exists
@wl506 can you post a minmalistic code snippet that reproduces this error?
Successfully merging a pull request may close this issue.
Issue description
Expected: 1 row inserted
What happens:
https://github.com/ClickHouse/clickhouse-go/blob/main/conn_http_batch.go#L92
column %s is not present in the table %s
Looks like it's the cousin of #715 and can be fixed by patching line 48 to
if we're to continue with this crazy approach to parsing %)
Example code
Configuration
OS: macOS
Interface:
database/sql
Driver version: 2.4.3
Go version: go1.19.4 darwin/arm64
ClickHouse Server version: 22.8.1.1316
The text was updated successfully, but these errors were encountered: