You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by "VISHNU S NAIR (JIRA)" <ji...@apache.org> on 2016/07/08 07:18:11 UTC

[jira] [Commented] (SQOOP-2979) Oracle direct mode do not allow FLOAT data type (java.lang.ClassCastException: java.lang.Double cannot be cast to java.math.BigDecimal)

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

VISHNU S NAIR commented on SQOOP-2979:
--------------------------------------

Hi Senthil,

Could you please share the full stack trace of the error

> Oracle direct mode do not allow FLOAT data type (java.lang.ClassCastException: java.lang.Double cannot be cast to java.math.BigDecimal)
> ---------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SQOOP-2979
>                 URL: https://issues.apache.org/jira/browse/SQOOP-2979
>             Project: Sqoop
>          Issue Type: Bug
>          Components: connectors
>    Affects Versions: 1.4.6
>            Reporter: Senthil Ganesh
>            Assignee: VISHNU S NAIR
>             Fix For: 1.4.7
>
>
> Using --direct option with Oracle table having float data type sees below exception:
> Error: java.io.IOException: java.sql.SQLException: java.lang.ClassCastException: java.lang.Double cannot be cast to java.math.BigDecimal



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)