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

Enable sorted dynamic partitioning optimization for materialized views with custom data organization

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 4.0.0
    • Fix Version/s: None
    • Component/s: Materialized views
    • Labels:
      None

      Description

      After implementing HIVE-18842, we need to extend the optimizer to work with partitioned materialized views that are created with custom data organization, i.e., using CLUSTERED, DISTRIBUTED, or SORTED. Currently, optimization bails out when the materialized view is partitioned and either CLUSTERED, DISTRIBUTED, or SORTED.
      In particular, we will need to combine the RS operator introduced by the translation of these clauses with the new RS needed to distribute and sort the data based on the dynamic partition values.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jcamachorodriguez Jesus Camacho Rodriguez
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: