[
https://issues.apache.org/jira/browse/HIVE-26244?focusedWorklogId=773310&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-773310
]
ASF GitHub Bot logged work on HIVE-26244:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 23/May/22 07:19
Start Date: 23/May/22 07:19
Worklog Time Spent: 10m
Work Description: deniskuzZ commented on code in PR #3307:
URL: https://github.com/apache/hive/pull/3307#discussion_r879099718
##########
ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java:
##########
@@ -13900,7 +13901,11 @@ private void addDbAndTabToOutputs(String[]
qualifiedTabName, TableType type,
for(Map.Entry<String,String> serdeMap :
storageFormat.getSerdeProps().entrySet()){
t.setSerdeParam(serdeMap.getKey(), serdeMap.getValue());
}
- outputs.add(new WriteEntity(t, WriteEntity.WriteType.DDL_NO_LOCK));
+ if (tblProps.get("created_with_ctas") == "true") {
+ outputs.add(new WriteEntity(t, WriteType.CTAS));
Review Comment:
Why is this needed/when, we are populating outputs in CreateTableOperation
as well?
Issue Time Tracking
-------------------
Worklog Id: (was: 773310)
Time Spent: 1h (was: 50m)
> 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: 1h
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian Jira
(v8.20.7#820007)