public static void assertWriteConsistentFilesName(SupportHive table, List<DataFile> files) {
    boolean consistentWriteEnabled =
        PropertyUtil.propertyAsBoolean(
            table.properties(),
            HiveTableProperties.HIVE_CONSISTENT_WRITE_ENABLED,
            HiveTableProperties.HIVE_CONSISTENT_WRITE_ENABLED_DEFAULT);
    String hiveLocation = table.hiveLocation();
    for (DataFile f : files) {
      String filename = TableFileUtil.getFileName(f.path().toString());
      if (isHiveFile(hiveLocation, f)) {
        Assert.assertEquals(consistentWriteEnabled, filename.startsWith("."));
      } else {
        Assert.assertFalse(filename.startsWith("."));
      }
    }
  }
Assert the consistent-write process, with this parameter enabled, the written file is a hidden
file.
amoro-format-mixed/amoro-mixed-hive/src/test/java/org/apache/amoro/hive/io/HiveDataTestHelpers.java