You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yuming Wang (JIRA)" <ji...@apache.org> on 2017/09/15 06:00:00 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=16167373#comment-16167373 ]
Yuming Wang commented on SPARK-20921:
-------------------------------------
Fixed by https://github.com/apache/spark/pull/18266.
> 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.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org