-
Notifications
You must be signed in to change notification settings - Fork 923
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
用户自定义函数udf,未显示的注册,是否可以直接使用? #30
Comments
定义了用户自定义函数udf类,并且通过addjar参数指定了路径。是否可以在sql里直接使用?源代码中没有对自定义的函数做注册和声明,可以直接使用吗? |
用户自定义额函数CREATE (scala|table) FUNCTION CHARACTER_LENGTH WITH com.dtstack.Kun |
这里的com.dtstack.Kun ,就是自己写的自定义函数类的绝对路径? |
是的 |
在测试udf过程中出现如下现象: |
你是用什么模式执行的 |
flink是1.5.4 standalone模式 |
我重启了flink1.5.4,不指定addjar,提交任务,原先第一次提交的udf函数任然可以使用。 |
你们测试有预计这个问题吗? |
问题找到了,我第一次根本就没有读入自定义函数。sql里面写的有问题。现在改了一下,但是在加载自定义函数包的时候报类记载器错误: |
No description provided.
The text was updated successfully, but these errors were encountered: