public static String tableRootLocation(MixedTable mixedTable) {
    String tableRootLocation;
    if (!TableFormat.ICEBERG.equals(mixedTable.format()) && mixedTable.isUnkeyedTable()) {
      tableRootLocation = TableFileUtil.getFileDir(mixedTable.location());
    } else {
      tableRootLocation = mixedTable.location();
    }
    return tableRootLocation;
  }
Return the table root location of the mixed-format table.
amoro-format-iceberg/src/main/java/org/apache/amoro/utils/MixedTableUtil.java