hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zoltan Chovan (Jira)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-23391) Change requested lock for ALTER TABLE ADD COLUMN to DDL_SHARED
Date Fri, 15 May 2020 14:01:00 GMT

     [ https://issues.apache.org/jira/browse/HIVE-23391?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Zoltan Chovan updated HIVE-23391:
---------------------------------
    Attachment: HIVE-23391.3.patch

> Change requested lock for ALTER TABLE ADD COLUMN to DDL_SHARED
> --------------------------------------------------------------
>
>                 Key: HIVE-23391
>                 URL: https://issues.apache.org/jira/browse/HIVE-23391
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Zoltan Chovan
>            Assignee: Zoltan Chovan
>            Priority: Major
>             Fix For: 4.0.0
>
>         Attachments: HIVE-23391.2.patch, HIVE-23391.3.patch, HIVE-23391.patch
>
>
> A long running query can block a simple add column query, as the add column will require
a DDL_EXCLUSIVE lock currently. By changing this to a shared lock, this metadata only query
can be executed without having to wait for the previous query to finish.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message