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

PartitionPruner use Collections Class

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 4.0.0-alpha-1
    • None
    • None

    Description

      Make class PrunedPartitionList.java more immutable. It kinda is already. Immutable classes are easier to reason about.

      Use Collections.emptyXXX in PartitionPruner to save an object instantiation at runtime.

      Attachments

        1. HIVE-22569.2.patch
          6 kB
          David Mollitor
        2. HIVE.22569.1.patch
          3 kB
          David Mollitor

        Activity

          People

            belugabehr David Mollitor
            belugabehr David Mollitor
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: