case DATE: {
DateWriter writer = type.getRepetition() == Repetition.REPEATED ? mapWriter.list(name).date() : mapWriter.date(name);
return new DrillDateConverter(writer);
}
case TIME_MILLIS: {
TimeWriter writer = type.getRepetition() == Repetition.REPEATED ? mapWriter.list(name).time() : mapWriter.time(name);
return new DrillTimeConverter(writer);
}
default: {
throw new UnsupportedOperationException("Unsupported type: " + type.getOriginalType());
}