HyukjinKwon commented on code in PR #46833:
URL: https://github.com/apache/spark/pull/46833#discussion_r1623706903


##########
python/docs/source/user_guide/sql/python_data_source.rst:
##########
@@ -311,6 +350,18 @@ Use the fake datasource with a different number of rows:
     # | Douglas James|2007-01-18|  46226|     Alabama|
     # +--------------+----------+-------+------------+
 
+Write to the fake datasource:
+
+To write data to a custom sink, make sure that you specify the `mode()` 
clause. Supported modes are `append` and `overwrite`.

Review Comment:
   ```suggestion
   To write data to a custom location, make sure that you specify the `mode()` 
clause. Supported modes are `append` and `overwrite`.
   ```
   
   Sink is actually use as a streaming term so I would avoid using it.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to