[ 
https://issues.apache.org/jira/browse/CALCITE-947?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chunwei Lei reassigned CALCITE-947:
-----------------------------------

    Assignee: Chunwei Lei

> 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
>            Assignee: Chunwei Lei
>            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