You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by zi...@apache.org on 2022/09/16 03:41:26 UTC

[dolphinscheduler] branch 3.0.1-prepare updated: [fix-#11815] fix ck column names contain special characters (#11973)

This is an automated email from the ASF dual-hosted git repository.

zihaoxiang pushed a commit to branch 3.0.1-prepare
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git


The following commit(s) were added to refs/heads/3.0.1-prepare by this push:
     new 15506a8785 [fix-#11815] fix ck column names contain special characters (#11973)
15506a8785 is described below

commit 15506a87855d2392b81668e72e5d1cba74d55f95
Author: fuchanghai <33...@users.noreply.github.com>
AuthorDate: Fri Sep 16 11:41:20 2022 +0800

    [fix-#11815] fix ck column names contain special characters (#11973)
    
    Co-authored-by: fuchanghai <ch...@marketingforce.com>
---
 .../java/org/apache/dolphinscheduler/plugin/task/datax/DataxUtils.java  | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dolphinscheduler-task-plugin/dolphinscheduler-task-datax/src/main/java/org/apache/dolphinscheduler/plugin/task/datax/DataxUtils.java b/dolphinscheduler-task-plugin/dolphinscheduler-task-datax/src/main/java/org/apache/dolphinscheduler/plugin/task/datax/DataxUtils.java
index 42ba975272..0f63261bb4 100644
--- a/dolphinscheduler-task-plugin/dolphinscheduler-task-datax/src/main/java/org/apache/dolphinscheduler/plugin/task/datax/DataxUtils.java
+++ b/dolphinscheduler-task-plugin/dolphinscheduler-task-datax/src/main/java/org/apache/dolphinscheduler/plugin/task/datax/DataxUtils.java
@@ -131,6 +131,8 @@ public class DataxUtils {
                 return String.format("\"%s\"", column);
             case SQLSERVER:
                 return String.format("`%s`", column);
+            case CLICKHOUSE:
+                return String.format("`%s`", column);
             default:
                 return column;
         }