You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow partial results by default in ES|QL - Take 2 (elastic#127351)
* Revert "ESQL: Revert "Allow partial results by default in ES|QL (elastic#125060)" (elastic#126286)"
This reverts commit 8f38b13.
Restore changes from elastic#125060 now that
the breakage should be fixed.
(cherry picked from commit eb479e5)
# Conflicts:
# docs/release-notes/breaking-changes.md
# x-pack/plugin/build.gradle
# x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plugin/ClusterComputeHandler.java
summary: Allow partial results by default in ES|QL
3
+
area: ES|QL
4
+
type: breaking
5
+
issues: [122802]
6
+
7
+
breaking:
8
+
title: Allow partial results by default in ES|QL
9
+
area: ES|QL
10
+
details: >-
11
+
In earlier versions of {es}, ES|QL would fail the entire query if it encountered any error. ES|QL now returns partial results instead of failing when encountering errors.
12
+
13
+
impact: >-
14
+
Callers should check the `is_partial` flag returned in the response to determine if the result is partial or complete. If returning partial results is not desired, this option can be overridden per request via an `allow_partial_results` parameter in the query URL or globally via the cluster setting `esql.query.allow_partial_results`.
Copy file name to clipboardExpand all lines: test/external-modules/esql-heap-attack/src/javaRestTest/java/org/elasticsearch/xpack/esql/heap_attack/Clusters.java
Copy file name to clipboardExpand all lines: x-pack/plugin/esql/qa/server/multi-clusters/src/javaRestTest/java/org/elasticsearch/xpack/esql/ccq/EsqlRestValidationIT.java
Copy file name to clipboardExpand all lines: x-pack/plugin/esql/qa/server/multi-clusters/src/javaRestTest/java/org/elasticsearch/xpack/esql/ccq/RequestIndexFilteringIT.java
Copy file name to clipboardExpand all lines: x-pack/plugin/esql/qa/server/single-node/src/javaRestTest/java/org/elasticsearch/xpack/esql/qa/single_node/RestEsqlIT.java
+1-1
Original file line number
Diff line number
Diff line change
@@ -110,7 +110,7 @@ public void testInvalidPragma() throws IOException {
Copy file name to clipboardExpand all lines: x-pack/plugin/esql/src/internalClusterTest/java/org/elasticsearch/xpack/esql/action/AbstractCrossClusterTestCase.java
Copy file name to clipboardExpand all lines: x-pack/plugin/esql/src/internalClusterTest/java/org/elasticsearch/xpack/esql/action/AbstractEsqlIntegTestCase.java
Copy file name to clipboardExpand all lines: x-pack/plugin/esql/src/internalClusterTest/java/org/elasticsearch/xpack/esql/action/CrossClusterCancellationIT.java
0 commit comments