fix an error

This commit is contained in:
LuckyPickleZZ 2023-12-08 11:25:01 +08:00
parent 1a48afdac7
commit abf3ea0230

View File

@ -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 {