presto-jdbc/src/main/java/io/prestosql/jdbc/PrestoResultSet.java/PrestoResultSet/getIntervalYearMonth
class PrestoResultSet:    private PrestoIntervalYearMonth getIntervalYearMonth(int columnIndex)
            throws SQLException
    {
        Object value = column(columnIndex);
        if (value == null) {
            return null;
        }

        return new PrestoIntervalYearMonth(IntervalYearMonth.parseMonths(String.valueOf(value)));
    }