Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.99.6
-
None
-
None
Description
The test scenario is to export a mysql table into a Kite Avro dataset. The mysql table has a ID column INT(8). Sqoop will use FixedPoint in schema. Now extractor tries to read a Sqoop record (Object[] data) and make it a GenericRecord for Avro. As column[0] is FixedPoint, it is expected to be converted as an Avro's Long. Actually the type of data[0] is a Integer. Direct cast Integer to Long does not work. The issue also impacts Short and Byte.
Attachments
Issue Links
- relates to
-
SQOOP-2152 Sqoop2: Kite connector always assumes that FixedPoint is long regardless of the configured size
- Resolved