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

Takeshi Yamamuro commented on SPARK-23856:
------------------------------------------

It sounds some reasonable to me. It seems there is no limit for jdbc by 
default, so it would be nice to set reasonable default timeout values by 
referring the other timeout values in spark (e.g., spark.network.timeout). cc: 
[~smilegator]

Could you make a pr? [~dmitrymikhailov]

> 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
>            Priority: Minor
>
> 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to