GitHub user maropu opened a pull request: https://github.com/apache/spark/pull/16733
[SPARK-19392][SQL] Fix the bug that throws an exception when using numeric types in Oracle JDBC ## What changes were proposed in this pull request? In OracleDialect, if you use Numeric types in Oracle JDBC, this throws an exception below; ``` java.util.NoSuchElementException: key not found: scale at scala.collection.MapLike$class.default(MapLike.scala:228) at scala.collection.AbstractMap.default(Map.scala:59) at scala.collection.MapLike$class.apply(MapLike.scala:141) ``` This ticket comes from https://www.mail-archive.com/user@spark.apache.org/msg61280.html. ## How was this patch tested? Added a test in `JDBCSuite`. You can merge this pull request into a Git repository by running: $ git pull https://github.com/maropu/spark SPARK-19392 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/16733.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #16733 ---- commit 0bfef778821ca0f222c90ccbc253e07b188f67f9 Author: Takeshi YAMAMURO <linguin....@gmail.com> Date: 2017-01-29T06:35:46Z Fix the issue that throws an exception when using numeric types in Oracle jdbc ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org