Skip to content

Commit 627c23a

Browse files
committed
Merge remote-tracking branch 'upstream/main' into entitlements/file-system-provider
2 parents 2a1a960 + ebba004 commit 627c23a

File tree

268 files changed

+7319
-4015
lines changed

Some content is hidden

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

268 files changed

+7319
-4015
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: []

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)