Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Not A Problem
-
None
-
None
-
None
Description
Should Schema be passed over the wire along with the IDF data?
Related to matching as well, since we create matcher again in the SqoopOutputFormatExecutor
matcher = MatcherFactory.getMatcher(
MRConfigurationUtils.getConnectorSchema(Direction.FROM, context.getConfiguration()),
MRConfigurationUtils.getConnectorSchema(Direction.TO, context.getConfiguration()));
toDataFormat = (IntermediateDataFormat<?>) ClassUtils.instantiate(context
.getConfiguration().get(MRJobConstants.TO_INTERMEDIATE_DATA_FORMAT));
// Using the TO schema since the SqoopDataWriter in the SqoopMapper encapsulates the toDataFormat
toDataFormat.setSchema(matcher.getToSchema());
Attachments
Issue Links
- depends upon
-
SQOOP-1975 GenericArray and GenericRecord to store array and maps in avor IDF
- Resolved