Skip to content

Plugin implementing the support for Apache Parquet files (experimental)

License

Apache-2.0, Apache-2.0 licenses found

Licenses found

Apache-2.0
LICENSE
Apache-2.0
COPYING
Notifications You must be signed in to change notification settings

nextflow-io/nf-parquet

nf-parquet

Nextflow plugin for interacting with Apache Parquet files.

Usage

To use this plugin, simply specify it in your Nextflow configuration:

plugins {
    id 'nf-parquet'
}

Or on the command line:

nextflow run <pipeline> -plugins nf-parquet

This plugin provides two new operators:

splitParquet()

: Load each Parquet file in a source channel, emitting each row as a separate item.

Default method emits every row in the parquet file as a Map. In case you want to read only a subset of fields (a projection) you can provide a java Record class with the fields you want to read

record MyRecord( int id, String name){}

splitParquet( [record: MyRecord] )

toParquet( path )

: Write each item in a source channel to a Parquet file.

Development

Refer to the nf-hello README for instructions on how to build, test, and publish Nextflow plugins.

About

Plugin implementing the support for Apache Parquet files (experimental)

Resources

License

Apache-2.0, Apache-2.0 licenses found

Licenses found

Apache-2.0
LICENSE
Apache-2.0
COPYING

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published