From 261050f789c74c12031c6a34a90d5cdb63019056 Mon Sep 17 00:00:00 2001 From: mozhenghua Date: Tue, 4 Oct 2022 08:48:24 +0800 Subject: [PATCH] add escapeChar for tableName for common use --- .../alibaba/datax/plugin/rdbms/writer/CommonRdbmsWriter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin-rdbms-util/src/main/java/com/alibaba/datax/plugin/rdbms/writer/CommonRdbmsWriter.java b/plugin-rdbms-util/src/main/java/com/alibaba/datax/plugin/rdbms/writer/CommonRdbmsWriter.java index 3aee678ddd..0b1ff182dd 100755 --- a/plugin-rdbms-util/src/main/java/com/alibaba/datax/plugin/rdbms/writer/CommonRdbmsWriter.java +++ b/plugin-rdbms-util/src/main/java/com/alibaba/datax/plugin/rdbms/writer/CommonRdbmsWriter.java @@ -107,7 +107,7 @@ public void prepare(Configuration originalConfig) { String jdbcUrl = connConf.getString(Key.JDBC_URL); originalConfig.set(Key.JDBC_URL, jdbcUrl); - SelectTable table = SelectTable.create(connConf); + SelectTable table = SelectTable.create(originalConfig); // String table = connConf.getList(Key.TABLE, String.class).get(0); originalConfig.set(Key.TABLE, table.getUnescapeTabName());