Browse Source

[Fix-4929][dao]fix ClassCastException when run hive sql with udf (#4930)

* ambari2.7.5+hdp3.1兼容ds1.3插件

* params.py

* delete unuseless code

* fix class cast exception

Co-authored-by: 李巨丰 <lijf@2345.com>
pull/3/MERGE
JuFeng Li 4 years ago committed by GitHub
parent
commit
397c78149c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/entity/UdfFunc.java

2
dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/entity/UdfFunc.java

@ -230,7 +230,7 @@ public class UdfFunc {
if (StringUtils.isBlank(key)) {
return null;
}
return JSONUtils.parseObject(key);
return JSONUtils.parseObject(key, UdfFunc.class);
}
}
}

Loading…
Cancel
Save