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

MV partition on clause position

    XMLWordPrintableJSON

Details

    Description

      It should obey the following syntax as per https://cwiki.apache.org/confluence/display/Hive/Materialized+views :

      CREATE MATERIALIZED VIEW [IF NOT EXISTS] [db_name.]materialized_view_name
        [DISABLE REWRITE]
        [COMMENT materialized_view_comment]
        [PARTITIONED ON (col_name, ...)]
        [
          [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
      <query>;
      

      Currently it is positioned just before TBLPROPERTIES.

      Attachments

        1. HIVE-20820.patch
          0.9 kB
          jcamachorodriguez

        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: