Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Impala 2.8.0
    • Impala 2.9.0
    • Backend
    • None

    Description

      Currently, the result type of AVG() is set to be the same as the input type. Instead, it should be related to the rule for divide of DECIMAL result type, since AVG() is essentially a divide of DECIMAL sum by the integral count. This will require probably some additional plumbing through the UDA interface in addition to the frontend work.

      Attachments

        Issue Links

          Activity

            People

              kwho Michael Ho
              dhecht Daniel Hecht
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: