[ 
https://issues.apache.org/jira/browse/HIVE-21314?focusedWorklogId=204057&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-204057
 ]

ASF GitHub Bot logged work on HIVE-21314:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 26/Feb/19 04:05
            Start Date: 26/Feb/19 04:05
    Worklog Time Spent: 10m 
      Work Description: maheshk114 commented on pull request #549: HIVE-21314 : 
Hive Replication not retaining the owner in the replicated table
URL: https://github.com/apache/hive/pull/549#discussion_r260118313
 
 

 ##########
 File path: 
ql/src/java/org/apache/hadoop/hive/ql/parse/ImportSemanticAnalyzer.java
 ##########
 @@ -316,6 +316,7 @@ public static boolean prepareImport(boolean isImportCmd,
       }
       inReplicationScope = true;
       tblDesc.setReplWriteId(writeId);
+      tblDesc.setOwnerName(tblObj.getOwner());
 
 Review comment:
   its done only for repl flow 
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 204057)
    Time Spent: 1h 40m  (was: 1.5h)

> Hive Replication not retaining the owner in the replicated table
> ----------------------------------------------------------------
>
>                 Key: HIVE-21314
>                 URL: https://issues.apache.org/jira/browse/HIVE-21314
>             Project: Hive
>          Issue Type: Bug
>            Reporter: mahesh kumar behera
>            Assignee: mahesh kumar behera
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: HIVE-21314.01.patch
>
>          Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> Hive Replication not retaining the owner in the replicated table. The owner 
> for the target table is set same as the user executing the load command. The 
> user information should be read from the dump metadata and should be used 
> while creating the table at target cluster.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to