Skip to content

Commit

Permalink
clickhouse insert values fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Denis Logutko committed Jul 31, 2024
1 parent 0f378dd commit 6d17414
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/sink/clickhouse/clickhouse.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func (c *Clickhouse) write(ctx context.Context, data map[string]any) {
}

sb := sqlbuilder.NewInsertBuilder()
sb.InsertInto(c.clickConfig.TableName).Cols(cols...).Values(values).SetFlavor(sqlbuilder.ClickHouse)
sb.InsertInto(c.clickConfig.TableName).Cols(cols...).Values(values...).SetFlavor(sqlbuilder.ClickHouse)

sql, args := sb.Build()

Expand Down

0 comments on commit 6d17414

Please sign in to comment.