Write data to a parquet file.
function to_parquet(string|Path $path) : Loader
Additional options:
withOptions(\Flow\Parquet\Options $options)
- Options for the parquet writerwithCompression(Compressions $compression)
- defaultCompressions::SNAPPY
, supports one of the following CompressionswithSchema(Schema $schema)
- when provided writer will use this instead of inferring schema from each rows batch