[
https://issues.apache.org/jira/browse/OPTIQ-314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14047186#comment-14047186
]
Vladimir Sitnikov commented on OPTIQ-314:
-----------------------------------------
What with overloads then?
Method name is not sufficient to identify a method.
We either pick up all the methods with given name and use them as overloads, or
provide a way to specify argument types.
> Allow simple UDFs based on methods
> ----------------------------------
>
> Key: OPTIQ-314
> URL: https://issues.apache.org/jira/browse/OPTIQ-314
> Project: optiq
> Issue Type: New Feature
> Reporter: Julian Hyde
> Assignee: Julian Hyde
>
> We already allow UDFs based on classes, provided that that classes have just
> one method. This change would allow UDFs based on classes with several
> methods.
> E.g. should be able to use 'String String.replace(String s, String s2)' as a
> SQL UDF 'REPLACE(String, String, String) RETURNS String'.
--
This message was sent by Atlassian JIRA
(v6.2#6252)