You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dmitry Mikhailov (JIRA)" <ji...@apache.org> on 2018/04/03 10:20:00 UTC

[jira] [Created] (SPARK-23856) Spark jdbc setQueryTimeout option

Dmitry Mikhailov created SPARK-23856:
----------------------------------------

             Summary: Spark jdbc setQueryTimeout option
                 Key: SPARK-23856
                 URL: https://issues.apache.org/jira/browse/SPARK-23856
             Project: Spark
          Issue Type: New Feature
          Components: SQL
    Affects Versions: 2.3.0
            Reporter: Dmitry Mikhailov


It would be nice if a user could set the jdbc setQueryTimeout option when running jdbc in Spark. I think it can be easily implemented by adding option field to _JDBCOptions_ class and applying this option when initializing jdbc statements in _JDBCRDD_ class. But only some DB vendors support this jdbc feature. Is it worth starting a work on this option?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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