anishek commented on a change in pull request #549: HIVE-21314 : Hive 
Replication not retaining the owner in the replicated table
URL: https://github.com/apache/hive/pull/549#discussion_r259811426
 
 

 ##########
 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:
   have to see if this works for import/export user case where the ownership 
required might be different that the replication use case.

----------------------------------------------------------------
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


With regards,
Apache Git Services

Reply via email to