Skip to content

Commit e192d85

Browse files
authored
Merge branch 'main' into tracing/cleanup_headers
2 parents 5c935b2 + c9a4206 commit e192d85

File tree

61 files changed

+4049
-3577
lines changed

Some content is hidden

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

61 files changed

+4049
-3577
lines changed

docs/changelog/128917.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
pr: 128917
2+
summary: Adopt a "LogicalPlan" approach to running multiple sub-queries (with INLINESTATS
3+
so far)
4+
area: ES|QL
5+
type: enhancement
6+
issues: []

docs/changelog/130733.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
pr: 130733
2+
summary: Specify master timeout when submitting alias tasks
3+
area: Indices APIs
4+
type: bug
5+
issues:
6+
- 120389

muted-tests.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -209,9 +209,6 @@ tests:
209209
- class: org.elasticsearch.smoketest.MlWithSecurityIT
210210
method: test {yaml=ml/3rd_party_deployment/Test start and stop multiple deployments}
211211
issue: https://github.com/elastic/elasticsearch/issues/124315
212-
- class: org.elasticsearch.multiproject.test.CoreWithMultipleProjectsClientYamlTestSuiteIT
213-
method: test {yaml=data_stream/190_failure_store_redirection/Redirect ingest failure in data stream to failure store}
214-
issue: https://github.com/elastic/elasticsearch/issues/124518
215212
- class: org.elasticsearch.xpack.restart.MLModelDeploymentFullClusterRestartIT
216213
method: testDeploymentSurvivesRestart {cluster=OLD}
217214
issue: https://github.com/elastic/elasticsearch/issues/124160

server/src/main/java/org/elasticsearch/TransportVersions.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,7 @@ static TransportVersion def(int id) {
333333
public static final TransportVersion ESQL_SERIALIZE_TIMESERIES_FIELD_TYPE = def(9_114_0_00);
334334
public static final TransportVersion ML_INFERENCE_IBM_WATSONX_COMPLETION_ADDED = def(9_115_0_00);
335335
public static final TransportVersion ESQL_SPLIT_ON_BIG_VALUES = def(9_116_0_00);
336+
public static final TransportVersion ESQL_LOCAL_RELATION_WITH_NEW_BLOCKS = def(9_117_0_00);
336337

337338
/*
338339
* STOP! READ THIS FIRST! No, really,

server/src/main/java/org/elasticsearch/cluster/metadata/MetadataIndexAliasesService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public void indicesAliases(
9292
final IndicesAliasesClusterStateUpdateRequest request,
9393
final ActionListener<IndicesAliasesResponse> listener
9494
) {
95-
taskQueue.submitTask("index-aliases", new ApplyAliasesTask(request, listener), null); // TODO use request.masterNodeTimeout() here?
95+
taskQueue.submitTask("index-aliases", new ApplyAliasesTask(request, listener), request.masterNodeTimeout());
9696
}
9797

9898
/**

x-pack/plugin/esql/qa/server/multi-clusters/src/javaRestTest/java/org/elasticsearch/xpack/esql/ccq/MultiClusterSpecIT.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
import static org.elasticsearch.xpack.esql.action.EsqlCapabilities.Cap.FORK_V9;
5050
import static org.elasticsearch.xpack.esql.action.EsqlCapabilities.Cap.INLINESTATS;
5151
import static org.elasticsearch.xpack.esql.action.EsqlCapabilities.Cap.INLINESTATS_V2;
52-
import static org.elasticsearch.xpack.esql.action.EsqlCapabilities.Cap.INLINESTATS_V7;
52+
import static org.elasticsearch.xpack.esql.action.EsqlCapabilities.Cap.INLINESTATS_V8;
5353
import static org.elasticsearch.xpack.esql.action.EsqlCapabilities.Cap.JOIN_LOOKUP_V12;
5454
import static org.elasticsearch.xpack.esql.action.EsqlCapabilities.Cap.JOIN_PLANNING_V1;
5555
import static org.elasticsearch.xpack.esql.action.EsqlCapabilities.Cap.METADATA_FIELDS_REMOTE_TEST;
@@ -128,7 +128,7 @@ protected void shouldSkipTest(String testName) throws IOException {
128128
assumeFalse("INLINESTATS not yet supported in CCS", testCase.requiredCapabilities.contains(INLINESTATS.capabilityName()));
129129
assumeFalse("INLINESTATS not yet supported in CCS", testCase.requiredCapabilities.contains(INLINESTATS_V2.capabilityName()));
130130
assumeFalse("INLINESTATS not yet supported in CCS", testCase.requiredCapabilities.contains(JOIN_PLANNING_V1.capabilityName()));
131-
assumeFalse("INLINESTATS not yet supported in CCS", testCase.requiredCapabilities.contains(INLINESTATS_V7.capabilityName()));
131+
assumeFalse("INLINESTATS not yet supported in CCS", testCase.requiredCapabilities.contains(INLINESTATS_V8.capabilityName()));
132132
assumeFalse("LOOKUP JOIN not yet supported in CCS", testCase.requiredCapabilities.contains(JOIN_LOOKUP_V12.capabilityName()));
133133
// Unmapped fields require a coorect capability response from every cluster, which isn't currently implemented.
134134
assumeFalse("UNMAPPED FIELDS not yet supported in CCS", testCase.requiredCapabilities.contains(UNMAPPED_FIELDS.capabilityName()));

x-pack/plugin/esql/qa/server/src/main/java/org/elasticsearch/xpack/esql/qa/rest/generative/GenerativeForkRestTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ protected void shouldSkipTest(String testName) throws IOException {
4646
super.shouldSkipTest(testName);
4747

4848
assumeFalse(
49-
"Tests using FORK or RRF already are skipped since we don't support multiple FORKs",
50-
testCase.requiredCapabilities.contains(FORK_V9.capabilityName()) || testCase.requiredCapabilities.contains(RRF.capabilityName())
49+
"Tests using FORK are skipped since we don't support multiple FORKs",
50+
testCase.requiredCapabilities.contains(FORK_V9.capabilityName())
5151
);
5252

5353
assumeFalse(

x-pack/plugin/esql/qa/testFixtures/src/main/java/org/elasticsearch/xpack/esql/EsqlTestUtils.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@
8383
import org.elasticsearch.xpack.esql.plan.logical.EsRelation;
8484
import org.elasticsearch.xpack.esql.plan.logical.Limit;
8585
import org.elasticsearch.xpack.esql.plan.logical.LogicalPlan;
86+
import org.elasticsearch.xpack.esql.plan.logical.local.EmptyLocalSupplier;
8687
import org.elasticsearch.xpack.esql.plan.logical.local.LocalRelation;
8788
import org.elasticsearch.xpack.esql.plan.logical.local.LocalSupplier;
8889
import org.elasticsearch.xpack.esql.plugin.EsqlPlugin;
@@ -446,7 +447,7 @@ public static Literal L(Object value) {
446447
}
447448

448449
public static LogicalPlan emptySource() {
449-
return new LocalRelation(Source.EMPTY, emptyList(), LocalSupplier.EMPTY);
450+
return new LocalRelation(Source.EMPTY, emptyList(), EmptyLocalSupplier.EMPTY);
450451
}
451452

452453
public static LogicalPlan localSource(BlockFactory blockFactory, List<Attribute> fields, List<Object> row) {

0 commit comments

Comments
 (0)