Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
ParquetReader
✓ org.apache.parquet.hadoop.ParquetReader
Reads a Parquet file using the ParquetReader.
import org.apache.parquet.hadoop.ParquetReader;
import org.apache.parquet.hadoop.example.GroupReadSupport;
import org.apache.hadoop.fs.Path;
public class ReadParquet {
public static void main(String[] args) throws Exception {
Path path = new Path("data.parquet");
ParquetReader<org.apache.parquet.example.data.Group> reader = ParquetReader
.builder(new GroupReadSupport(), path)
.build();
org.apache.parquet.example.data.Group record;
while ((record = reader.read()) != null) {
System.out.println(record);
}
reader.close();
}
}
Debug
Known issues
No known issues recorded.
Audit
Dependencies
No dependency data recorded yet.