File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
server/src/main/java/org/elasticsearch
x-pack/plugin/esql/compute/src/main/java/org/elasticsearch/compute/operator Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -330,6 +330,7 @@ static TransportVersion def(int id) {
330
330
public static final TransportVersion MAPPINGS_IN_DATA_STREAMS = def (9_112_0_00 );
331
331
public static final TransportVersion ESQL_SPLIT_ON_BIG_VALUES_9_1 = def (9_112_0_01 );
332
332
public static final TransportVersion ESQL_FIXED_INDEX_LIKE_9_1 = def (9_112_0_02 );
333
+ public static final TransportVersion ESQL_SAMPLE_OPERATOR_STATUS_9_1 = def (9_112_0_03 );
333
334
// Below is the first version in 9.2 and NOT in 9.1.
334
335
public static final TransportVersion PROJECT_STATE_REGISTRY_RECORDS_DELETIONS = def (9_113_0_00 );
335
336
public static final TransportVersion ESQL_SERIALIZE_TIMESERIES_FIELD_TYPE = def (9_114_0_00 );
@@ -342,6 +343,7 @@ static TransportVersion def(int id) {
342
343
public static final TransportVersion NODE_USAGE_STATS_FOR_THREAD_POOLS_IN_CLUSTER_INFO = def (9_121_0_00 );
343
344
public static final TransportVersion ESQL_CATEGORIZE_OPTIONS = def (9_122_0_00 );
344
345
public static final TransportVersion ML_INFERENCE_AZURE_AI_STUDIO_RERANK_ADDED = def (9_123_0_00 );
346
+ public static final TransportVersion ESQL_SAMPLE_OPERATOR_STATUS = def (9_124_0_00 );
345
347
346
348
/*
347
349
* STOP! READ THIS FIRST! No, really,
Original file line number Diff line number Diff line change @@ -237,7 +237,14 @@ public String toString() {
237
237
238
238
@ Override
239
239
public TransportVersion getMinimalSupportedVersion () {
240
- return TransportVersions .ZERO ;
240
+ assert false : "must not be called when overriding supportsVersion" ;
241
+ throw new UnsupportedOperationException ("must not be called when overriding supportsVersion" );
242
+ }
243
+
244
+ @ Override
245
+ public boolean supportsVersion (TransportVersion version ) {
246
+ return version .onOrAfter (TransportVersions .ESQL_SAMPLE_OPERATOR_STATUS )
247
+ || version .isPatchFrom (TransportVersions .ESQL_SAMPLE_OPERATOR_STATUS_9_1 );
241
248
}
242
249
}
243
250
}
You can’t perform that action at this time.
0 commit comments