You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "MinJi Kim (JIRA)" <ji...@apache.org> on 2017/08/11 03:19:00 UTC
[jira] [Commented] (CALCITE-1936) Allow ROUND() and TRUNCATE() to
take only one operand
[ https://issues.apache.org/jira/browse/CALCITE-1936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16122767#comment-16122767 ]
MinJi Kim commented on CALCITE-1936:
------------------------------------
Yes, I meant TRUNCATE. I updated the title. I will also update the patch soon! Thanks!
> 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
>
> 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)