DataStreamWriter.
outputMode
Specifies how data of a streaming DataFrame/Dataset is written to a streaming sink.
Options include: append: Only the new rows in the streaming DataFrame/Dataset will be written tothe sink complete: All the rows in the streaming DataFrame/Dataset will be written to the sinkevery time these is some updates update: only the rows that were updated in the streaming DataFrame/Dataset will bewritten to the sink every time there are some updates. If the query doesn’t contain aggregations, it will be equivalent to append mode.
Options include:
the sink
every time these is 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.
Note
Evolving.
>>> writer = sdf.writeStream.outputMode('append')
New in version 2.0.