dfr to-avro for dataframe

Saves dataframe to avro file.

Signature

> dfr to-avro (file) --compression

Parameters

  • file: file path to save dataframe
  • --compression {string}: use compression, supports deflate or snappy

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

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