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

Wrong lock acquired for alter table rename partition

Log workAgile BoardRank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.13.0
    • 0.14.0
    • Locking
    • None

    Description

      Doing an "alter table foo partition (bar='x') rename to partition (bar='y')" acquires a read lock on table foo. It should instead acquire an exclusive lock on partition bar=x.

      Attachments

        1. HIVE-7241.patch
          4 kB
          Alan Gates
        2. HIVE-7241.patch
          4 kB
          Alan Gates

        Issue Links

        Activity

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

          People

            gates Alan Gates Assign to me
            gates Alan Gates
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment