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

View partitions do not have a storage descriptor

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.9.0
    • Metastore
    • None
    • Reviewed
    • Hide
      Requires upgrade of the metadata corresponding to partitioned views. Please see the comments in metastore/scripts/upgrade/001-HIVE-2795.update_view_partitions.py for more information.
      Show
      Requires upgrade of the metadata corresponding to partitioned views. Please see the comments in metastore/scripts/upgrade/001- HIVE-2795 .update_view_partitions.py for more information.

    Description

      Besides being an inconsistency, it causes errors.

      Calling describe formatted on a view partition throws an exception

      java.lang.NullPointerException
      at org.apache.hadoop.hive.ql.metadata.Partition.getCols(Partition.java:505)
      at org.apache.hadoop.hive.ql.exec.DDLTask.describeTable(DDLTask.java:2570)

      because it does not have a column descriptor, which is part of the storage descriptor.

      Attachments

        Activity

          People

            kevinwilfong Kevin Wilfong
            namit Namit Jain
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: