You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (Jira)" <ji...@apache.org> on 2019/08/20 03:47:00 UTC
[jira] [Resolved] (SPARK-28777) Pyspark sql function
"format_string" has the wrong parameters in doc string
[ https://issues.apache.org/jira/browse/SPARK-28777?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dongjoon Hyun resolved SPARK-28777.
-----------------------------------
Fix Version/s: 2.4.4
2.3.4
3.0.0
Resolution: Fixed
Issue resolved by pull request 25506
[https://github.com/apache/spark/pull/25506]
> Pyspark sql function "format_string" has the wrong parameters in doc string
> ---------------------------------------------------------------------------
>
> Key: SPARK-28777
> URL: https://issues.apache.org/jira/browse/SPARK-28777
> Project: Spark
> Issue Type: Documentation
> Components: PySpark
> Affects Versions: 2.4.3
> Reporter: Darren Tirto
> Assignee: Darren Tirto
> Priority: Minor
> Fix For: 3.0.0, 2.3.4, 2.4.4
>
>
> The pyspark sql function "format_string" has a function declaration of "_*def _format_string_(_format_, _*__cols_):*"_ However, the function's doc strings describes the parameters as:
>
> {code:java}
> :param col: the column name of the numeric value to be formatted
> :param d: the N decimal places
> {code}
>
> We want to update the doc string to accurately describe the parameters.
--
This message was sent by Atlassian Jira
(v8.3.2#803003)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org