From ffee46936e3f1698a2dc8bb89c7595b942157741 Mon Sep 17 00:00:00 2001
From: taoran1250 <543121890@qq.com>
Date: Thu, 12 Dec 2024 20:48:15 +0800
Subject: [PATCH 1/3] =?UTF-8?q?feat:=20=E6=94=AF=E6=8C=81=E8=B0=83?=
=?UTF-8?q?=E7=94=A8=E6=8E=A5=E5=8F=A3=E8=A7=A3=E6=9E=90py=E5=92=8Cscala?=
=?UTF-8?q?=E7=9A=84=E6=96=B9=E6=B3=95=E5=90=8D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
linkis-commons/linkis-module/pom.xml | 2 +-
.../executor/HiveEngineConnExecutor.scala | 4 +-
.../HiveMetaWithPermissionServiceImpl.java | 7 +-
.../apache/linkis/udf/api/UDFRestfulApi.java | 24 ++++++
.../org/apache/linkis/udf/conf/Constants.java | 1 +
.../org/apache/linkis/udf/utils/UdfUtils.java | 78 ++++++++++++++++---
.../linkis-gateway-core/pom.xml | 2 +-
7 files changed, 98 insertions(+), 20 deletions(-)
diff --git a/linkis-commons/linkis-module/pom.xml b/linkis-commons/linkis-module/pom.xml
index dc28af3b1b..81601b5094 100644
--- a/linkis-commons/linkis-module/pom.xml
+++ b/linkis-commons/linkis-module/pom.xml
@@ -47,8 +47,8 @@
${springfox.version}
- classgraph
io.github.classgraph
+ classgraph
diff --git a/linkis-engineconn-plugins/hive/src/main/scala/org/apache/linkis/engineplugin/hive/executor/HiveEngineConnExecutor.scala b/linkis-engineconn-plugins/hive/src/main/scala/org/apache/linkis/engineplugin/hive/executor/HiveEngineConnExecutor.scala
index e8eccd35a7..d50e4096f9 100644
--- a/linkis-engineconn-plugins/hive/src/main/scala/org/apache/linkis/engineplugin/hive/executor/HiveEngineConnExecutor.scala
+++ b/linkis-engineconn-plugins/hive/src/main/scala/org/apache/linkis/engineplugin/hive/executor/HiveEngineConnExecutor.scala
@@ -274,7 +274,9 @@ class HiveEngineConnExecutor(
if (numberOfMRJobs > 0) {
engineExecutorContext.appendStdout(s"Your hive sql has $numberOfMRJobs MR jobs to do")
val queueName = hiveConf.get(HiveEngineConfiguration.HIVE_QUEUE_NAME)
- engineExecutorContext.appendStdout(s"Your task will be submitted to the $queueName queue")
+ engineExecutorContext.appendStdout(
+ s"Your task will be submitted to the $queueName queue"
+ )
}
if (thread.isInterrupted) {
logger.error(
diff --git a/linkis-public-enhancements/linkis-datasource/linkis-metadata/src/main/java/org/apache/linkis/metadata/service/impl/HiveMetaWithPermissionServiceImpl.java b/linkis-public-enhancements/linkis-datasource/linkis-metadata/src/main/java/org/apache/linkis/metadata/service/impl/HiveMetaWithPermissionServiceImpl.java
index 700a8aab3a..88a4d93b6e 100644
--- a/linkis-public-enhancements/linkis-datasource/linkis-metadata/src/main/java/org/apache/linkis/metadata/service/impl/HiveMetaWithPermissionServiceImpl.java
+++ b/linkis-public-enhancements/linkis-datasource/linkis-metadata/src/main/java/org/apache/linkis/metadata/service/impl/HiveMetaWithPermissionServiceImpl.java
@@ -103,11 +103,8 @@ public List