presto-main/src/main/java/io/prestosql/type/JoniRegexpType.java/JoniRegexpType/createBlockBuilder
class JoniRegexpType:    @Override
    public BlockBuilder createBlockBuilder(BlockBuilderStatus blockBuilderStatus, int expectedEntries, int expectedBytesPerEntry)
    {
        throw new PrestoException(GENERIC_INTERNAL_ERROR, "RegExp type cannot be serialized");
    }