Skip to content

Commit cbd13b9

Browse files
committed
Merge remote-tracking branch 'upstream/main' into lenient-rerankers
2 parents 559aa32 + 5e3fed0 commit cbd13b9

File tree

270 files changed

+7327
-4023
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

270 files changed

+7327
-4023
lines changed

benchmarks/src/main/java/org/elasticsearch/benchmark/compute/operator/AggregatorBenchmark.java

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ private static Operator operator(DriverContext driverContext, String grouping, S
155155

156156
if (grouping.equals("none")) {
157157
return new AggregationOperator(
158-
List.of(supplier(op, dataType, filter, 0).aggregatorFactory(AggregatorMode.SINGLE).apply(driverContext)),
158+
List.of(supplier(op, dataType, filter).aggregatorFactory(AggregatorMode.SINGLE, List.of(0)).apply(driverContext)),
159159
driverContext
160160
);
161161
}
@@ -182,33 +182,33 @@ private static Operator operator(DriverContext driverContext, String grouping, S
182182
default -> throw new IllegalArgumentException("unsupported grouping [" + grouping + "]");
183183
};
184184
return new HashAggregationOperator(
185-
List.of(supplier(op, dataType, filter, groups.size()).groupingAggregatorFactory(AggregatorMode.SINGLE)),
185+
List.of(supplier(op, dataType, filter).groupingAggregatorFactory(AggregatorMode.SINGLE, List.of(groups.size()))),
186186
() -> BlockHash.build(groups, driverContext.blockFactory(), 16 * 1024, false),
187187
driverContext
188188
);
189189
}
190190

