Skip to content

Commit

Permalink
refactor_udf_execute
Browse files Browse the repository at this point in the history
  • Loading branch information
zackyoungh committed Dec 6, 2024
1 parent 1f24243 commit ff94d70
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dinky-admin/src/main/java/org/dinky/utils/UDFUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public static UDF taskToUDF(Task task) {
.functionLanguage(FunctionLanguage.valueOf(task.getDialect().toUpperCase()))
.build();

FunctionCompiler.getCompiler(udf, task.getConfigJson().getCustomConfigMaps(), task.getId());
FunctionCompiler.getCompilerByTask(udf, task.getConfigJson().getCustomConfigMaps(), task.getId());
FunctionPackage.bale(udf, task.getId());
return udf;
} else {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public interface FunctionCompiler {
*/
boolean compiler(UDF udf, ReadableConfig conf, Integer taskId);

static boolean getCompiler(UDF udf, Map<String, String> conf, Integer taskId) {
static boolean getCompilerByTask(UDF udf, Map<String, String> conf, Integer taskId) {
return getCompiler(udf, Configuration.fromMap(conf), taskId);
}
/**
Expand Down

0 comments on commit ff94d70

Please sign in to comment.