DataStreamWriter.
format
Specifies the underlying output data source.
New in version 2.0.0.
string, name of the data source, which for now can be ‘parquet’.
Notes
This API is evolving.
Examples
>>> writer = sdf.writeStream.format('json')
previous
pyspark.sql.streaming.DataStreamWriter.foreachBatch
next
pyspark.sql.streaming.DataStreamWriter.option