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

Jarek Jarcec Cecho commented on SQOOP-398:
------------------------------------------

Hi Miki,
we've introduced new parameter --map-column-java in version 1.4.0 that you can 
use for changing default type mapping to your own - in this case to double. 
Usage is simple:

sqoop .... --map-column-java myNumericColumn=Double ...

I'm not feeling comfortable with changing current implementation because it 
breaks backward compatibility for users that are fine with the default mapping 
to string (even thought that it's really strange).

Jarcec
                
> Sqoop to avro saves NUMERIC as strings
> --------------------------------------
>
>                 Key: SQOOP-398
>                 URL: https://issues.apache.org/jira/browse/SQOOP-398
>             Project: Sqoop
>          Issue Type: Bug
>            Reporter: Miki Tebeka
>             Fix For: 1.4.0-incubating
>
>
> When sqooping to Avro from PostgreSQL, NUMERIC columns are converted to 
> strings and not doubles.
> (Also posted [here|https://issues.cloudera.org/browse/DISTRO-341]).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to