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
* Returns the maximum version of {@code version1} and {@code version2}
     */
    public static TransportVersion max(TransportVersion version1, TransportVersion version2) {
        return version1.id > version2.id ? version1 : version2;
    }
    public final int id;
    private final String uniqueId;
    TransportVersion(int id, String uniqueId) {
        this.id = id;
        this.uniqueId = Strings.requireNonEmpty(uniqueId, "Each TransportVersion needs a unique string id");
    }
    /**
     * Returns {@code true} if the specified version is compatible with this running version of Elasticsearch.
     */
    public static boolean isCompatible(TransportVersion version) {
        return version.onOrAfter(MINIMUM_COMPATIBLE);
    }
    public boolean after(TransportVersion version) {
        return version.id < id;
    }
    public boolean onOrAfter(TransportVersion version) {
        return version.id <= id;
    }
    public boolean before(TransportVersion version) {
        return version.id > id;
    }
    public boolean onOrBefore(TransportVersion version) {
        return version.id >= id;
    }
    @Override