SqlStreamInput/Output use TransportVersion from a read-in Version constant. We need to remove the useage of `transportVersion` field
x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/session/Cursors.java
output.writeOptionalWriteable(formatter);
                output.writeString(cursor);
                output.close();
                
                return output.streamAsString();
            } catch (IOException ex) {
                throw new SqlIllegalArgumentException("Unexpected failure writing cursor", ex);
            }
        }
    }
    public static BasicFormatter decodeFormatter(String base64) {
        if (base64.isEmpty()) {
            return null;
        }
        try (SqlStreamInput in = SqlStreamInput.fromString(base64, WRITEABLE_REGISTRY, VERSION)) {
            return in.readOptionalWriteable(BasicFormatter::new);
        } catch (IOException ex) {
            throw new SqlIllegalArgumentException("Unexpected failure reading cursor", ex);
        }
    }
    /**
     * Read a {@linkplain Cursor} from a string.
     */
    public static Tuple<Cursor, ZoneId> decodeFromStringWithZone(String base64, NamedWriteableRegistry writeableRegistry) {
        return internalDecodeFromStringWithZone(base64, new NamedWriteableRegistry(List.of()) {
            @Override
            public <T> Map<String, Writeable.Reader<?>> getReaders(Class<T> categoryClass) {
                try {
                    return writeableRegistry.getReaders(categoryClass);
                } catch (IllegalArgumentException iae) {