[
https://issues.apache.org/jira/browse/CALCITE-2772?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
pengzhiwei updated CALCITE-2772:
--------------------------------
Description:
Support varargs for user-defined functions as the case followed:
{code:java}
public class ConcatWs {
public String eval(String sep, String... strs) {...}
}{code}
was:
Currently,calcite does not support variable parameter for UDF as the case shown
below:
{code:java}
public class ConcatWs {
public String eval(String sep, String... strs) {...}
}{code}
However,it much common for user who writes udf.
> Support varargs for user-defined functions (UDFs)
> -------------------------------------------------
>
> Key: CALCITE-2772
> URL: https://issues.apache.org/jira/browse/CALCITE-2772
> Project: Calcite
> Issue Type: Improvement
> Components: core
> Reporter: pengzhiwei
> Assignee: pengzhiwei
> Priority: Major
>
> Support varargs for user-defined functions as the case followed:
> {code:java}
> public class ConcatWs {
> public String eval(String sep, String... strs) {...}
> }{code}
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)