presto-thrift-api/src/main/java/io/prestosql/plugin/thrift/api/datatypes/PrestoThriftDate.java/PrestoThriftDate/fromRecordSetColumn
class PrestoThriftDate:    public static PrestoThriftBlock fromRecordSetColumn(RecordSet recordSet, int columnIndex, int totalRecords)
    {
        return fromIntBasedColumn(recordSet, columnIndex, totalRecords, (nulls, ints) -> dateData(new PrestoThriftDate(nulls, ints)));
    }