Details
-
New Feature
-
Status: Open
-
Trivial
-
Resolution: Unresolved
-
1.4.6
-
None
-
None
Description
A column defined as TIMESTAMP(6) will lose it's tailing zeros when imported in HDFS:
Example, the following data with TIMESTAMP(6) data type:
2009-11-05 19:01:59.120000
2009-11-05 19:01:59.000000
will become
2009-11-05 19:01:59.12
2009-11-05 19:01:59.0
respectively.
I understand that the values are actually the same as before and we just get rid of tailing zeros, however, in some cases we might need to preserve the tailing zeros.
It would be good that Sqoop can leave the data as it is in the original database after imported in HDFS