use of org.apache.parquet.cli.util.SeekableFSDataInputStream in project parquet-mr by apache.
the class BaseCommand method openSeekable.
public SeekableInput openSeekable(String filename) throws IOException {
Path path = qualifiedPath(filename);
// even though it was qualified using the default FS, it may not be in it
FileSystem fs = path.getFileSystem(getConf());
return new SeekableFSDataInputStream(fs, path);
}
Aggregations