Nicholas Chammas created SPARK-15256:
----------------------------------------
Summary: Correct 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]