Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-6230

The output type of a round() function should match the input type

    XMLWordPrintableJSON

Details

    • ghx-label-2

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              tarasbob Taras Bobrovytsky
              tarasbob Taras Bobrovytsky
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: