forked from elastic/elasticsearch
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/main' into fix_swallow_send_request
- Loading branch information
Showing
189 changed files
with
12,494 additions
and
563 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
pr: 108409 | ||
summary: Support multiple associated groups for TopN | ||
area: Application | ||
type: enhancement | ||
issues: | ||
- 108018 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
pr: 108574 | ||
summary: "[ESQL] CBRT function" | ||
area: ES|QL | ||
type: enhancement | ||
issues: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
pr: 108600 | ||
summary: "Prevent DLS/FLS if `replication` is assigned" | ||
area: Security | ||
type: breaking | ||
issues: [ ] | ||
breaking: | ||
title: "Prevent DLS/FLS if `replication` is assigned" | ||
area: REST API | ||
details: For cross-cluster API keys, {es} no longer allows specifying document-level security (DLS) | ||
or field-level security (FLS) in the `search` field, if `replication` is also specified. | ||
{es} likewise blocks the use of any existing cross-cluster API keys that meet this condition. | ||
impact: Remove any document-level security (DLS) or field-level security (FLS) definitions from the `search` field | ||
for cross-cluster API keys that also have a `replication` field, or create two separate cross-cluster API keys, | ||
one for search and one for replication. | ||
notable: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
pr: 108602 | ||
summary: "[Inference API] Extract optional long instead of integer in `RateLimitSettings#of`" | ||
area: Machine Learning | ||
type: bug | ||
issues: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
pr: 108643 | ||
summary: Use `scheduleUnlessShuttingDown` in `LeaderChecker` | ||
area: Cluster Coordination | ||
type: bug | ||
issues: | ||
- 108642 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
pr: 108651 | ||
summary: Add support for the 'ISP' database to the geoip processor | ||
area: Ingest Node | ||
type: enhancement | ||
issues: [] | ||
highlight: | ||
title: Add support for the 'ISP' database to the geoip processor | ||
body: |- | ||
Follow on to https://github.com/elastic/elasticsearch/pull/107287, | ||
https://github.com/elastic/elasticsearch/pull/107377, and | ||
https://github.com/elastic/elasticsearch/pull/108639 | ||
Adds support for the ['GeoIP2 | ||
ISP'](https://dev.maxmind.com/geoip/docs/databases/isp) database from | ||
MaxMind to the geoip processor. | ||
The geoip processor will automatically download the [various 'GeoLite2' | ||
databases](https://dev.maxmind.com/geoip/geolite2-free-geolocation-data), | ||
but the 'GeoIP2 ISP' database is not a 'GeoLite2' database -- it's a | ||
commercial database available to those with a suitable license from | ||
MaxMind. | ||
The support that is being added for it in this PR is in line with the | ||
support that we already have for MaxMind's 'GeoIP2 City' and 'GeoIP2 | ||
Country' databases -- that is, one would need to arrange their own | ||
download management via some custom endpoint or otherwise arrange for | ||
the relevant file(s) to be in the $ES_CONFIG/ingest-geoip directory on | ||
the nodes of the cluster. | ||
notable: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
pr: 108654 | ||
summary: Update bundled JDK to Java 22 (again) | ||
area: Packaging | ||
type: upgrade | ||
issues: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
pr: 108672 | ||
summary: Add bounds checking to parsing ISO8601 timezone offset values | ||
area: Infra/Core | ||
type: bug | ||
issues: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
// This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it. | ||
|
||
*Description* | ||
|
||
Returns the cube root of a number. The input can be any numeric value, the return value is always a double. Cube roots of infinities are null. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it. | ||
|
||
*Example* | ||
|
||
[source.merge.styled,esql] | ||
---- | ||
include::{esql-specs}/math.csv-spec[tag=cbrt] | ||
---- | ||
[%header.monospaced.styled,format=dsv,separator=|] | ||
|=== | ||
include::{esql-specs}/math.csv-spec[tag=cbrt-result] | ||
|=== | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
{ | ||
"comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.", | ||
"type" : "eval", | ||
"name" : "cbrt", | ||
"description" : "Returns the cube root of a number. The input can be any numeric value, the return value is always a double.\nCube roots of infinities are null.", | ||
"signatures" : [ | ||
{ | ||
"params" : [ | ||
{ | ||
"name" : "number", | ||
"type" : "double", | ||
"optional" : false, | ||
"description" : "Numeric expression. If `null`, the function returns `null`." | ||
} | ||
], | ||
"variadic" : false, | ||
"returnType" : "double" | ||
}, | ||
{ | ||
"params" : [ | ||
{ | ||
"name" : "number", | ||
"type" : "integer", | ||
"optional" : false, | ||
"description" : "Numeric expression. If `null`, the function returns `null`." | ||
} | ||
], | ||
"variadic" : false, | ||
"returnType" : "double" | ||
}, | ||
{ | ||
"params" : [ | ||
{ | ||
"name" : "number", | ||
"type" : "long", | ||
"optional" : false, | ||
"description" : "Numeric expression. If `null`, the function returns `null`." | ||
} | ||
], | ||
"variadic" : false, | ||
"returnType" : "double" | ||
}, | ||
{ | ||
"params" : [ | ||
{ | ||
"name" : "number", | ||
"type" : "unsigned_long", | ||
"optional" : false, | ||
"description" : "Numeric expression. If `null`, the function returns `null`." | ||
} | ||
], | ||
"variadic" : false, | ||
"returnType" : "double" | ||
} | ||
], | ||
"examples" : [ | ||
"ROW d = 1000.0\n| EVAL c = cbrt(d)" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<!-- | ||
This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it. | ||
--> | ||
|
||
### CBRT | ||
Returns the cube root of a number. The input can be any numeric value, the return value is always a double. | ||
Cube roots of infinities are null. | ||
|
||
``` | ||
ROW d = 1000.0 | ||
| EVAL c = cbrt(d) | ||
``` |
Oops, something went wrong.