### Description

Our blocks#equals implementation checks only the content and skips a trivial identity check.

x-pack/plugin/esql/compute/src/main/generated-src/org/elasticsearch/compute/data/BytesRefBlock.java
*
     * @param valueIndex the value index
     * @param dest the destination
     * @return the data value (as a BytesRef)
     */
    BytesRef getBytesRef(int valueIndex, BytesRef dest);
    @Override
    BytesRefVector asVector();
    @Override
    BytesRefBlock filter(int... positions);
    @Override
    default String getWriteableName() {
        return "BytesRefBlock";
    }
    NamedWriteableRegistry.Entry ENTRY = new NamedWriteableRegistry.Entry(Block.class, "BytesRefBlock", BytesRefBlock::readFrom);
    private static BytesRefBlock readFrom(StreamInput in) throws IOException {
        return readFrom((BlockStreamInput) in);
    }
    private static BytesRefBlock readFrom(BlockStreamInput in) throws IOException {
        final boolean isVector = in.readBoolean();
        if (isVector) {
            return BytesRefVector.readFrom(in.blockFactory(), in).asBlock();
        }
        final int positions = in.readVInt();
        try (BytesRefBlock.Builder builder = in.blockFactory().newBytesRefBlockBuilder(positions)) {
            for (int i = 0; i < positions; i++) {
                if (in.readBoolean()) {
                    builder.appendNull();
                } else {
                    final int valueCount = in.readVInt();