fix(outputs.sql): Fix insert into ClickHouse (#16472)
This commit is contained in:
parent
271352aaef
commit
1b2e012f4b
|
|
@ -187,7 +187,7 @@ func (p *SQL) generateInsert(tablename string, columns []string) string {
|
|||
}
|
||||
}
|
||||
|
||||
return fmt.Sprintf("INSERT INTO %s(%s) VALUES(%s)",
|
||||
return fmt.Sprintf("INSERT INTO %s (%s) VALUES(%s)",
|
||||
quoteIdent(tablename),
|
||||
strings.Join(quotedColumns, ","),
|
||||
strings.Join(placeholders, ","))
|
||||
|
|
|
|||
Loading…
Reference in New Issue