You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Taras Bobrovytsky (JIRA)" <ji...@apache.org> on 2017/11/21 18:47:00 UTC

[jira] [Created] (IMPALA-6230) The output type of a round() function should match the input type

Taras Bobrovytsky created IMPALA-6230:
-----------------------------------------

             Summary: The output type of a round() function should match the input type
                 Key: IMPALA-6230
                 URL: https://issues.apache.org/jira/browse/IMPALA-6230
             Project: IMPALA
          Issue Type: Bug
          Components: Backend, Frontend
    Affects Versions: Impala 2.10.0
            Reporter: Taras Bobrovytsky
            Assignee: Taras Bobrovytsky


At the next compatibility breaking version we should revisit the output types of round() functions. In order to match the behavior of most of other database systems, the output type of the round() functions should be the same as the input type.

For example, today, round(double) returns a bigint. We should return a double instead.



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