Skip to content

Commit bb0314d

Browse files
committed
Fixed python style
1 parent a6e2bb5 commit bb0314d

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

python/pyspark/sql/readwriter.py

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -505,12 +505,14 @@ def outputMode(self, outputMode):
505505
"""Specifies how data of a streaming DataFrame/Dataset is written to a streaming sink.
506506
507507
Options include:
508-
* `append`: only the new rows in the streaming DataFrame/Dataset will be written to
509-
the sink
510-
* `update`: only the changed rows in the streaming DataFrame/Dataset will be written to
511-
the sink every time there is some updates
512-
* `complete`: all the rows in the streaming DataFrame/Dataset will be written to the sink
513-
every time these is some updates
508+
509+
* `append`:Only the new rows in the streaming DataFrame/Dataset will be written to
510+
the sink
511+
* `update`:Only the changed rows in the streaming DataFrame/Dataset will be written to
512+
the sink every time there is some updates
513+
* `complete`:All the rows in the streaming DataFrame/Dataset will be written to the sink
514+
every time these is some updates
515+
514516
>>> sdf.write.outputMode('append')
515517
"""
516518
if outputMode is not None:

0 commit comments

Comments
 (0)