SqlStreamInput/Output use TransportVersion from a read-in Version constant. We need to remove the useage of `transportVersion` field
server/src/main/java/org/elasticsearch/TransportVersion.java
/*
 * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
 * or more contributor license agreements. Licensed under the Elastic License
 * 2.0 and the Server Side Public License, v 1; you may not use this file except
 * in compliance with, at your election, the Elastic License 2.0 or the Server
 * Side Public License, v 1.
 */
package org.elasticsearch;
import org.elasticsearch.common.Strings;
import org.elasticsearch.common.io.stream.StreamInput;
import org.elasticsearch.common.io.stream.StreamOutput;
import java.io.IOException;
import java.lang.reflect.Field;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
import java.util.NavigableMap;
import java.util.Set;
import java.util.TreeMap;
/**
 * Represents the version of the wire protocol used to communicate between ES nodes.
 * <p>
 * Prior to 8.7.0, the node {@link Version} was used everywhere. This class separates the wire protocol version
 * from the running node version. Each node version has a reference to a specific transport version used by that node.
 * <p>
 * Each transport version constant has an id number, which for versions prior to 8.7.0 is the same as the node version
 * for backwards compatibility.