[
https://issues.apache.org/jira/browse/HIVE-26244?focusedWorklogId=781094&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-781094
]
ASF GitHub Bot logged work on HIVE-26244:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 14/Jun/22 11:09
Start Date: 14/Jun/22 11:09
Worklog Time Spent: 10m
Work Description: deniskuzZ commented on code in PR #3307:
URL: https://github.com/apache/hive/pull/3307#discussion_r896684186
##########
ql/src/java/org/apache/hadoop/hive/ql/io/AcidUtils.java:
##########
@@ -3104,6 +3112,15 @@ Seems much cleaner if each stmt is identified as a
particular HiveOperation (whi
return lockComponents;
}
+ public static boolean isCTASOperation(List<LockComponent> lockComponents,
HiveConf conf) {
+ boolean isCtas = false;
+ for (LockComponent lock : lockComponents) {
+ if (lock.getOperationType().name().equals(OperationType.CTAS.name()) &&
+
conf.getBoolVar(ConfVars.HIVE_ACID_CHECK_FOR_CONCURRENT_CTAS_ENABLED))
Review Comment:
why not use isNoRenameCtasEnabled/isExclusiveCTASEnabled helper method
Issue Time Tracking
-------------------
Worklog Id: (was: 781094)
Time Spent: 5h 10m (was: 5h)
> 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: 5h 10m
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian Jira
(v8.20.7#820007)