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

Veena Basavaraj commented on SQOOP-2022:
----------------------------------------

The fix is still incomplete, the code also need to handle the signed / unsigned 
parts.

So if the schema says 

FixedPoint- signed then maxSize for Integer is INTEGER.size/ BYTES.size

FixedPoint- unsigned then maxSize for Integer is (INTEGER.size/ BYTES.size)*2

Similarly for float. We should handle the signed/ unsigned


> SqoopIDFUtils uses bit size instead of byteSize to check for 
> INT/LONG/FLOAT/Double
> ----------------------------------------------------------------------------------
>
>                 Key: SQOOP-2022
>                 URL: https://issues.apache.org/jira/browse/SQOOP-2022
>             Project: Sqoop
>          Issue Type: Bug
>            Reporter: Veena Basavaraj
>            Assignee: Veena Basavaraj
>             Fix For: 1.99.5
>
>         Attachments: SQOOP-2022.patch
>
>
> From SQOOP-2018, [~stanleyxu2005] found a good issue we have where we use BIT 
> SIZE instead of BYTE size. we have to fix this.



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

Reply via email to