[
https://issues.apache.org/jira/browse/HIVE-24109?focusedWorklogId=503696&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-503696
]
ASF GitHub Bot logged work on HIVE-24109:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 22/Oct/20 12:15
Start Date: 22/Oct/20 12:15
Worklog Time Spent: 10m
Work Description: aasha commented on a change in pull request #1529:
URL: https://github.com/apache/hive/pull/1529#discussion_r509991386
##########
File path:
ql/src/java/org/apache/hadoop/hive/ql/exec/repl/bootstrap/load/table/LoadTable.java
##########
@@ -270,10 +269,9 @@ static TableLocationTuple tableLocation(ImportTableDesc
tblDesc, Database parent
Path dataPath = fromURI;
Path tmpPath = tgtPath;
- // if move optimization is enabled, copy the files directly to the target
path. No need to create the staging dir.
+ // if acid tables, copy the files directly to the target path. No need to
create the staging dir.
LoadFileType loadFileType;
- if (replicationSpec.isInReplicationScope() &&
- context.hiveConf.getBoolVar(REPL_ENABLE_MOVE_OPTIMIZATION)) {
+ if (replicationSpec.isInReplicationScope() &&
AcidUtils.isTransactionalTable(table)) {
Review comment:
For tables irrespective of move optimization, move task is always
created and if its transactional tables, move task handles the case
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 503696)
Time Spent: 1h (was: 50m)
> Load partitions in parallel for managed tables in the bootstrap phase
> ---------------------------------------------------------------------
>
> Key: HIVE-24109
> URL: https://issues.apache.org/jira/browse/HIVE-24109
> Project: Hive
> Issue Type: Task
> Reporter: Aasha Medhi
> Assignee: Aasha Medhi
> Priority: Major
> Labels: pull-request-available
> Attachments: HIVE-24109.01.patch, HIVE-24109.02.patch,
> HIVE-24109.03.patch
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)