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

Remove duplicate copies of TableDesc property values in PartitionDesc

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.0
    • Component/s: None
    • Labels:
      None

      Description

      For a partitioned table, each PartitionDesc has a copy of corresponding TableDesc.

      While TableDesc is mutable and hence cannot be interned, it's property values can be.

      For a simple select on a table with 100K partitions, this cut total number of String instances by ~65%.

      Most replicated strings were location, serde, input/output format, column, types, table name, etc.

        Attachments

        1. HIVE-13057.patch
          2 kB
          Mohit Sabharwal

          Issue Links

            Activity

              People

              • Assignee:
                mohitsabharwal Mohit Sabharwal
                Reporter:
                mohitsabharwal Mohit Sabharwal
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: