File tree Expand file tree Collapse file tree 3 files changed +4
-5
lines changed
resources/transport/definitions/referable
x-pack/plugin/esql/compute/src/main/java/org/elasticsearch/compute/lucene/read Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -199,7 +199,6 @@ static TransportVersion def(int id) {
199
199
public static final TransportVersion ML_INFERENCE_COHERE_API_VERSION_8_19 = def (8_841_0_60 );
200
200
public static final TransportVersion ESQL_DOCUMENTS_FOUND_AND_VALUES_LOADED_8_19 = def (8_841_0_61 );
201
201
public static final TransportVersion ESQL_PROFILE_INCLUDE_PLAN_8_19 = def (8_841_0_62 );
202
- public static final TransportVersion ESQL_SPLIT_ON_BIG_VALUES_8_19 = def (8_841_0_63 );
203
202
public static final TransportVersion INITIAL_ELASTICSEARCH_8_19_4 = def (8_841_0_68 );
204
203
public static final TransportVersion INITIAL_ELASTICSEARCH_9_0 = def (9_000_0_00 );
205
204
public static final TransportVersion REMOVE_SNAPSHOT_FAILURES_90 = def (9_000_0_01 );
@@ -323,7 +322,6 @@ static TransportVersion def(int id) {
323
322
public static final TransportVersion ML_INFERENCE_COHERE_API_VERSION = def (9_110_0_00 );
324
323
public static final TransportVersion ESQL_PROFILE_INCLUDE_PLAN = def (9_111_0_00 );
325
324
public static final TransportVersion MAPPINGS_IN_DATA_STREAMS = def (9_112_0_00 );
326
- public static final TransportVersion ESQL_SPLIT_ON_BIG_VALUES_9_1 = def (9_112_0_01 );
327
325
public static final TransportVersion INITIAL_ELASTICSEARCH_9_1_4 = def (9_112_0_07 );
328
326
329
327
/*
Original file line number Diff line number Diff line change
1
+ 9116000,9112001,8841063
Original file line number Diff line number Diff line change 23
23
24
24
import static org .elasticsearch .TransportVersions .ESQL_DOCUMENTS_FOUND_AND_VALUES_LOADED ;
25
25
import static org .elasticsearch .TransportVersions .ESQL_DOCUMENTS_FOUND_AND_VALUES_LOADED_8_19 ;
26
- import static org .elasticsearch .TransportVersions .ESQL_SPLIT_ON_BIG_VALUES_8_19 ;
27
- import static org .elasticsearch .TransportVersions .ESQL_SPLIT_ON_BIG_VALUES_9_1 ;
28
26
29
27
public class ValuesSourceReaderOperatorStatus extends AbstractPageMappingToIteratorOperator .Status {
30
28
public static final NamedWriteableRegistry .Entry ENTRY = new NamedWriteableRegistry .Entry (
@@ -33,6 +31,8 @@ public class ValuesSourceReaderOperatorStatus extends AbstractPageMappingToItera
33
31
ValuesSourceReaderOperatorStatus ::readFrom
34
32
);
35
33
34
+ private static final TransportVersion ESQL_SPLIT_ON_BIG_VALUES = TransportVersion .fromName ("esql_split_on_big_values" );
35
+
36
36
private final Map <String , Integer > readersBuilt ;
37
37
private final long valuesLoaded ;
38
38
@@ -102,7 +102,7 @@ public void writeTo(StreamOutput out) throws IOException {
102
102
}
103
103
104
104
private static boolean supportsSplitOnBigValues (TransportVersion version ) {
105
- return version .onOrAfter ( ESQL_SPLIT_ON_BIG_VALUES_9_1 ) || version . isPatchFrom ( ESQL_SPLIT_ON_BIG_VALUES_8_19 );
105
+ return version .supports ( ESQL_SPLIT_ON_BIG_VALUES );
106
106
}
107
107
108
108
private static boolean supportsValuesLoaded (TransportVersion version ) {
You can’t perform that action at this time.
0 commit comments