parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetInputSplit.java
static ParquetInputSplit from(org.apache.hadoop.mapred.FileSplit split) throws IOException {
    return new ParquetInputSplit(split.getPath(),
        split.getStart(), split.getStart() + split.getLength(),
        split.getLength(), split.getLocations(), null);
  }
static ParquetInputSplit from(org.apache.hadoop.mapred.FileSplit split) throws IOException {
    return new ParquetInputSplit(split.getPath(),
        split.getStart(), split.getStart() + split.getLength(),
        split.getLength(), split.getLocations(), null);
  }
Builds a {@code ParquetInputSplit} from a mapred
{@link org.apache.hadoop.mapred.FileSplit}.

@param split a mapred FileSplit
@return a ParquetInputSplit
@throws IOException if there is an error while creating the Parquet split