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

MinJi Kim commented on CALCITE-1936:
------------------------------------

Here is a small patch for this jira.  Please let me know what you think.  
Thanks!

https://github.com/apache/calcite/pull/513

> Allow ROUND() and TRUNC() 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
>
> 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