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

alter table drop partition should be compatible with old metastore, as partition pruner does

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • 3.0.0
    • None
    • Metastore
    • None
    • all

    Description

          After the change of  HIVE-4914, we always push the partition expression to metastore, to avoid filtering partition by partition names.

          And HIVE-4914 added some protection in Partition pruner, in case that metastore may not have api of get_partitions_by_expr.

          Therefore, we should also add similar protection to another calling point, when dealing with "alter table drop partition".

      Attachments

        1. temp.diff
          6 kB
          jinzheng

        Activity

          People

            jinzheng jinzheng
            jinzheng jinzheng
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified