You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2015/03/03 01:04:06 UTC

[jira] [Commented] (SPARK-6124) Support jdbc connection properties in OPTIONS part of the query

    [ https://issues.apache.org/jira/browse/SPARK-6124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14344071#comment-14344071 ] 

Apache Spark commented on SPARK-6124:
-------------------------------------

User 'vlyubin' has created a pull request for this issue:
https://github.com/apache/spark/pull/4859

> Support jdbc connection properties in OPTIONS part of the query
> ---------------------------------------------------------------
>
>                 Key: SPARK-6124
>                 URL: https://issues.apache.org/jira/browse/SPARK-6124
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>            Reporter: Volodymyr Lyubinets
>            Priority: Minor
>
> We would like to make it possible to specify connection properties in OPTIONS part of the sql query that uses jdbc driver. For example:
> CREATE TEMPORARY TABLE abc
> USING org.apache.spark.sql.jdbc
> OPTIONS (url '$url', dbtable '(SELECT _ROWID_ FROM test.people)', user 'testUser', password 'testPass')
> To do this, we will do minor changes in JDBCRelation and JDBCRDD.



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

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