Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-16923 Hive-on-Spark DPP Improvements
  3. HIVE-20211

DPP call to remove PartitionDescs from aliasToPartnInfo doesn't do anything

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Spark
    • None

    Description

      Noticed this while working on HIVE-20056, the SparkPartitionPruner calls work.getPartitionDescs().remove(desc) but work.getPartitionDescs returns a copy of the underlying aliasToPartnInfo object. So this code doesn't actually do anything.

      Attachments

        Activity

          People

            Unassigned Unassigned
            stakiar Sahil Takiar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: