UDF: Can I get a return type from a constant parameter in args? #7657
Replies: 3 comments 5 replies
-
Hi @JasonLi-cn -- I am not sure you can do this as a UDF -- the only function I know that is similar is |
Beta Was this translation helpful? Give feedback.
4 replies
-
I have done a simple test, please help review the code. @alamb |
Beta Was this translation helpful? Give feedback.
1 reply
-
I filed #8624 to track this request and so I am going to mark this discussion closed |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Def one UDF:
Using:
case1:
case2:
At present, the above udf cannot be realized through the
ReturnTypeFunction
. This is because theReturnTypeFunction
provides only the data types of the input parameters.Beta Was this translation helpful? Give feedback.
All reactions