You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Darren Tirto (Jira)" <ji...@apache.org> on 2019/08/19 21:45:00 UTC

[jira] [Created] (SPARK-28777) Pyspark sql function "format_string" has the wrong parameters in doc string

Darren Tirto created SPARK-28777:
------------------------------------

             Summary: 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


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