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

Make ql/metadata/Table and Partition serializable

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.6.0
    • Metastore
    • None

    Description

      Both Table and Partition are just wrappers of the thrift class TTable and TPartition.

      However, Table and Partition are not serializable, and there are no guarantee in the code to make sure Table is in sync with the field of TTable.

      We should make Table and Partition serializable by only serializing the TTable and TPartition fields, and we should hide the TTable details inside the Table class.

      Attachments

        1. HIVE-1122.4.patch
          512 kB
          Zheng Shao
        2. HIVE-1122.5.patch
          513 kB
          Zheng Shao
        3. HIVE-1122.pre.1.patch
          18 kB
          Zheng Shao

        Issue Links

          Activity

            People

              zshao Zheng Shao
              zshao Zheng Shao
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: