mirror of
https://github.com/alibaba/DataX.git
synced 2025-05-02 17:40:28 +08:00
fix an error
This commit is contained in:
parent
1a48afdac7
commit
abf3ea0230
@ -58,7 +58,7 @@ public class SqlWriter implements UnstructuredWriter {
|
|||||||
int capacity = 18 + tableName.length() + sb.length();
|
int capacity = 18 + tableName.length() + sb.length();
|
||||||
this.insertPrefix = new StringBuilder(capacity);
|
this.insertPrefix = new StringBuilder(capacity);
|
||||||
this.insertPrefix
|
this.insertPrefix
|
||||||
.append("INSERT INTO ").append("`").append(tableName).append("`").append(" (").append(sb).append(")").append(" VALUES(");
|
.append("INSERT INTO ").append(quoteChar).append(tableName).append(quoteChar).append(" (").append(sb).append(")").append(" VALUES(");
|
||||||
}
|
}
|
||||||
|
|
||||||
public void appendCommit() throws IOException {
|
public void appendCommit() throws IOException {
|
||||||
|
Loading…
Reference in New Issue
Block a user