You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Xiao Li (JIRA)" <ji...@apache.org> on 2018/05/18 20:45:00 UTC
[jira] [Resolved] (SPARK-23856) Spark jdbc setQueryTimeout option
[ https://issues.apache.org/jira/browse/SPARK-23856?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xiao Li resolved SPARK-23856.
-----------------------------
Resolution: Fixed
Assignee: Takeshi Yamamuro
Fix Version/s: 2.4.0
> 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
> Assignee: Takeshi Yamamuro
> Priority: Minor
> Fix For: 2.4.0
>
>
> 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