SqlStreamInput/Output use TransportVersion from a read-in Version constant. We need to remove the useage of `transportVersion` field
x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/plugin/CursorTests.java
LoggerMessageFormat.format("Unsupported cursor version [{}], expected [{}]", nextMinorVersion, Version.CURRENT),
            exception.getMessage()
        );
    }
    private static final NamedWriteableRegistry WRITEABLE_REGISTRY = new NamedWriteableRegistry(Cursors.getNamedWriteables());
    public static Cursor decodeFromString(String base64) {
        return decodeFromStringWithZone(base64, WRITEABLE_REGISTRY).v1();
    }
    public void testAttachingFormatterToCursor() {
        Cursor cursor = randomSearchHitCursor();
        ZoneId zone = randomZone();
        String encoded = encodeToString(cursor, zone);
        BasicFormatter formatter = randomFormatter();
        String withFormatter = attachFormatter(encoded, formatter);
        Tuple<Cursor, ZoneId> decoded = decodeFromStringWithZone(withFormatter, WRITEABLE_REGISTRY);
        assertEquals(cursor, decoded.v1());
        assertEquals(zone, decoded.v2());
        assertEquals(formatter, Cursors.decodeFormatter(withFormatter));
    }
    public void testAttachingEmptyFormatterToCursor() {
        Cursor cursor = randomSearchHitCursor();
        ZoneId zone = randomZone();
        String encoded = encodeToString(cursor, zone);
        String withFormatter = attachFormatter(encoded, null);
        Tuple<Cursor, ZoneId> decoded = decodeFromStringWithZone(withFormatter, WRITEABLE_REGISTRY);
        assertEquals(cursor, decoded.v1());
        assertEquals(zone, decoded.v2());
        assertNull(Cursors.decodeFormatter(withFormatter));
    }
    public void testAttachingFormatterToEmptyCursor() {