Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-21634

Materialized view rewriting over aggregate operators containing with grouping sets

    XMLWordPrintableJSON

Details

    Description

      A possible approach to support rewriting queries with an aggregate with grouping sets is implementing a rule that splits the aggregate in the query into an aggregate without grouping sets (bottom) and an aggregate with grouping sets (top). Then the materialized view rewriting rule will trigger on the former.

      Attachments

        1. HIVE-21634.01.patch
          34 kB
          jcamachorodriguez
        2. HIVE-21634.02.patch
          34 kB
          jcamachorodriguez
        3. HIVE-21634.02.patch
          34 kB
          jcamachorodriguez
        4. HIVE-21634.patch
          27 kB
          jcamachorodriguez

        Issue Links

          Activity

            People

              jcamacho Jesús Camacho Rodríguez
              jcamacho Jesús Camacho Rodríguez
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m