You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2017/06/04 14:44:04 UTC

[jira] [Commented] (SPARK-20921) While reading from oracle database, it converts to wrong type.

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

Apache Spark commented on SPARK-20921:
--------------------------------------

User 'wangyum' has created a pull request for this issue:
https://github.com/apache/spark/pull/18195

> While reading from oracle database, it converts to wrong type.
> --------------------------------------------------------------
>
>                 Key: SPARK-20921
>                 URL: https://issues.apache.org/jira/browse/SPARK-20921
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.1.0
>            Reporter: vivek dixit
>
> While reading data from oracle using jdbc, it converts integer column to boolean. if it has the column size as one which is wrong. 
> https://github.com/apache/spark/commit/39a2b2ea74d420caa37019e3684f65b3a6fcb388#diff-edf9e48ce837c5f2a504428d9aa67970R46 this condition in oracledjdbcdialect is doing it. This has caused our data load process to fail. 



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org