dfr to-avro for dataframe

Saves dataframe to avro file.

WARNING

Dataframe commands were not shipped in the official binaries by default, you have to build it with --features=dataframe flag

Signature

> dfr to-avro {flags} (file)

Flags

  • --compression, -c {string}: use compression, supports deflate or snappy

Parameters

  • file: file path to save dataframe

Input/output types:

inputoutput
anyany

Examples

Saves dataframe to avro file

> [[a b]; [1 2] [3 4]] | dfr into-df | dfr to-avro test.avro