maheshk114 commented on a change in pull request #617: HIVE-21679: Replicating 
a CTAS event creating an MM table fails.
URL: https://github.com/apache/hive/pull/617#discussion_r281610298
 
 

 ##########
 File path: 
itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/parse/TestReplicationScenariosAcidTables.java
 ##########
 @@ -662,4 +662,40 @@ public void testMultiDBTxn() throws Throwable {
     replica.run("drop database " + dbName1 + " cascade");
     replica.run("drop database " + dbName2 + " cascade");
   }
+
+  @Test
+  public void testCtasMmTable() throws Throwable {
+    String tableName = testName.getMethodName();
+    String[] resultArray = new String[]{ "1", "3" };
+    String tableProperties = "\"transactional\"=\"true\", 
\"transactional_properties\"=\"insert_only\"";
+
+    // Create a non-acid table and replicate it.
+    WarehouseInstance.Tuple bootStrapDump = primary.run("use " + primaryDbName)
+            .run("create table t1_nonacid (a int, b int)")
 
 Review comment:
   i think this test case is already there in test replication acid table 
incremental load ..just need to change the table property 

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


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to