[ 
https://issues.apache.org/jira/browse/SPARK-15256?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nicholas Chammas updated SPARK-15256:
-------------------------------------
    Description: 
The doc for the {{properties}} parameter [currently 
reads|https://github.com/apache/spark/blob/d37c7f7f042f7943b5b684e53cf4284c601fb347/python/pyspark/sql/readwriter.py#L437-L439]:

{quote}
        :param properties: JDBC database connection arguments, a list of 
arbitrary string
                           tag/value. Normally at least a "user" and "password" 
property
                           should be included.
{quote}

This is incorrect, since {{properties}} is expected to be a dictionary.

Some of the other parameters have cryptic descriptions. I'll try to clarify 
those as well.

  was:
The doc for the {{properties}} parameter [currently 
reads|https://github.com/apache/spark/blob/d37c7f7f042f7943b5b684e53cf4284c601fb347/python/pyspark/sql/readwriter.py#L437-L439]:

{quote}
        :param properties: JDBC database connection arguments, a list of 
arbitrary string
                           tag/value. Normally at least a "user" and "password" 
property
                           should be included.
{quote}

This is incorrect, since {{properties}} is expected to be a dictionary.


> Clarify the docstring for DataFrameReader.jdbc()
> ------------------------------------------------
>
>                 Key: SPARK-15256
>                 URL: https://issues.apache.org/jira/browse/SPARK-15256
>             Project: Spark
>          Issue Type: Bug
>          Components: Documentation, PySpark
>    Affects Versions: 1.6.1
>            Reporter: Nicholas Chammas
>            Priority: Minor
>
> The doc for the {{properties}} parameter [currently 
> reads|https://github.com/apache/spark/blob/d37c7f7f042f7943b5b684e53cf4284c601fb347/python/pyspark/sql/readwriter.py#L437-L439]:
> {quote}
>         :param properties: JDBC database connection arguments, a list of 
> arbitrary string
>                            tag/value. Normally at least a "user" and 
> "password" property
>                            should be included.
> {quote}
> This is incorrect, since {{properties}} is expected to be a dictionary.
> Some of the other parameters have cryptic descriptions. I'll try to clarify 
> those as well.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to