sankarh 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_r260730246
########## 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: Need to set it in bootstrap flow (FSTableEvent.java) as well. ---------------------------------------------------------------- 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