presto-main/src/main/java/io/prestosql/operator/aggregation/IntervalYearToMonthAverageAggregation.java/IntervalYearToMonthAverageAggregation/input
class IntervalYearToMonthAverageAggregation:    @InputFunction
    public static void input(LongAndDoubleState state, @SqlType(StandardTypes.INTERVAL_YEAR_TO_MONTH) long value)
    {
        state.setLong(state.getLong() + 1);
        state.setDouble(state.getDouble() + value);
    }