presto-thrift-api/src/main/java/io/prestosql/plugin/thrift/api/datatypes/PrestoThriftTimestamp.java/PrestoThriftTimestamp/toBlock
class PrestoThriftTimestamp:    @Override
    public Block toBlock(Type desiredType)
    {
        checkArgument(TIMESTAMP.equals(desiredType), "type doesn't match: %s", desiredType);
        int numberOfRecords = numberOfRecords();
        return new LongArrayBlock(
                numberOfRecords,
                Optional.ofNullable(nulls),
                timestamps == null ? new long[numberOfRecords] : timestamps);
    }