DataStreamWriter.
outputMode
Specifies how data of a streaming DataFrame/Dataset is written to a streaming sink.
New in version 2.0.0.
Options include:
the sink
every time these are some updates
written to the sink every time there are some updates. If the query doesn’t contain aggregations, it will be equivalent to append mode.
Notes
This API is evolving.
Examples
>>> writer = sdf.writeStream.outputMode('append')