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

Wrong lock acquired for alter table rename partition

    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

            People

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

              Dates

                Created:
                Updated:
                Resolved: