Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
At this point, we do not see the HDFS Connector sending BigDecimal for objects that are Sqoop Decimal type, as we prescribe JODA for date objects, we need BigDecimal for decimal objects.
writeSting is fine, but writeArray needs to according sqoop object format.
code to be fixed
rowsRead++; if (HdfsUtils.hasCustomFormat(linkConfiguration, fromJobConfiguration)) { dataWriter.writeArrayRecord(HdfsUtils.formatRecord(linkConfiguration, fromJobConfiguration, line.toString())); } else { dataWriter.writeStringRecord(line.toString()); } }
Attachments
Issue Links
- is a clone of
-
SQOOP-2035 Sqoop2: KiteConnector From side need to send BigDecimal for decimal type and JODA for date type in Object array
- Open
- is blocked by
-
SQOOP-2189 Sqoop2: Failed to export date column
- Resolved
- is cloned by
-
SQOOP-2038 Sqoop2: HDFSConnector From side should ensure writeString(text) is in sqoop CSV format
- Resolved