[Bug] [Module Name] Create a new udf information module without displaying the class name. Create a job after creating a new udf. The default flinksql job is, but the required items are class name and udf template
Search before asking
- [x] I had searched in the issues and found no similar issues.
What happened
最新版本 1.2.3
What you expected to happen
最新版本 1.2.3
How to reproduce
最新版本 1.2.3
Anything else
最新版本 1.2.3
Version
1.2.3
Are you willing to submit PR?
- [ ] Yes I am willing to submit a PR!
Code of Conduct
- [x] I agree to follow this project's Code of Conduct
Hello @ZYH654, this issue is about UDF, so I assign it to @gaoyan1998 and @zackyoungh. If you have any questions, you can comment and reply.
你好 @ZYH654, 这个 issue 是关于 UDF 的,所以我把它分配给了 @gaoyan1998 和 @zackyoungh。如有任何问题,可以评论回复。
保存发布之后,再次修改 udf 再保存发布 好像是不生效的,还是引用之前的方法, 第一次创建 package com.yuhui.udf;
import org.apache.flink.table.functions.ScalarFunction;
public class suiji extends ScalarFunction { public int eval(Integer s) { return s.hashCode(); } }
修改
package com.yuhui.udf;
import org.apache.flink.table.functions.ScalarFunction;
public class suiji extends ScalarFunction { public String eval(String s) { return 'udf'; } } flinksql中删除创建的函数从新注册,发现 还是还是引用之前的方法, 提示 函数为 int但是传入的是 string
Hello @, this issue has not been active for more than 30 days. This issue will be closed in 7 days if there is no response. If you have any questions, you can comment and reply.
你好 @, 这个 issue 30 天内没有活跃,7 天后将关闭,如需回复,可以评论回复。
我也遇到了这个情况,我感觉是dinky服务启动时才会进行一次编译