191-
private static AggregatorFunctionSupplier supplier(String op, String dataType, String filter, int dataChannel) {
191+
private static AggregatorFunctionSupplier supplier(String op, String dataType, String filter) {
192192
return filtered(switch (op) {
193-
case COUNT -> CountAggregatorFunction.supplier(List.of(dataChannel));
193+
case COUNT -> CountAggregatorFunction.supplier();
194194
case COUNT_DISTINCT -> switch (dataType) {
195-
case LONGS -> new CountDistinctLongAggregatorFunctionSupplier(List.of(dataChannel), 3000);
196-
case DOUBLES -> new CountDistinctDoubleAggregatorFunctionSupplier(List.of(dataChannel), 3000);
195+
case LONGS -> new CountDistinctLongAggregatorFunctionSupplier(3000);
196+
case DOUBLES -> new CountDistinctDoubleAggregatorFunctionSupplier(3000);
197197
default -> throw new IllegalArgumentException("unsupported data type [" + dataType + "]");
198198
};
199199
case MAX -> switch (dataType) {
200-
case LONGS -> new MaxLongAggregatorFunctionSupplier(List.of(dataChannel));
201-
case DOUBLES -> new MaxDoubleAggregatorFunctionSupplier(List.of(dataChannel));
200+
case LONGS -> new MaxLongAggregatorFunctionSupplier();
201+
case DOUBLES -> new MaxDoubleAggregatorFunctionSupplier();
202202
default -> throw new IllegalArgumentException("unsupported data type [" + dataType + "]");
203203
};
204204
case MIN -> switch (dataType) {
205-
case LONGS -> new MinLongAggregatorFunctionSupplier(List.of(dataChannel));
206-
case DOUBLES -> new MinDoubleAggregatorFunctionSupplier(List.of(dataChannel));
205+
case LONGS -> new MinLongAggregatorFunctionSupplier();
206+
case DOUBLES -> new MinDoubleAggregatorFunctionSupplier();
207207
default -> throw new IllegalArgumentException("unsupported data type [" + dataType + "]");
208208
};
209209
case SUM -> switch (dataType) {
210-
case LONGS -> new SumLongAggregatorFunctionSupplier(List.of(dataChannel));
211-
case DOUBLES -> new SumDoubleAggregatorFunctionSupplier(List.of(dataChannel));
210+
case LONGS -> new SumLongAggregatorFunctionSupplier();
211+
case DOUBLES -> new SumDoubleAggregatorFunctionSupplier();
212212
default -> throw new IllegalArgumentException("unsupported data type [" + dataType + "]");
213213
};
214214
default -> throw new IllegalArgumentException("unsupported op [" + op + "]");

docs/changelog/120998.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 120998
2+
summary: ES|QL `change_point` processing command
3+
area: Machine Learning
4+
type: feature
5+
issues: []

docs/changelog/121156.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 121156
2+
summary: Remove redundant sorts from execution plan
3+
area: ES|QL
4+
type: bug
5+
issues: []

docs/changelog/121720.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 121720
2+
summary: Skip fetching _inference_fields field in legacy semantic_text format
3+
area: Search
4+
type: bug
5+
issues: []

docs/changelog/122011.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 122011
2+
summary: Fix JOIN command validation (not supported)
3+
area: EQL
4+
type: bug
5+
issues: []

gradle/verification-metadata.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -904,14 +904,14 @@
904904
<sha256 value="f8f5c726c8c615a94d9d6cd1073787f9c554841ae24c8bab5cd73481ea2021a8" origin="Generated by Gradle"/>
905905
</artifact>
906906
</component>
907-
<component group="com.maxmind.db" name="maxmind-db" version="3.1.0">
908-
<artifact name="maxmind-db-3.1.0.jar">
909-
<sha256 value="2c8033081b1215dc57f5ae0e0de95cf91eb54144fccae4db35a47eb5d1101afc" origin="Generated by Gradle"/>
907+
<component group="com.maxmind.db" name="maxmind-db" version="3.1.1">
908+
<artifact name="maxmind-db-3.1.1.jar">
909+
<sha256 value="16ff5f6779f1964bf814150f73a8af1e657bd669ad9fd13040bcd406460007e1" origin="Generated by Gradle"/>
910910
</artifact>
911911
</component>
912-
<component group="com.maxmind.geoip2" name="geoip2" version="4.2.0">
913-
<artifact name="geoip2-4.2.0.jar">
914-
<sha256 value="5981ac68332deebdf52e7a7f96a0bef5f320012fa930f3778ee1e9c827a80dbd" origin="Generated by Gradle"/>
912+
<component group="com.maxmind.geoip2" name="geoip2" version="4.2.1">
913+
<artifact name="geoip2-4.2.1.jar">
914+
<sha256 value="1492bf8d29f8059c9e2f6ec2ce85c5e05e2d379a366427c8923fef124801c118" origin="Generated by Gradle"/>
915915
</artifact>
916916
</component>
917917
<component group="com.microsoft.azure" name="azure-core" version="0.9.3">

modules/ingest-geoip/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ tasks.named('internalClusterTestTestingConventions').configure {
2828
}
2929

3030
dependencies {
31-
implementation('com.maxmind.geoip2:geoip2:4.2.0')
31+
implementation('com.maxmind.geoip2:geoip2:4.2.1')
3232
// geoip2 dependencies:
3333
runtimeOnly("com.fasterxml.jackson.core:jackson-annotations:${versions.jackson}")
3434
runtimeOnly("com.fasterxml.jackson.core:jackson-databind:${versions.jackson}")
3535
runtimeOnly("com.fasterxml.jackson.core:jackson-core:${versions.jackson}")
36-
implementation('com.maxmind.db:maxmind-db:3.1.0')
36+
implementation('com.maxmind.db:maxmind-db:3.1.1')
3737

3838
testImplementation 'org.elasticsearch:geolite2-databases:20191119'
3939
internalClusterTestImplementation project(':modules:reindex')

muted-tests.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -361,9 +361,6 @@ tests:
361361
- class: org.elasticsearch.smoketest.DocsClientYamlTestSuiteIT
362362
method: test {yaml=reference/cat/health/cat-health-no-timestamp-example}
363363
issue: https://github.com/elastic/elasticsearch/issues/121867
364-
- class: org.elasticsearch.xpack.searchablesnapshots.FrozenSearchableSnapshotsIntegTests
365-
method: testCreateAndRestorePartialSearchableSnapshot
366-
issue: https://github.com/elastic/elasticsearch/issues/121927
367364
- class: org.elasticsearch.analysis.common.CommonAnalysisClientYamlTestSuiteIT
368365
method: test {yaml=analysis-common/40_token_filters/stemmer_override file access}
369366
issue: https://github.com/elastic/elasticsearch/issues/121625
@@ -410,6 +407,15 @@ tests:
410407
- class: org.elasticsearch.search.SearchCancellationIT
411408
method: testCancelFailedSearchWhenPartialResultDisallowed
412409
issue: https://github.com/elastic/elasticsearch/issues/121719
410+
- class: org.elasticsearch.xpack.esql.analysis.VerifierTests
411+
method: testChangePoint
412+
issue: https://github.com/elastic/elasticsearch/issues/122179
413+
- class: org.elasticsearch.xpack.esql.analysis.VerifierTests
414+
method: testChangePoint_keySortable
415+
issue: https://github.com/elastic/elasticsearch/issues/122180
416+
- class: org.elasticsearch.xpack.esql.analysis.VerifierTests
417+
method: testChangePoint_valueNumeric
418+
issue: https://github.com/elastic/elasticsearch/issues/122181
413419

414420
# Examples:
415421
#

0 commit comments

Comments
 (0)