-
- Downloads
[SPARK-10855] [SQL] Add a JDBC dialect for Apache Derby
marmbrus rxin This patch adds a JdbcDialect class, which customizes the datatype mappings for Derby backends. The patch also adds unit tests for the new dialect, corresponding to the existing tests for other JDBC dialects. JDBCSuite runs cleanly for me with this patch. So does JDBCWriteSuite, although it produces noise as described here: https://issues.apache.org/jira/browse/SPARK-10890 This patch is my original work, which I license to the ASF. I am a Derby contributor, so my ICLA is on file under SVN id "rhillegas": http://people.apache.org/committer-index.html Touches the following files: --------------------------------- org.apache.spark.sql.jdbc.JdbcDialects Adds a DerbyDialect. --------------------------------- org.apache.spark.sql.jdbc.JDBCSuite Adds unit tests for the new DerbyDialect. Author: Rick Hillegas <rhilleg@us.ibm.com> Closes #8982 from rick-ibm/b_10855.
Showing
- sql/core/src/main/scala/org/apache/spark/sql/jdbc/JdbcDialects.scala 28 additions, 0 deletions...c/main/scala/org/apache/spark/sql/jdbc/JdbcDialects.scala
- sql/core/src/test/scala/org/apache/spark/sql/jdbc/JDBCSuite.scala 13 additions, 1 deletion.../src/test/scala/org/apache/spark/sql/jdbc/JDBCSuite.scala
Please register or sign in to comment