Skip to content

Commit f7fc208

Browse files
committed
fix serialization
1 parent 41a31ed commit f7fc208

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

x-pack/plugin/esql/compute/src/main/java/org/elasticsearch/compute/operator/DriverCompletionInfo.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,9 @@ public void writeTo(StreamOutput out) throws IOException {
105105
out.writeVLong(documentsFound);
106106
out.writeVLong(valuesLoaded);
107107
out.writeCollection(driverProfiles);
108-
out.writeCollection(planProfiles);
108+
if (out.getTransportVersion().onOrAfter(TransportVersions.ESQL_PROFILE_INCLUDE_PLAN)) {
109+
out.writeCollection(planProfiles);
110+
}
109111
}
110112

111113
public static class Accumulator {

0 commit comments

Comments
 (0)