public static HadoopInputFile fromLocation(
      CharSequence location, long length, Configuration conf) {
    FileSystem fs = Util.getFs(new Path(location.toString()), conf);
    if (length > 0) {
      return new HadoopInputFile(fs, location.toString(), length, conf);
    } else {
      return new HadoopInputFile(fs, location.toString(), conf);
    }
  }
{@link InputFile} implementation using the Hadoop {@link FileSystem} API.

<p>This class is based on Parquet's HadoopInputFile.
iceberg/patched-iceberg-core/src/main/java/org/apache/iceberg/hadoop/HadoopInputFile.java