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

Wrong lock acquired for alter table rename partition

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.13.0
    • Fix Version/s: 0.14.0
    • Component/s: Locking
    • Labels:
      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

              • Assignee:
                alangates Alan Gates
                Reporter:
                alangates Alan Gates
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: