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

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

Volodymyr Lyubinets created SPARK-6124:
------------------------------------------

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