[
https://issues.apache.org/jira/browse/HIVE-26053?focusedWorklogId=745638&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-745638
]
ASF GitHub Bot logged work on HIVE-26053:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 22/Mar/22 08:05
Start Date: 22/Mar/22 08:05
Worklog Time Spent: 10m
Work Description: pvary commented on a change in pull request #3116:
URL: https://github.com/apache/hive/pull/3116#discussion_r831870673
##########
File path:
ql/src/java/org/apache/hadoop/hive/ql/ddl/view/drop/DropViewAnalyzer.java
##########
@@ -50,7 +50,7 @@ public void analyzeInternal(ASTNode root) throws
SemanticException {
Table view = getTable(viewName, throwException);
if (view != null) {
inputs.add(new ReadEntity(view));
- outputs.add(new WriteEntity(view, WriteEntity.WriteType.DDL_EXCLUSIVE));
+ outputs.add(new WriteEntity(view, WriteEntity.WriteType.DDL_NO_LOCK));
// see AcidUtils.needsLock(output)
Review comment:
What about materialized view-s where the view could be used for
optimising the query and it could be used as a source instead of the original
source table?
Or that is a different story?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 745638)
Remaining Estimate: 0h
Time Spent: 10m
> Non blocking DROP VIEW
> ----------------------
>
> Key: HIVE-26053
> URL: https://issues.apache.org/jira/browse/HIVE-26053
> Project: Hive
> Issue Type: Task
> Reporter: Denys Kuzmenko
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> DROP VIEW shouldn't acquire any locks
--
This message was sent by Atlassian Jira
(v8.20.1#820001)