WarehouseInstance.Tuple prepareDataAndDump(String primaryDbName,
                                                     List<String> withClause) throws Throwable {
    prepareAcidData(primaryDbName);
    prepareNonAcidData(primaryDbName);
    return primary.run("use " + primaryDbName)
            .dump(primaryDbName, withClause != null ?
                    withClause : Collections.emptyList());
  }
TestReplicationScenariosAcidTablesBase - base class for replication for ACID tables tests
itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/parse/BaseReplicationScenariosAcidTables.java