Re: Why code is failing to connect to Oracle DB in 3.1.1 through JDBC with Scala

2021-03-22 Thread Mich Talebzadeh
I sorted this one out. It was caused by mismatch between Spark 3.1.1 using scala 2.1.2 and the old scala 2.1.1 packages view my Linkedin profile *Disclaimer:* Use it at your own risk. Any and all responsibility for any loss, damag

Why code is failing to connect to Oracle DB in 3.1.1 through JDBC with Scala

2021-03-22 Thread Mich Talebzadeh
Hi, The error is in Spark 3.1.1 with Scala The JDBC connection used to work fine in spark-2.4.3 val s = HiveContext.read.format("jdbc").options( Map("url" -> url, "dbtable" -> _dbtable, "user" -> _username, "password" -> _password)).load However, in 3.1.1 it is faili