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