ClickHouse / clickhouse-go

Golang driver for ClickHouse
Apache License 2.0
2.88k stars 553 forks source link

PreparBatch #1280

Closed GanBob closed 4 months ago

GanBob commented 5 months ago

In the conn_batch.go Lines 55-57

if !strings.HasSuffix(strings.TrimSpace(strings.ToUpper(query)), "VALUES") { query += " VALUES" } If I have a table named "xxx_values",this code processing is a bit incomplete. e.g
insert into sqt_values wanted: insert into sqt_values values but: insert into sqt_values