You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "MinJi Kim (JIRA)" <ji...@apache.org> on 2017/08/10 21:59:01 UTC

[jira] [Created] (CALCITE-1936) Allow ROUND() and TRUNC() to take only one operand

MinJi Kim created CALCITE-1936:
----------------------------------

             Summary: 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)