From 4ea0466bc3ed9ecca62d41128aa4ccc6843d1cc4 Mon Sep 17 00:00:00 2001 From: lgcareer <18610854716@163.com> Date: Mon, 30 Sep 2019 15:47:36 +0800 Subject: [PATCH] cal duration in processInstancesList (#944) * rename from DatasourceUserMapper to DataSourceUserMapper * add unit test in UserMapper and WorkerGroupMapper * change cn.escheduler to org.apache.dolphinscheduler * add unit test in UdfFuncMapperTest * add unit test in UdfFuncMapperTest * remove DatabaseConfiguration * add ConnectionFactoryTest * cal duration in processInstancesList * change desc to description --- .../apache/dolphinscheduler/api/service/UdfFuncService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/UdfFuncService.java b/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/UdfFuncService.java index 102e5b070a..7f68c7f4f3 100644 --- a/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/UdfFuncService.java +++ b/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/UdfFuncService.java @@ -115,7 +115,7 @@ public class UdfFuncService extends BaseService{ if (StringUtils.isNotEmpty(argTypes)) { udf.setDatabase(database); } - udf.setDesc(desc); + udf.setDescription(desc); udf.setResourceId(resourceId); udf.setResourceName(resource.getAlias()); udf.setType(type); @@ -220,7 +220,7 @@ public class UdfFuncService extends BaseService{ if (StringUtils.isNotEmpty(argTypes)) { udf.setDatabase(database); } - udf.setDesc(desc); + udf.setDescription(desc); udf.setResourceId(resourceId); udf.setResourceName(resource.getAlias()); udf.setType(type);