[ 
https://issues.apache.org/jira/browse/CALCITE-947?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16818269#comment-16818269
 ] 

Julian Hyde commented on CALCITE-947:
-------------------------------------

No one is working on it. Feel free to assign it to yourself.

Do you plan to allow expressions or just literals?

> Allow optional parameters to have default values other than NULL
> ----------------------------------------------------------------
>
>                 Key: CALCITE-947
>                 URL: https://issues.apache.org/jira/browse/CALCITE-947
>             Project: Calcite
>          Issue Type: Bug
>            Reporter: Julian Hyde
>            Priority: Major
>
> As of CALCITE-941 user-defined functions can have optional parameters and you 
> can omit them or use the DEFAULT keyword. But the default value must be NULL, 
> and therefore the parameter must have an optional type.
> This case would remove that restriction and allow default values which are 
> literals, or calls to system functions (e.g. USER) or references to other 
> parameters, or expressions composed thereof.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to