static void cleanupTableObjectFile(String location, Configuration configuration) {
    String tableObjectLocation = HiveTableUtil.generateTableObjectLocation(location, configuration);
    try {
      Path toDelete = new Path(tableObjectLocation);
      FileSystem fs = Util.getFs(toDelete, configuration);
      fs.delete(toDelete, true);
    } catch (IOException ex) {
      throw new UncheckedIOException(ex);
    }
  }
Import files from given partitions to an Iceberg table.
@param sourceLocation location of the HMS table
@param format inputformat class name of the HMS table
@param partitionSpecProxy  list of HMS table partitions wrapped in partitionSpecProxy
@param partitionKeys list of partition keys
@param icebergTableProperties destination iceberg table properties
@param conf a Hadoop configuration
iceberg/iceberg-handler/src/main/java/org/apache/iceberg/mr/hive/HiveTableUtil.java