Skip to content

write_parquet

Transforms event stream to a Parquet byte stream.

write_parquet [compression_level=int, compression_type=str]

Apache Parquet is a columnar storage format that a variety of data tools support.

An optional compression level for the corresponding compression type. This option is ignored if no compression type is specified.

Defaults to the compression type’s default compression level.

Specifies an optional compression type. Supported options are zstd for Zstandard compression, brotli for brotli compression, gzip for gzip compression, and snappy for snappy compression.

Write a Parquet file:

load_file "/tmp/data.json"
read_json
write_parquet

to_hive, read_parquet, write_bitz, write_feather