sankarh commented on a change in pull request #588: HIVE-20968 : Support conversion of managed to external where location set was not owned by hive URL: https://github.com/apache/hive/pull/588#discussion_r273403978
########## File path: itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/parse/TestReplicationWithTableMigration.java ########## @@ -427,4 +430,67 @@ public void testIncrementalLoadMigrationToAcidWithMoveOptimization() throws Thro replica.load(replicatedDbName, tuple.dumpLocation, withConfigs); verifyLoadExecution(replicatedDbName, tuple.lastReplicationId); } + + private boolean isExternal(Table table) { + return "TRUE".equalsIgnoreCase(table.getParameters().get("EXTERNAL")); + } + + @Test + public void testMigrarionLocationOwnership() throws Throwable { + primary.run("use " + primaryDbName) + .run("create table tbl (fld int)") Review comment: Shall create one of the table as ORC table. ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For additional commands, e-mail: gitbox-h...@hive.apache.org