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

Constant from GetIntermediateType() are not propagated when codegen'ing aggregate functions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Impala 2.7.0, Impala 2.8.0
    • None
    • Backend

    Description

      If a builtin aggregate function calls GetReturnType(), we can propagated constant values, e.g. decimal precision and scale. However we don't have the same optimisation for GetIntermediateType(). We should fix this for consistency.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              tarmstrong Tim Armstrong
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: