From e498116025bee44bbf37ed1f24fc430b9c863366 Mon Sep 17 00:00:00 2001 From: zuo <58384836+xxzuo@users.noreply.github.com> Date: Mon, 26 Feb 2024 14:15:32 +0800 Subject: [PATCH] Fix Hive jdbc url (#15627) --- .../plugin/datasource/hive/param/HiveDataSourceProcessor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dolphinscheduler-datasource-plugin/dolphinscheduler-datasource-hive/src/main/java/org/apache/dolphinscheduler/plugin/datasource/hive/param/HiveDataSourceProcessor.java b/dolphinscheduler-datasource-plugin/dolphinscheduler-datasource-hive/src/main/java/org/apache/dolphinscheduler/plugin/datasource/hive/param/HiveDataSourceProcessor.java index 98eaf728ef..36330c17c8 100644 --- a/dolphinscheduler-datasource-plugin/dolphinscheduler-datasource-hive/src/main/java/org/apache/dolphinscheduler/plugin/datasource/hive/param/HiveDataSourceProcessor.java +++ b/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; String jdbcUrl = hiveConnectionParam.getJdbcUrl(); if (MapUtils.isNotEmpty(hiveConnectionParam.getOther())) { - return jdbcUrl + "?" + transformOther(hiveConnectionParam.getOther()); + return jdbcUrl + ";" + transformOther(hiveConnectionParam.getOther()); } return jdbcUrl; }