Uploaded image for project: 'HCatalog'
  1. HCatalog
  2. HCATALOG-484

HCatalog should use ql.metadata Table and Partition classes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.5
    • None
    • None

    Description

      Hive has two sets of classes for representing tables and partitions. For example:

      • import org.apache.hadoop.hive.ql.metadata.Table
      • import org.apache.hadoop.hive.metastore.api.Table

      The metadata.api versions represent exactly what's stored in the metastore, while the ql.metadata versions add some business logic, such as providing serde-reported columns.

      HCatalog should always use the ql.metadata versions of Table and Partition classes except when communicating with the metastore, or serializing these objects into the job conf.

      Attachments

        1. HCATALOG-484_metadata_api.1.patch
          27 kB
          Travis Crawford

        Issue Links

          Activity

            People

              traviscrawford Travis Crawford
              traviscrawford Travis Crawford
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: