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

Julian Hyde resolved CALCITE-1936.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 1.14.0

Fixed in http://git-wip-us.apache.org/repos/asf/calcite/commit/bfaea7cc.

I also made ROUND and TRUNCATE work when their 2nd argument is NULL.

> Allow ROUND() and TRUNCATE() to take only one operand
> -----------------------------------------------------
>
>                 Key: CALCITE-1936
>                 URL: https://issues.apache.org/jira/browse/CALCITE-1936
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>            Reporter: MinJi Kim
>            Assignee: Julian Hyde
>             Fix For: 1.14.0
>
>
> Some databases (e.g. Oracle and MS Sqlserver) allow ROUND and TRUNCATE to 
> take only one operand for ease of use.  For example, we could allow 
> ROUND(12.3) to mean ROUND(12.3, 0), TRUNCATE(12.3, 0) to mean TRUNCATE(12.3).



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to