void createTableWithoutBucketWithMultipleSplits(String dbName, String tblName, String tempTblName,
        boolean createDeletes, boolean createInserts, boolean insertOverwrite) throws Exception {
      if (dbName != null) {
        tblName = dbName + "." + tblName;
        tempTblName = dbName + "." + tempTblName;
      }
      dropTables(driver, tblName);
      
      StringBuilder query = new StringBuilder();
      query.append("create table ").append(tblName).append(" (a string, b string, c string)");
      query.append(" stored as orc");
      query.append(" TBLPROPERTIES('transactional'='true',");
      query.append(" 'transactional_properties'='default')");
      executeStatementOnDriver(query.toString(), driver);

      generateInsertsWithMultipleSplits(0, 100, tblName, tempTblName + "_1", insertOverwrite);

      if (createDeletes) {
        executeStatementOnDriver("delete from " + tblName + " where a in ('41','87','53','11')", driver);
        executeStatementOnDriver("delete from " + tblName + " where a in ('42','88','81','12','86')", driver);
        executeStatementOnDriver("delete from " + tblName + " where a in ('98')", driver);
        executeStatementOnDriver("delete from " + tblName + " where a in ('40')", driver);
      }

      if (createInserts) {
        generateInsertsWithMultipleSplits(100, 250, tblName, tempTblName + "_2", false);
        generateInsertsWithMultipleSplits(300, 318, tblName, tempTblName + "_3", false);
        generateInsertsWithMultipleSplits(400, 410, tblName, tempTblName + "_4", false);
      }
    }
This method is for creating a non-bucketed table in which the data is distributed
into multiple splits. The initial data is 100 rows and it should be split into
multiple files, like bucket_000001, bucket_000002, ...
This is needed because the MINOR compactions had issues with tables like this. (HIVE-23763)
@param dbName
@param tblName
@param tempTblName
@param createDeletes
@param createInserts
@param insertOverwrite
@throws Exception
itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/txn/compactor/CompactorOnTezTest.java