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

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

Log workAgile BoardRank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsAdd voteVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jinzheng jinzheng Assign to me
            jinzheng jinzheng

            Dates

              Created:
              Updated:

              Time Tracking

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

              Slack

                Issue deployment