[
https://issues.apache.org/jira/browse/SPARK-62115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hyukjin Kwon resolved SPARK-62115.
----------------------------------
Fix Version/s: connect-rust-4.4.0
Resolution: Fixed
Issue resolved by pull request 899
[https://github.com/apache/spark-connect-rust/pull/899]
> Give the Connect DataFrame and the classic pyspark.sql.DataFrame PySpark's
> docstrings as help() shows them
> ----------------------------------------------------------------------------------------------------------
>
> Key: SPARK-62115
> URL: https://issues.apache.org/jira/browse/SPARK-62115
> Project: Spark
> Issue Type: Improvement
> Components: Connect
> Affects Versions: 5.0.0
> Reporter: Hyukjin Kwon
> Assignee: Hyukjin Kwon
> Priority: Major
> Labels: pull-request-available
> Fix For: connect-rust-4.4.0
>
>
> help() and inspect.getdoc of the Connect DataFrame of the Python client
> (pyspark-client-rust), and of the classic pyspark.sql.DataFrame and its na
> and stat classes, do not show PySpark's docstrings. In pyspark-client 4.3.0
> the native members show the docstrings of the classic classes, through
> inheritance, and the modules have PySpark's module docstrings.
> Expected: the DataFrame class of pyspark.sql.connect.dataframe, the classic
> public base in pyspark/sql/dataframe.py, the two module docstrings and the
> classic copies of the Na and Stat members carry PySpark's docstrings, as
> help() shows them in pyspark-client 4.3.0, which the runtime docstring golden
> then covers.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]