Skip to content

Commit 4c5fe4a

Browse files
committed
Add allow_partial_results
1 parent 83f7a54 commit 4c5fe4a

File tree

8 files changed

+85
-11
lines changed

8 files changed

+85
-11
lines changed

output/openapi/elasticsearch-openapi.json

Lines changed: 20 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/openapi/elasticsearch-serverless-openapi.json

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/schema-serverless.json

Lines changed: 14 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/schema.json

Lines changed: 28 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/validation-errors.json

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -228,14 +228,7 @@
228228
"request": [
229229
"Request: query parameter 'keep_alive' does not exist in the json spec",
230230
"Request: query parameter 'keep_on_completion' does not exist in the json spec",
231-
"Request: query parameter 'wait_for_completion_timeout' does not exist in the json spec",
232-
"Request: missing json spec query parameter 'allow_partial_results'"
233-
],
234-
"response": []
235-
},
236-
"esql.query": {
237-
"request": [
238-
"Request: missing json spec query parameter 'allow_partial_results'"
231+
"Request: query parameter 'wait_for_completion_timeout' does not exist in the json spec"
239232
],
240233
"response": []
241234
},

output/typescript/types.ts

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/esql/async_query/AsyncQueryRequest.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@ import { Duration } from '@_types/Time'
3838
*/
3939
export interface Request extends RequestBase {
4040
query_parameters: {
41+
/**
42+
* If `true`, partial results will be returned if there are shard failures, but the query can continue to execute on other clusters and shards.
43+
* @server_default false
44+
*/
45+
allow_partial_results?: boolean
4146
/**
4247
* The character to use between values within a CSV row.
4348
* It is valid only for the CSV format.

specification/esql/query/QueryRequest.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,11 @@ export interface Request extends RequestBase {
5555
* @server_default false
5656
*/
5757
drop_null_columns?: boolean
58+
/**
59+
* If `true`, partial results will be returned if there are shard failures, but the query can continue to execute on other clusters and shards.
60+
* @server_default false
61+
*/
62+
allow_partial_results?: boolean
5863
}
5964
/**
6065
* Use the `query` element to start a query. Use `time_zone` to specify an execution time zone and `columnar` to format the answer.

0 commit comments

Comments
 (0)