dfr to-avro for dataframe
Saves dataframe to avro file.
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:
| input | output |
|---|---|
| any | any |
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