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

Partitioning support for materialized views

Log workAgile BoardRank to TopRank to BottomVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 3.2.0, 4.0.0
    • Component/s: Materialized views
    • Labels:
      None

      Description

      We should support defining a partitioning specification for materialized views and that the results of the materialized view evaluation are stored meeting the partitioning spec.

      The syntax should be extended as follows:

      CREATE MATERIALIZED VIEW [IF NOT EXISTS] [db_name.]materialized_view_name
        [COMMENT materialized_view_comment]
        [PARTITIONED ON (col_name, ...)] -- NEW!
        [
         [ROW FORMAT row_format] 
         [STORED AS file_format]
           | STORED BY 'storage.handler.class.name' [WITH SERDEPROPERTIES (...)]
        ]
        [LOCATION hdfs_path]
        [TBLPROPERTIES (property_name=property_value, ...)]
        AS select_statement;
      

        Attachments

        1. HIVE-14493.01.patch
          183 kB
          Jesus Camacho Rodriguez
        2. HIVE-14493.patch
          70 kB
          Jesus Camacho Rodriguez

        Issue Links

          Activity

          $i18n.getText('security.level.explanation', $currentSelection) Viewable by All Users
          Cancel

            People

            • Assignee:
              jcamachorodriguez Jesus Camacho Rodriguez Assign to me
              Reporter:
              jcamachorodriguez Jesus Camacho Rodriguez

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment