[
https://issues.apache.org/jira/browse/HIVE-24117?focusedWorklogId=478885&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-478885
]
ASF GitHub Bot logged work on HIVE-24117:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 04/Sep/20 01:50
Start Date: 04/Sep/20 01:50
Worklog Time Spent: 10m
Work Description: aasha commented on a change in pull request #1467:
URL: https://github.com/apache/hive/pull/1467#discussion_r483341397
##########
File path:
ql/src/java/org/apache/hadoop/hive/ql/parse/ImportSemanticAnalyzer.java
##########
@@ -1192,6 +1192,10 @@ private static void createReplImportTasks(
// have been already created when replaying previous events. So no need
to create table
// again.
if (x.getEventType() != DumpType.EVENT_COMMIT_TXN) {
+ //Don't set location for managed tables while creating the table.
+ if (x.getEventType() == DumpType.EVENT_CREATE_TABLE &&
!tblDesc.isExternal()) {
Review comment:
For external table, we can still set location. Managed tables are hive
managed. So this is not allowed.
----------------------------------------------------------------
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: 478885)
Time Spent: 0.5h (was: 20m)
> Fix for not setting managed table location in incremental load
> --------------------------------------------------------------
>
> Key: HIVE-24117
> URL: https://issues.apache.org/jira/browse/HIVE-24117
> Project: Hive
> Issue Type: Task
> Reporter: Aasha Medhi
> Assignee: Aasha Medhi
> Priority: Major
> Labels: pull-request-available
> Attachments: HIVE-24117.01.patch
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)