sqoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Radhakrishnan Iyer" <radhakrishnan.i...@citiustech.com>
Subject Number format conversion
Date Mon, 18 Jan 2016 13:40:23 GMT
A Number is source table is getting converted to Double in Hive while
performing sqoop import

Eg: 123456 in source is 123456.0 in Hive.

 

If the number's length is increased > 6, then it is saved in different
format in Hive.

Eg: 12345678 in Source table is populated as 1.2345678E7 in Hive.

 

 

Is there any provision in sqoop to avoid this conversion?

 

 

Best Regards,

Radhakrishnan

 




===========================================================================================================================================================================================
DISCLAIMER:
The information contained in this message (including any attachments) is confidential and
may be privileged. If you have received it by mistake please notify the sender by return e-mail
and permanently delete this message and any attachments from your system. Any dissemination,
use, review, distribution, printing or copying of this message in whole or in part is strictly
prohibited. Please note that e-mails are susceptible to change. CitiusTech shall not be liable
for the improper or incomplete transmission of the information contained in this communication
nor for any delay in its receipt or damage to your system. CitiusTech does not guarantee that
the integrity of this communication has been maintained or that this communication is free
of viruses, interceptions or interferences. 
====================================================================================================================================================================

Mime
View raw message