[ 
https://issues.apache.org/jira/browse/SPARK-19392?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15878598#comment-15878598
 ] 

Sean Owen commented on SPARK-19392:
-----------------------------------

It's because SPARK-16625 was back-ported to the 1.6.x release in CDH, I guess 
because of a customer problem.
It's at 
https://github.com/apache/spark/blob/39e2bad6a866d27c3ca594d15e574a1da3ee84cc/sql/core/src/main/scala/org/apache/spark/sql/jdbc/OracleDialect.scala#L33

I could easily back-port SPARK-16625 to 2.0.x and 1.6.x upstream. I don't think 
there was a particular reason it wasn't, so I'll ask if there are any 
objections and then do so.

> Throw an exception "NoSuchElementException: key not found: scale" in 
> OracleDialect
> ----------------------------------------------------------------------------------
>
>                 Key: SPARK-19392
>                 URL: https://issues.apache.org/jira/browse/SPARK-19392
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.1.0
>            Reporter: Takeshi Yamamuro
>            Priority: Minor
>
> In OracleDialect, if you use Numeric types in `DataFrameWriter` with Oracle 
> jdbc, this throws an exception below;
> {code}
>   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)
> {code}
> This ticket comes from 
> https://www.mail-archive.com/[email protected]/msg61280.html.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to