Hive
  1. Hive
  2. HIVE-7241

Wrong lock acquired for alter table rename partition

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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.

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

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development