HyukjinKwon commented on a change in pull request #27553: [PYSPARK][DOCS]
[MINOR]Changed `:func:` to `:attr:` Sphinx roles, fixed links in documentation
of `Data{Frame,Stream}{Reader,Writer}`.
URL: https://github.com/apache/spark/pull/27553#discussion_r378601062
##########
File path: python/pyspark/sql/readwriter.py
##########
@@ -616,7 +616,7 @@ def jdbc(self, url, table, column=None, lowerBound=None,
upperBound=None, numPar
class DataFrameWriter(OptionUtils):
"""
Interface used to write a :class:`DataFrame` to external storage systems
- (e.g. file systems, key-value stores, etc). Use :func:`DataFrame.write`
+ (e.g. file systems, key-value stores, etc). Use :attr:`DataFrame.write`
Review comment:
Why is this `attr`? Technically this should be `meth`. Can you double check
the generated documentation is correct? You can check via `cd python/docs &&
make clean html`
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]