You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by "Ying Cao (JIRA)" <ji...@apache.org> on 2016/11/30 04:19:58 UTC
[jira] [Commented] (SQOOP-3059) sqoop import into hive converting
decimals to decimals
[ https://issues.apache.org/jira/browse/SQOOP-3059?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15707481#comment-15707481 ]
Ying Cao commented on SQOOP-3059:
---------------------------------
[~bleeapache]
[~usblee]
I found the decimal type mapping is invoked by SQOOP-380, do you have any suggestion for mapping of decimal? By default it will converting to double. Thanks
> sqoop import into hive converting decimals to decimals
> ------------------------------------------------------
>
> Key: SQOOP-3059
> URL: https://issues.apache.org/jira/browse/SQOOP-3059
> Project: Sqoop
> Issue Type: Improvement
> Components: hive-integration
> Environment: Redhat 6.6, Sqoop 1.4.6
> Reporter: Ying Cao
> Priority: Minor
>
> By default sqoop import into hive converting decimals to double, Decimal type provide more accurate values wider range than Double, so by default way some data will be truncated.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)