[
https://issues.apache.org/jira/browse/HIVE-26244?focusedWorklogId=781085&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-781085
]
ASF GitHub Bot logged work on HIVE-26244:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 14/Jun/22 10:55
Start Date: 14/Jun/22 10:55
Worklog Time Spent: 10m
Work Description: deniskuzZ commented on code in PR #3307:
URL: https://github.com/apache/hive/pull/3307#discussion_r896672973
##########
ql/src/java/org/apache/hadoop/hive/ql/lockmgr/DbTxnManager.java:
##########
@@ -420,6 +420,7 @@ LockState acquireLocks(QueryPlan plan, Context ctx, String
username, boolean isB
}
List<LockComponent> lockComponents =
AcidUtils.makeLockComponents(plan.getOutputs(), plan.getInputs(),
ctx.getOperation(), conf);
+
rqstBuilder.setCheckForConcurrentCtas(AcidUtils.isCTASOperation(lockComponents,
conf));
Review Comment:
could we rename it to `isExclusiveCTAS`
Issue Time Tracking
-------------------
Worklog Id: (was: 781085)
Time Spent: 4.5h (was: 4h 20m)
> Implementing locking for concurrent ctas
> ----------------------------------------
>
> Key: HIVE-26244
> URL: https://issues.apache.org/jira/browse/HIVE-26244
> Project: Hive
> Issue Type: Improvement
> Reporter: Simhadri G
> Assignee: Simhadri G
> Priority: Major
> Labels: pull-request-available
> Time Spent: 4.5h
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian Jira
(v8.20.7#820007)