Browse Source

Fix Hive jdbc url (#15627)

dev_wenjun_refactorMaster
zuo 8 months ago committed by GitHub
parent
commit
e498116025
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      dolphinscheduler-datasource-plugin/dolphinscheduler-datasource-hive/src/main/java/org/apache/dolphinscheduler/plugin/datasource/hive/param/HiveDataSourceProcessor.java

2
dolphinscheduler-datasource-plugin/dolphinscheduler-datasource-hive/src/main/java/org/apache/dolphinscheduler/plugin/datasource/hive/param/HiveDataSourceProcessor.java

@ -125,7 +125,7 @@ public class HiveDataSourceProcessor extends AbstractDataSourceProcessor {
HiveConnectionParam hiveConnectionParam = (HiveConnectionParam) connectionParam; HiveConnectionParam hiveConnectionParam = (HiveConnectionParam) connectionParam;
String jdbcUrl = hiveConnectionParam.getJdbcUrl(); String jdbcUrl = hiveConnectionParam.getJdbcUrl();
if (MapUtils.isNotEmpty(hiveConnectionParam.getOther())) { if (MapUtils.isNotEmpty(hiveConnectionParam.getOther())) {
return jdbcUrl + "?" + transformOther(hiveConnectionParam.getOther()); return jdbcUrl + ";" + transformOther(hiveConnectionParam.getOther());
} }
return jdbcUrl; return jdbcUrl;
} }

Loading…
Cancel
Save