Registry / serialization / parquet-avro

parquet-avro

JSON →
library1.17.1javamavenunverified

Parquet is a columnar storage format that supports nested data; this module provides Avro integration for reading and writing Parquet files.

<dependency> <groupId>org.apache.parquet</groupId> <artifactId>parquet-avro</artifactId> <version>1.17.1</version> </dependency>
INSTALL
IMPORT
SIG · PARQUET-AVRO
P
parquet-avro
serializationjavav1.17.1
harness data pending
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.

AvroParquetReader
org.apache.parquet.avro.AvroParquetReader

Read a Parquet file using Avro schema

import org.apache.parquet.avro.AvroParquetReader; import org.apache.hadoop.fs.Path; public class Example { public static void main(String[] args) throws Exception { Path path = new Path("data.parquet"); AvroParquetReader<Object> reader = new AvroParquetReader<>(path); Object record = reader.read(); reader.close(); } }
Debug
Known issues
gotchaParquet Avro requires Hadoop dependencies on classpath
fix
Add hadoop-common and hadoop-client to your project dependencies
affects: all
Upgrade
Version history
1.17.1latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
parquet-avro — mvn dependency:get parquet-avro · libregistry