(periodDay.getSeconds() * org.apache.drill.exec.expr.fn.impl.DateUtility.secondsToMillis) +
(periodDay.getMillis());
mapWriter.intervalDay(MappifyUtility.fieldValue).write(intervalDayHolder);
break;
case INTERVALYEAR:
IntervalYearHolder intervalYearHolder = new IntervalYearHolder();
Period periodYear = fieldReader.readPeriod();
intervalYearHolder.value = (periodYear.getYears() * org.apache.drill.exec.expr.fn.impl.DateUtility.yearsToMonths) + periodYear.getMonths();
mapWriter.intervalYear(MappifyUtility.fieldValue).write(intervalYearHolder);
break;
case FLOAT4: