You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Jesus Camacho Rodriguez (JIRA)" <ji...@apache.org> on 2019/07/02 20:57:00 UTC

[jira] [Created] (HIVE-21945) Enable sorted dynamic partitioning optimization for materialized views with custom data organization

Jesus Camacho Rodriguez created HIVE-21945:
----------------------------------------------

             Summary: Enable sorted dynamic partitioning optimization for materialized views with custom data organization
                 Key: HIVE-21945
                 URL: https://issues.apache.org/jira/browse/HIVE-21945
             Project: Hive
          Issue Type: Bug
          Components: Materialized views
    Affects Versions: 4.0.0
            Reporter: Jesus Camacho Rodriguez
            Assignee: Jesus Camacho Rodriguez


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. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)