getBaseRecordWriter(taskAttemptContext, baseOutputFormat);
// CHECKSTYLE: resume LineLength
StructObjectInspector soi = Inspectors.createFor(oti.getColumnInfo());
HiveApiRecordWriter arw =
new HiveApiRecordWriter(baseWriter, serializer, soi);
return arw;
}