Browse Source

[fix-#11815] fix ck column names contain special characters (#11973)

Co-authored-by: fuchanghai <changhai.fu@marketingforce.com>
3.0.1-release
fuchanghai 2 years ago committed by GitHub
parent
commit
15506a8785
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      dolphinscheduler-task-plugin/dolphinscheduler-task-datax/src/main/java/org/apache/dolphinscheduler/plugin/task/datax/DataxUtils.java

2
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;
}

Loading…
Cancel
Save