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

Reply via email to