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

[jira] [Created] (SPARK-5481) JdbcRDD requires JDBC 4 APIs, limiting compatible JDBC Drivers

vijay created SPARK-5481:
----------------------------

             Summary: 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org