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

Sean Owen commented on SPARK-5481:
----------------------------------

Given that JDBC 4 was introduced 9 years ago, are there JDBC 3 drivers really 
in any common use today?

> JdbcRDD requires JDBC 4 APIs, limiting compatible JDBC Drivers
> --------------------------------------------------------------
>
>                 Key: SPARK-5481
>                 URL: https://issues.apache.org/jira/browse/SPARK-5481
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 1.2.0
>            Reporter: vijay
>
> JdbcRDD makes unnecessary use of JDBC 4 APIs.  To maintain broad jdbc driver 
> support, Spark should support JDBC 3.
> The issue is calling isClosed() prior to closing JDBC object.  isClosed() is 
> part of JDBC 4.  It is perfectly safe to close something that is already 
> closed - this may throw an exception (which is caught) but has no negative 
> side affects.



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

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

Reply via email to