You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ramzes642
changed the title
BatchInsert fails when insert into has no space before parentheses
PrepareBatch fails when insert into has no space before parentheses
Jun 17, 2024
Observed
PrepareBatch(ctx, "INSERT INTO rowtest(createDt, value)")
Returns error:
code: 62, message: Syntax error: failed at position 20 ('('): (createDt, VALUES. Unmatched parentheses: (
Under debugger I see that query var is cut by insertMatch regexp to
INSERT INTO rowtest(createDt,
Expected behaviour
No error
Code example
Error log
Details
Environment
clickhouse-go
version: v2.24.0CREATE TABLE
statements for tables involved:create table rowtest(createDt DateTime, value Int64) ENGINE = MergeTree ORDER BY (createDt)
The text was updated successfully, but these errors were encountered: