@Test
  public void testAcidLoadDataLocation() throws Exception {
    String[] testNames = new String[]{"acid_load_data.q"};

    File[] qfiles = setupQFiles(testNames);

    QTestUtil qt = new QTestUtil(QTestArguments.QTestArgumentsBuilder.instance()
            .withOutDir(resDir + "/llap")
            .withLogDir(logDir)
            .withClusterType(MiniClusterType.LLAP_LOCAL)
            .withConfDir(null)
            .withInitScript("")
            .withCleanupScript("")
            .withLlapIo(false)
            .build());

    HiveConf hiveConf = qt.getConf();
    TestTxnDbUtil.setConfValues(hiveConf);
    TestTxnDbUtil.cleanDb(hiveConf);
    TestTxnDbUtil.prepDb(hiveConf);
    qt.postInit();
    qt.newSession();
    qt.setInputFile(qfiles[0]);
    qt.clearTestSideEffects();

    boolean success = QTestRunnerUtils.queryListRunnerSingleThreaded(qfiles, new QTestUtil[]{qt});
    if (success) {
      IMetaStoreClient hmsClient = new HiveMetaStoreClient(hiveConf);
      Table table = hmsClient.getTable("default", "kv_mm");
      FileSystem fs = FileSystem.get(hiveConf);
      String location = table.getSd().getLocation();
      Path delta = fs.listStatus(new Path(location))[0].getPath();
      Assert.assertEquals("Delta directory name mismatch!", "delta_0000001_0000001_0000", delta.getName());
    } else {
      fail("One or more queries failed");
    }
  }
Verify the delta directory name of the load data inpath command for MM acid tables.
itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/TestLocationQueries.java