Merge main into multi-project

This commit is contained in:
Yang Wang 2025-02-12 09:57:09 +11:00
commit 04d459009b
758 changed files with 13970 additions and 7318 deletions

View file

@ -56,7 +56,7 @@ steps:
timeout_in_minutes: 300 timeout_in_minutes: 300
matrix: matrix:
setup: setup:
BWC_VERSION: ["8.16.4", "8.17.2", "8.18.0", "8.19.0", "9.0.0", "9.1.0"] BWC_VERSION: ["8.16.5", "8.17.3", "8.18.0", "8.19.0", "9.0.0", "9.1.0"]
agents: agents:
provider: gcp provider: gcp
image: family/elasticsearch-ubuntu-2004 image: family/elasticsearch-ubuntu-2004

View file

@ -287,8 +287,8 @@ steps:
env: env:
BWC_VERSION: 8.15.5 BWC_VERSION: 8.15.5
- label: "{{matrix.image}} / 8.16.4 / packaging-tests-upgrade" - label: "{{matrix.image}} / 8.16.5 / packaging-tests-upgrade"
command: ./.ci/scripts/packaging-test.sh -Dbwc.checkout.align=true destructiveDistroUpgradeTest.v8.16.4 command: ./.ci/scripts/packaging-test.sh -Dbwc.checkout.align=true destructiveDistroUpgradeTest.v8.16.5
timeout_in_minutes: 300 timeout_in_minutes: 300
matrix: matrix:
setup: setup:
@ -301,10 +301,10 @@ steps:
machineType: custom-16-32768 machineType: custom-16-32768
buildDirectory: /dev/shm/bk buildDirectory: /dev/shm/bk
env: env:
BWC_VERSION: 8.16.4 BWC_VERSION: 8.16.5
- label: "{{matrix.image}} / 8.17.2 / packaging-tests-upgrade" - label: "{{matrix.image}} / 8.17.3 / packaging-tests-upgrade"
command: ./.ci/scripts/packaging-test.sh -Dbwc.checkout.align=true destructiveDistroUpgradeTest.v8.17.2 command: ./.ci/scripts/packaging-test.sh -Dbwc.checkout.align=true destructiveDistroUpgradeTest.v8.17.3
timeout_in_minutes: 300 timeout_in_minutes: 300
matrix: matrix:
setup: setup:
@ -317,7 +317,7 @@ steps:
machineType: custom-16-32768 machineType: custom-16-32768
buildDirectory: /dev/shm/bk buildDirectory: /dev/shm/bk
env: env:
BWC_VERSION: 8.17.2 BWC_VERSION: 8.17.3
- label: "{{matrix.image}} / 8.18.0 / packaging-tests-upgrade" - label: "{{matrix.image}} / 8.18.0 / packaging-tests-upgrade"
command: ./.ci/scripts/packaging-test.sh -Dbwc.checkout.align=true destructiveDistroUpgradeTest.v8.18.0 command: ./.ci/scripts/packaging-test.sh -Dbwc.checkout.align=true destructiveDistroUpgradeTest.v8.18.0

View file

@ -78,8 +78,8 @@ steps:
BWC_VERSION: "{{matrix.BWC_VERSION}}" BWC_VERSION: "{{matrix.BWC_VERSION}}"
- group: java-matrix - group: java-matrix
steps: steps:
- label: "{{matrix.ES_RUNTIME_JAVA}} / {{matrix.GRADLE_TASK}} / java-matrix" - label: "{{matrix.ES_RUNTIME_JAVA}} / entitlements={{matrix.ENTITLEMENTS_ENABLED}} / {{matrix.GRADLE_TASK}} / java-matrix"
command: .ci/scripts/run-gradle.sh -Dbwc.checkout.align=true $$GRADLE_TASK command: .ci/scripts/run-gradle.sh -Dbwc.checkout.align=true -Dtests.jvm.argline="-Des.entitlements.enabled=$$ENTITLEMENTS_ENABLED" $$GRADLE_TASK
timeout_in_minutes: 300 timeout_in_minutes: 300
matrix: matrix:
setup: setup:
@ -94,6 +94,9 @@ steps:
- checkPart4 - checkPart4
- checkPart5 - checkPart5
- checkRestCompat - checkRestCompat
ENTITLEMENTS_ENABLED:
- "true"
- "false"
agents: agents:
provider: gcp provider: gcp
image: family/elasticsearch-ubuntu-2004 image: family/elasticsearch-ubuntu-2004
@ -102,6 +105,7 @@ steps:
env: env:
ES_RUNTIME_JAVA: "{{matrix.ES_RUNTIME_JAVA}}" ES_RUNTIME_JAVA: "{{matrix.ES_RUNTIME_JAVA}}"
GRADLE_TASK: "{{matrix.GRADLE_TASK}}" GRADLE_TASK: "{{matrix.GRADLE_TASK}}"
ENTITLEMENTS_ENABLED: "{{matrix.ENTITLEMENTS_ENABLED}}"
- label: "{{matrix.ES_RUNTIME_JAVA}} / {{matrix.BWC_VERSION}} / java-matrix-bwc" - label: "{{matrix.ES_RUNTIME_JAVA}} / {{matrix.BWC_VERSION}} / java-matrix-bwc"
command: .ci/scripts/run-gradle.sh -Dbwc.checkout.align=true v$$BWC_VERSION#bwcTest command: .ci/scripts/run-gradle.sh -Dbwc.checkout.align=true v$$BWC_VERSION#bwcTest
timeout_in_minutes: 300 timeout_in_minutes: 300

View file

@ -306,8 +306,8 @@ steps:
- signal_reason: agent_stop - signal_reason: agent_stop
limit: 3 limit: 3
- label: 8.16.4 / bwc - label: 8.16.5 / bwc
command: .ci/scripts/run-gradle.sh -Dbwc.checkout.align=true v8.16.4#bwcTest command: .ci/scripts/run-gradle.sh -Dbwc.checkout.align=true v8.16.5#bwcTest
timeout_in_minutes: 300 timeout_in_minutes: 300
agents: agents:
provider: gcp provider: gcp
@ -316,7 +316,7 @@ steps:
buildDirectory: /dev/shm/bk buildDirectory: /dev/shm/bk
preemptible: true preemptible: true
env: env:
BWC_VERSION: 8.16.4 BWC_VERSION: 8.16.5
retry: retry:
automatic: automatic:
- exit_status: "-1" - exit_status: "-1"
@ -325,8 +325,8 @@ steps:
- signal_reason: agent_stop - signal_reason: agent_stop
limit: 3 limit: 3
- label: 8.17.2 / bwc - label: 8.17.3 / bwc
command: .ci/scripts/run-gradle.sh -Dbwc.checkout.align=true v8.17.2#bwcTest command: .ci/scripts/run-gradle.sh -Dbwc.checkout.align=true v8.17.3#bwcTest
timeout_in_minutes: 300 timeout_in_minutes: 300
agents: agents:
provider: gcp provider: gcp
@ -335,7 +335,7 @@ steps:
buildDirectory: /dev/shm/bk buildDirectory: /dev/shm/bk
preemptible: true preemptible: true
env: env:
BWC_VERSION: 8.17.2 BWC_VERSION: 8.17.3
retry: retry:
automatic: automatic:
- exit_status: "-1" - exit_status: "-1"
@ -486,7 +486,7 @@ steps:
setup: setup:
ES_RUNTIME_JAVA: ES_RUNTIME_JAVA:
- openjdk21 - openjdk21
BWC_VERSION: ["8.16.4", "8.17.2", "8.18.0", "8.19.0", "9.0.0", "9.1.0"] BWC_VERSION: ["8.16.5", "8.17.3", "8.18.0", "8.19.0", "9.0.0", "9.1.0"]
agents: agents:
provider: gcp provider: gcp
image: family/elasticsearch-ubuntu-2004 image: family/elasticsearch-ubuntu-2004
@ -497,8 +497,8 @@ steps:
BWC_VERSION: "{{matrix.BWC_VERSION}}" BWC_VERSION: "{{matrix.BWC_VERSION}}"
- group: java-matrix - group: java-matrix
steps: steps:
- label: "{{matrix.ES_RUNTIME_JAVA}} / {{matrix.GRADLE_TASK}} / java-matrix" - label: "{{matrix.ES_RUNTIME_JAVA}} / entitlements={{matrix.ENTITLEMENTS_ENABLED}} / {{matrix.GRADLE_TASK}} / java-matrix"
command: .ci/scripts/run-gradle.sh -Dbwc.checkout.align=true $$GRADLE_TASK command: .ci/scripts/run-gradle.sh -Dbwc.checkout.align=true -Dtests.jvm.argline="-Des.entitlements.enabled=$$ENTITLEMENTS_ENABLED" $$GRADLE_TASK
timeout_in_minutes: 300 timeout_in_minutes: 300
matrix: matrix:
setup: setup:
@ -513,6 +513,9 @@ steps:
- checkPart4 - checkPart4
- checkPart5 - checkPart5
- checkRestCompat - checkRestCompat
ENTITLEMENTS_ENABLED:
- "true"
- "false"
agents: agents:
provider: gcp provider: gcp
image: family/elasticsearch-ubuntu-2004 image: family/elasticsearch-ubuntu-2004
@ -521,6 +524,7 @@ steps:
env: env:
ES_RUNTIME_JAVA: "{{matrix.ES_RUNTIME_JAVA}}" ES_RUNTIME_JAVA: "{{matrix.ES_RUNTIME_JAVA}}"
GRADLE_TASK: "{{matrix.GRADLE_TASK}}" GRADLE_TASK: "{{matrix.GRADLE_TASK}}"
ENTITLEMENTS_ENABLED: "{{matrix.ENTITLEMENTS_ENABLED}}"
- label: "{{matrix.ES_RUNTIME_JAVA}} / {{matrix.BWC_VERSION}} / java-matrix-bwc" - label: "{{matrix.ES_RUNTIME_JAVA}} / {{matrix.BWC_VERSION}} / java-matrix-bwc"
command: .ci/scripts/run-gradle.sh -Dbwc.checkout.align=true v$$BWC_VERSION#bwcTest command: .ci/scripts/run-gradle.sh -Dbwc.checkout.align=true v$$BWC_VERSION#bwcTest
timeout_in_minutes: 300 timeout_in_minutes: 300
@ -529,7 +533,7 @@ steps:
ES_RUNTIME_JAVA: ES_RUNTIME_JAVA:
- openjdk21 - openjdk21
- openjdk23 - openjdk23
BWC_VERSION: ["8.16.4", "8.17.2", "8.18.0", "8.19.0", "9.0.0", "9.1.0"] BWC_VERSION: ["8.16.5", "8.17.3", "8.18.0", "8.19.0", "9.0.0", "9.1.0"]
agents: agents:
provider: gcp provider: gcp
image: family/elasticsearch-ubuntu-2004 image: family/elasticsearch-ubuntu-2004

View file

@ -36,6 +36,9 @@ for BRANCH in "${BRANCHES[@]}"; do
fi fi
if [[ "$SHOULD_TRIGGER" == "true" ]]; then if [[ "$SHOULD_TRIGGER" == "true" ]]; then
if [[ "$BRANCH" == "9.0" ]]; then
export VERSION_QUALIFIER="beta1"
fi
echo "Triggering DRA staging workflow for $BRANCH" echo "Triggering DRA staging workflow for $BRANCH"
cat << EOF | buildkite-agent pipeline upload cat << EOF | buildkite-agent pipeline upload
steps: steps:
@ -46,6 +49,7 @@ steps:
branch: "$BRANCH" branch: "$BRANCH"
env: env:
DRA_WORKFLOW: staging DRA_WORKFLOW: staging
VERSION_QUALIFIER: ${VERSION_QUALIFIER:-}
EOF EOF
fi fi
done done

View file

@ -15,8 +15,8 @@ BWC_VERSION:
- "8.13.4" - "8.13.4"
- "8.14.3" - "8.14.3"
- "8.15.5" - "8.15.5"
- "8.16.4" - "8.16.5"
- "8.17.2" - "8.17.3"
- "8.18.0" - "8.18.0"
- "8.19.0" - "8.19.0"
- "9.0.0" - "9.0.0"

View file

@ -1,6 +1,6 @@
BWC_VERSION: BWC_VERSION:
- "8.16.4" - "8.16.5"
- "8.17.2" - "8.17.3"
- "8.18.0" - "8.18.0"
- "8.19.0" - "8.19.0"
- "9.0.0" - "9.0.0"

View file

@ -155,7 +155,7 @@ public class AggregatorBenchmark {
if (grouping.equals("none")) { if (grouping.equals("none")) {
return new AggregationOperator( return new AggregationOperator(
List.of(supplier(op, dataType, filter, 0).aggregatorFactory(AggregatorMode.SINGLE).apply(driverContext)), List.of(supplier(op, dataType, filter).aggregatorFactory(AggregatorMode.SINGLE, List.of(0)).apply(driverContext)),
driverContext driverContext
); );
} }
@ -182,33 +182,33 @@ public class AggregatorBenchmark {
default -> throw new IllegalArgumentException("unsupported grouping [" + grouping + "]"); default -> throw new IllegalArgumentException("unsupported grouping [" + grouping + "]");
}; };
return new HashAggregationOperator( return new HashAggregationOperator(
List.of(supplier(op, dataType, filter, groups.size()).groupingAggregatorFactory(AggregatorMode.SINGLE)), List.of(supplier(op, dataType, filter).groupingAggregatorFactory(AggregatorMode.SINGLE, List.of(groups.size()))),
() -> BlockHash.build(groups, driverContext.blockFactory(), 16 * 1024, false), () -> BlockHash.build(groups, driverContext.blockFactory(), 16 * 1024, false),
driverContext driverContext
); );
} }
private static AggregatorFunctionSupplier supplier(String op, String dataType, String filter, int dataChannel) { private static AggregatorFunctionSupplier supplier(String op, String dataType, String filter) {
return filtered(switch (op) { return filtered(switch (op) {
case COUNT -> CountAggregatorFunction.supplier(List.of(dataChannel)); case COUNT -> CountAggregatorFunction.supplier();
case COUNT_DISTINCT -> switch (dataType) { case COUNT_DISTINCT -> switch (dataType) {
case LONGS -> new CountDistinctLongAggregatorFunctionSupplier(List.of(dataChannel), 3000); case LONGS -> new CountDistinctLongAggregatorFunctionSupplier(3000);
case DOUBLES -> new CountDistinctDoubleAggregatorFunctionSupplier(List.of(dataChannel), 3000); case DOUBLES -> new CountDistinctDoubleAggregatorFunctionSupplier(3000);
default -> throw new IllegalArgumentException("unsupported data type [" + dataType + "]"); default -> throw new IllegalArgumentException("unsupported data type [" + dataType + "]");
}; };
case MAX -> switch (dataType) { case MAX -> switch (dataType) {
case LONGS -> new MaxLongAggregatorFunctionSupplier(List.of(dataChannel)); case LONGS -> new MaxLongAggregatorFunctionSupplier();
case DOUBLES -> new MaxDoubleAggregatorFunctionSupplier(List.of(dataChannel)); case DOUBLES -> new MaxDoubleAggregatorFunctionSupplier();
default -> throw new IllegalArgumentException("unsupported data type [" + dataType + "]"); default -> throw new IllegalArgumentException("unsupported data type [" + dataType + "]");
}; };
case MIN -> switch (dataType) { case MIN -> switch (dataType) {
case LONGS -> new MinLongAggregatorFunctionSupplier(List.of(dataChannel)); case LONGS -> new MinLongAggregatorFunctionSupplier();
case DOUBLES -> new MinDoubleAggregatorFunctionSupplier(List.of(dataChannel)); case DOUBLES -> new MinDoubleAggregatorFunctionSupplier();
default -> throw new IllegalArgumentException("unsupported data type [" + dataType + "]"); default -> throw new IllegalArgumentException("unsupported data type [" + dataType + "]");
}; };
case SUM -> switch (dataType) { case SUM -> switch (dataType) {
case LONGS -> new SumLongAggregatorFunctionSupplier(List.of(dataChannel)); case LONGS -> new SumLongAggregatorFunctionSupplier();
case DOUBLES -> new SumDoubleAggregatorFunctionSupplier(List.of(dataChannel)); case DOUBLES -> new SumDoubleAggregatorFunctionSupplier();
default -> throw new IllegalArgumentException("unsupported data type [" + dataType + "]"); default -> throw new IllegalArgumentException("unsupported data type [" + dataType + "]");
}; };
default -> throw new IllegalArgumentException("unsupported op [" + op + "]"); default -> throw new IllegalArgumentException("unsupported op [" + op + "]");

View file

@ -22,7 +22,7 @@ public enum DockerBase {
// Chainguard based wolfi image with latest jdk // Chainguard based wolfi image with latest jdk
// This is usually updated via renovatebot // This is usually updated via renovatebot
// spotless:off // spotless:off
WOLFI("docker.elastic.co/wolfi/chainguard-base:latest@sha256:bd401704a162a7937cd1015f755ca9da9aba0fdf967fc6bf90bf8d3f6b2eb557", WOLFI("docker.elastic.co/wolfi/chainguard-base:latest@sha256:ecd940be9f342ee6173397c48f3df5bb410e95000f8726fd01759b6c39b0beda",
"-wolfi", "-wolfi",
"apk" "apk"
), ),

View file

@ -58,7 +58,6 @@ public class ElasticsearchJavaBasePlugin implements Plugin<Project> {
@Override @Override
public void apply(Project project) { public void apply(Project project) {
project.getRootProject().getPlugins().apply(GlobalBuildInfoPlugin.class);
// make sure the global build info plugin is applied to the root project // make sure the global build info plugin is applied to the root project
project.getRootProject().getPluginManager().apply(GlobalBuildInfoPlugin.class); project.getRootProject().getPluginManager().apply(GlobalBuildInfoPlugin.class);
buildParams = project.getRootProject().getExtensions().getByType(BuildParameterExtension.class); buildParams = project.getRootProject().getExtensions().getByType(BuildParameterExtension.class);

View file

@ -28,9 +28,9 @@ dependencies {
api "org.hamcrest:hamcrest:${versions.hamcrest}" api "org.hamcrest:hamcrest:${versions.hamcrest}"
// mockito // mockito
api 'org.mockito:mockito-core:5.11.0' api 'org.mockito:mockito-core:5.15.2'
api 'org.mockito:mockito-subclass:5.11.0' api 'org.mockito:mockito-subclass:5.15.2'
api 'net.bytebuddy:byte-buddy:1.14.12' api 'net.bytebuddy:byte-buddy:1.15.11'
api 'org.objenesis:objenesis:3.3' api 'org.objenesis:objenesis:3.3'
} }

View file

@ -1,6 +0,0 @@
pr: 117201
summary: "Use `field_caps` native nested fields filtering"
area: ES|QL
type: bug
issues:
- 117054

View file

@ -1,6 +0,0 @@
pr: 117504
summary: Fix NPE caused by race condition in async search when minimise round trips
is true
area: Search
type: bug
issues: []

View file

@ -1,6 +0,0 @@
pr: 119748
summary: Issue S3 web identity token refresh call with sufficient permissions
area: Snapshot/Restore
type: bug
issues:
- 119747

View file

@ -1,6 +0,0 @@
pr: 120014
summary: Fix potential file leak in ES816BinaryQuantizedVectorsWriter
area: Search
type: bug
issues:
- 119981

View file

@ -1,6 +0,0 @@
pr: 120062
summary: Update Text Similarity Reranker to Properly Handle Aliases
area: Ranking
type: bug
issues:
- 119617

View file

@ -1,6 +0,0 @@
pr: 120133
summary: Use approximation to advance matched queries
area: Search
type: bug
issues:
- 120130

View file

@ -1,7 +0,0 @@
pr: 120256
summary: Improve memory aspects of enrich cache
area: Ingest Node
type: enhancement
issues:
- 96050
- 120021

View file

@ -0,0 +1,5 @@
pr: 120355
summary: Ensure cluster string could be quoted
area: ES|QL
type: enhancement
issues: []

View file

@ -1,5 +0,0 @@
pr: 120483
summary: Fix NPE on disabled API auth key cache
area: Authentication
type: bug
issues: []

View file

@ -1,5 +0,0 @@
pr: 120590
summary: Map `scope.name` as a dimension
area: Data streams
type: bug
issues: []

View file

@ -1,6 +0,0 @@
pr: 120717
summary: Fix LTR rescorer throws 'local model reference is null' on multi-shards index when explained is enabled
area: Ranking
type: bug
issues:
- 120739

View file

@ -1,5 +0,0 @@
pr: 120781
summary: Add back `keep_alive` to `async_search.submit` rest-api-spec
area: Search
type: bug
issues: []

View file

@ -1,6 +0,0 @@
pr: 120809
summary: LTR sometines throw `NullPointerException:` Cannot read field "approximation"
because "top" is null
area: Ranking
type: bug
issues: []

View file

@ -1,6 +0,0 @@
pr: 120930
summary: Normalize negative scores for `text_similarity_reranker` retriever
area: Ranking
type: bug
issues:
- 120201

View file

@ -0,0 +1,5 @@
pr: 120998
summary: ES|QL `change_point` processing command
area: Machine Learning
type: feature
issues: []

View file

@ -1,5 +0,0 @@
pr: 121119
summary: Revert "Reduce Data Loss in System Indices Migration"
area: Infra/Core
type: bug
issues: []

View file

@ -0,0 +1,5 @@
pr: 121156
summary: Remove redundant sorts from execution plan
area: ES|QL
type: bug
issues: []

View file

@ -0,0 +1,5 @@
pr: 121196
summary: Fix geoip databases index access after system feature migration
area: Ingest Node
type: bug
issues: []

View file

@ -1,6 +0,0 @@
pr: 121231
summary: Fix inference update API calls with `task_type` in body or `deployment_id`
defined
area: Machine Learning
type: bug
issues: []

View file

@ -1,5 +0,0 @@
pr: 121283
summary: Cheaper snapshot-related `toString()` impls
area: Snapshot/Restore
type: bug
issues: []

View file

@ -0,0 +1,5 @@
pr: 121327
summary: Reduce Data Loss in System Indices Migration
area: Infra/Core
type: bug
issues: []

View file

@ -1,6 +0,0 @@
pr: 121428
summary: Fix infer on and elasticsearch service endpoint created with a deployment
id
area: Machine Learning
type: bug
issues: []

View file

@ -1,6 +0,0 @@
pr: 121559
summary: Skip Usage stats update when ML is disabled
area: Machine Learning
type: bug
issues:
- 121532

View file

@ -0,0 +1,11 @@
pr: 121667
summary: Add deprecation warning for flush API
area: Machine Learning
type: deprecation
issues:
- 121506
deprecation:
title: Add deprecation warning for flush API
area: REST API
details: The anomaly detection job flush API is deprecated since it is only required for the post data API, which was deprecated since 7.11.0.
impact: This should have a minimal impact on users as the flush API is only required for the post data API, which was deprecated since 7.11.0.

View file

@ -1,5 +0,0 @@
pr: 121715
summary: Fix synthetic source issue with deeply nested ignored source fields
area: Mapping
type: bug
issues: []

View file

@ -0,0 +1,5 @@
pr: 121720
summary: Skip fetching _inference_fields field in legacy semantic_text format
area: Search
type: bug
issues: []

View file

@ -0,0 +1,21 @@
pr: 121731
summary: Remove TLSv1.1 from default protocols
area: TLS
type: breaking
issues: []
breaking:
title: Remove TLSv1.1 from default protocols
area: Cluster and node setting
details: "TLSv1.1 is no longer enabled by default. Prior to version 9.0, Elasticsearch\
\ would attempt to enable TLSv1.1 if the JDK supported it. In most cases, including\
\ all cases where Elasticsearch 8 was running with the bundled JDK, the JDK would\
\ not support TLSv1.1, so that protocol would not be available in Elasticsearch.\
\ However, if Elasticsearch was running on an old JDK or a JDK that have been\
\ reconfigured to support TLSv1.1, then the protocol would automatically be available\
\ within Elasticsearch. As of Elasticsearch 9.0, this is no longer true. If you\
\ wish to enable TLSv1.1 then you must enable it within the JDK and also enable\
\ it within Elasticsearch by using the `ssl.supported_protocols` setting."
impact: "Most users will not be impacted. If your Elastisearch 8 cluster was using\
\ a custom JDK and you relied on TLSv1.1, then you will need to explicitly enable\
\ TLSv1.1 within Elasticsearch (as well as enabling it within your JDK)"
notable: false

View file

@ -0,0 +1,5 @@
pr: 121805
summary: Support subset of metrics in aggregate metric double
area: "ES|QL"
type: enhancement
issues: []

View file

@ -0,0 +1,6 @@
pr: 121821
summary: Fix get all inference endponts not returning multiple endpoints sharing model
deployment
area: Machine Learning
type: bug
issues: []

View file

@ -0,0 +1,6 @@
pr: 121843
summary: Fix async stop sometimes not properly collecting result
area: ES|QL
type: bug
issues:
- 121249

View file

@ -0,0 +1,5 @@
pr: 121850
summary: Take named parameters for identifier and pattern out of snapshot
area: ES|QL
type: enhancement
issues: []

View file

@ -0,0 +1,5 @@
pr: 121911
summary: Fix ENRICH validation for use of wildcards
area: ES|QL
type: bug
issues: []

View file

@ -0,0 +1,5 @@
pr: 122011
summary: Fix JOIN command validation (not supported)
area: EQL
type: bug
issues: []

View file

@ -0,0 +1,5 @@
pr: 122246
summary: Ensure removal of index blocks does not leave key with null value
area: Data streams
type: bug
issues: []

View file

@ -0,0 +1,5 @@
pr: 122278
summary: Fix serialising the inference update request
area: Machine Learning
type: bug
issues: []

View file

@ -1,6 +1,6 @@
{ {
"comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.", "comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.",
"type" : "eval", "type" : "scalar",
"name" : "abs", "name" : "abs",
"description" : "Returns the absolute value.", "description" : "Returns the absolute value.",
"signatures" : [ "signatures" : [

View file

@ -1,6 +1,6 @@
{ {
"comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.", "comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.",
"type" : "eval", "type" : "scalar",
"name" : "acos", "name" : "acos",
"description" : "Returns the arccosine of `n` as an angle, expressed in radians.", "description" : "Returns the arccosine of `n` as an angle, expressed in radians.",
"signatures" : [ "signatures" : [

View file

@ -1,6 +1,6 @@
{ {
"comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.", "comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.",
"type" : "eval", "type" : "scalar",
"name" : "asin", "name" : "asin",
"description" : "Returns the arcsine of the input\nnumeric expression as an angle, expressed in radians.", "description" : "Returns the arcsine of the input\nnumeric expression as an angle, expressed in radians.",
"signatures" : [ "signatures" : [

View file

@ -1,6 +1,6 @@
{ {
"comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.", "comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.",
"type" : "eval", "type" : "scalar",
"name" : "atan", "name" : "atan",
"description" : "Returns the arctangent of the input\nnumeric expression as an angle, expressed in radians.", "description" : "Returns the arctangent of the input\nnumeric expression as an angle, expressed in radians.",
"signatures" : [ "signatures" : [

View file

@ -1,6 +1,6 @@
{ {
"comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.", "comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.",
"type" : "eval", "type" : "scalar",
"name" : "atan2", "name" : "atan2",
"description" : "The angle between the positive x-axis and the ray from the\norigin to the point (x , y) in the Cartesian plane, expressed in radians.", "description" : "The angle between the positive x-axis and the ray from the\norigin to the point (x , y) in the Cartesian plane, expressed in radians.",
"signatures" : [ "signatures" : [

View file

@ -1,6 +1,6 @@
{ {
"comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.", "comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.",
"type" : "eval", "type" : "scalar",
"name" : "bit_length", "name" : "bit_length",
"description" : "Returns the bit length of a string.", "description" : "Returns the bit length of a string.",
"note" : "All strings are in UTF-8, so a single character can use multiple bytes.", "note" : "All strings are in UTF-8, so a single character can use multiple bytes.",

View file

@ -1,6 +1,6 @@
{ {
"comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.", "comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.",
"type" : "eval", "type" : "grouping",
"name" : "bucket", "name" : "bucket",
"description" : "Creates groups of values - buckets - out of a datetime or numeric input.\nThe size of the buckets can either be provided directly, or chosen based on a recommended count and values range.", "description" : "Creates groups of values - buckets - out of a datetime or numeric input.\nThe size of the buckets can either be provided directly, or chosen based on a recommended count and values range.",
"signatures" : [ "signatures" : [

View file

@ -1,6 +1,6 @@
{ {
"comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.", "comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.",
"type" : "eval", "type" : "scalar",
"name" : "byte_length", "name" : "byte_length",
"description" : "Returns the byte length of a string.", "description" : "Returns the byte length of a string.",
"note" : "All strings are in UTF-8, so a single character can use multiple bytes.", "note" : "All strings are in UTF-8, so a single character can use multiple bytes.",

View file

@ -1,6 +1,6 @@
{ {
"comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.", "comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.",
"type" : "eval", "type" : "scalar",
"name" : "case", "name" : "case",
"description" : "Accepts pairs of conditions and values. The function returns the value that\nbelongs to the first condition that evaluates to `true`.\n\nIf the number of arguments is odd, the last argument is the default value which\nis returned when no condition matches. If the number of arguments is even, and\nno condition matches, the function returns `null`.", "description" : "Accepts pairs of conditions and values. The function returns the value that\nbelongs to the first condition that evaluates to `true`.\n\nIf the number of arguments is odd, the last argument is the default value which\nis returned when no condition matches. If the number of arguments is even, and\nno condition matches, the function returns `null`.",
"signatures" : [ "signatures" : [

View file

@ -1,6 +1,6 @@
{ {
"comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.", "comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.",
"type" : "eval", "type" : "grouping",
"name" : "categorize", "name" : "categorize",
"description" : "Groups text messages into categories of similarly formatted text values.", "description" : "Groups text messages into categories of similarly formatted text values.",
"signatures" : [ "signatures" : [

View file

@ -1,6 +1,6 @@
{ {
"comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.", "comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.",
"type" : "eval", "type" : "scalar",
"name" : "cbrt", "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.", "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" : [ "signatures" : [

View file

@ -1,6 +1,6 @@
{ {
"comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.", "comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.",
"type" : "eval", "type" : "scalar",
"name" : "ceil", "name" : "ceil",
"description" : "Round a number up to the nearest integer.", "description" : "Round a number up to the nearest integer.",
"note" : "This is a noop for `long` (including unsigned) and `integer`. For `double` this picks the closest `double` value to the integer similar to Math.ceil.", "note" : "This is a noop for `long` (including unsigned) and `integer`. For `double` this picks the closest `double` value to the integer similar to Math.ceil.",

View file

@ -1,6 +1,6 @@
{ {
"comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.", "comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.",
"type" : "eval", "type" : "scalar",
"name" : "cidr_match", "name" : "cidr_match",
"description" : "Returns true if the provided IP is contained in one of the provided CIDR blocks.", "description" : "Returns true if the provided IP is contained in one of the provided CIDR blocks.",
"signatures" : [ "signatures" : [

View file

@ -1,6 +1,6 @@
{ {
"comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.", "comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.",
"type" : "eval", "type" : "scalar",
"name" : "coalesce", "name" : "coalesce",
"description" : "Returns the first of its arguments that is not null. If all arguments are null, it returns `null`.", "description" : "Returns the first of its arguments that is not null. If all arguments are null, it returns `null`.",
"signatures" : [ "signatures" : [

View file

@ -1,6 +1,6 @@
{ {
"comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.", "comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.",
"type" : "eval", "type" : "scalar",
"name" : "concat", "name" : "concat",
"description" : "Concatenates two or more strings.", "description" : "Concatenates two or more strings.",
"signatures" : [ "signatures" : [

View file

@ -1,6 +1,6 @@
{ {
"comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.", "comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.",
"type" : "eval", "type" : "scalar",
"name" : "cos", "name" : "cos",
"description" : "Returns the cosine of an angle.", "description" : "Returns the cosine of an angle.",
"signatures" : [ "signatures" : [

View file

@ -1,6 +1,6 @@
{ {
"comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.", "comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.",
"type" : "eval", "type" : "scalar",
"name" : "cosh", "name" : "cosh",
"description" : "Returns the hyperbolic cosine of a number.", "description" : "Returns the hyperbolic cosine of a number.",
"signatures" : [ "signatures" : [

View file

@ -1,6 +1,6 @@
{ {
"comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.", "comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.",
"type" : "eval", "type" : "scalar",
"name" : "date_diff", "name" : "date_diff",
"description" : "Subtracts the `startTimestamp` from the `endTimestamp` and returns the difference in multiples of `unit`.\nIf `startTimestamp` is later than the `endTimestamp`, negative values are returned.", "description" : "Subtracts the `startTimestamp` from the `endTimestamp` and returns the difference in multiples of `unit`.\nIf `startTimestamp` is later than the `endTimestamp`, negative values are returned.",
"signatures" : [ "signatures" : [

View file

@ -1,6 +1,6 @@
{ {
"comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.", "comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.",
"type" : "eval", "type" : "scalar",
"name" : "date_extract", "name" : "date_extract",
"description" : "Extracts parts of a date, like year, month, day, hour.", "description" : "Extracts parts of a date, like year, month, day, hour.",
"signatures" : [ "signatures" : [

View file

@ -1,6 +1,6 @@
{ {
"comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.", "comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.",
"type" : "eval", "type" : "scalar",
"name" : "date_format", "name" : "date_format",
"description" : "Returns a string representation of a date, in the provided format.", "description" : "Returns a string representation of a date, in the provided format.",
"signatures" : [ "signatures" : [

View file

@ -1,6 +1,6 @@
{ {
"comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.", "comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.",
"type" : "eval", "type" : "scalar",
"name" : "date_parse", "name" : "date_parse",
"description" : "Returns a date by parsing the second argument using the format specified in the first argument.", "description" : "Returns a date by parsing the second argument using the format specified in the first argument.",
"signatures" : [ "signatures" : [

View file

@ -1,6 +1,6 @@
{ {
"comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.", "comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.",
"type" : "eval", "type" : "scalar",
"name" : "date_trunc", "name" : "date_trunc",
"description" : "Rounds down a date to the closest interval.", "description" : "Rounds down a date to the closest interval.",
"signatures" : [ "signatures" : [

View file

@ -1,6 +1,6 @@
{ {
"comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.", "comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.",
"type" : "eval", "type" : "scalar",
"name" : "e", "name" : "e",
"description" : "Returns Euler's number.", "description" : "Returns Euler's number.",
"signatures" : [ "signatures" : [

View file

@ -1,6 +1,6 @@
{ {
"comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.", "comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.",
"type" : "eval", "type" : "scalar",
"name" : "ends_with", "name" : "ends_with",
"description" : "Returns a boolean that indicates whether a keyword string ends with another string.", "description" : "Returns a boolean that indicates whether a keyword string ends with another string.",
"signatures" : [ "signatures" : [

View file

@ -1,6 +1,6 @@
{ {
"comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.", "comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.",
"type" : "eval", "type" : "scalar",
"name" : "exp", "name" : "exp",
"description" : "Returns the value of e raised to the power of the given number.", "description" : "Returns the value of e raised to the power of the given number.",
"signatures" : [ "signatures" : [

View file

@ -1,6 +1,6 @@
{ {
"comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.", "comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.",
"type" : "eval", "type" : "scalar",
"name" : "floor", "name" : "floor",
"description" : "Round a number down to the nearest integer.", "description" : "Round a number down to the nearest integer.",
"note" : "This is a noop for `long` (including unsigned) and `integer`.\nFor `double` this picks the closest `double` value to the integer\nsimilar to Math.floor.", "note" : "This is a noop for `long` (including unsigned) and `integer`.\nFor `double` this picks the closest `double` value to the integer\nsimilar to Math.floor.",

View file

@ -1,6 +1,6 @@
{ {
"comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.", "comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.",
"type" : "eval", "type" : "scalar",
"name" : "from_base64", "name" : "from_base64",
"description" : "Decode a base64 string.", "description" : "Decode a base64 string.",
"signatures" : [ "signatures" : [

View file

@ -1,6 +1,6 @@
{ {
"comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.", "comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.",
"type" : "eval", "type" : "scalar",
"name" : "greatest", "name" : "greatest",
"description" : "Returns the maximum value from multiple columns. This is similar to <<esql-mv_max>>\nexcept it is intended to run on multiple columns at once.", "description" : "Returns the maximum value from multiple columns. This is similar to <<esql-mv_max>>\nexcept it is intended to run on multiple columns at once.",
"note" : "When run on `keyword` or `text` fields, this returns the last string in alphabetical order. When run on `boolean` columns this will return `true` if any values are `true`.", "note" : "When run on `keyword` or `text` fields, this returns the last string in alphabetical order. When run on `boolean` columns this will return `true` if any values are `true`.",

View file

@ -1,6 +1,6 @@
{ {
"comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.", "comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.",
"type" : "eval", "type" : "scalar",
"name" : "hash", "name" : "hash",
"description" : "Computes the hash of the input using various algorithms such as MD5, SHA, SHA-224, SHA-256, SHA-384, SHA-512.", "description" : "Computes the hash of the input using various algorithms such as MD5, SHA, SHA-224, SHA-256, SHA-384, SHA-512.",
"signatures" : [ "signatures" : [

View file

@ -1,6 +1,6 @@
{ {
"comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.", "comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.",
"type" : "eval", "type" : "scalar",
"name" : "hypot", "name" : "hypot",
"description" : "Returns the hypotenuse of two numbers. The input can be any numeric values, the return value is always a double.\nHypotenuses of infinities are null.", "description" : "Returns the hypotenuse of two numbers. The input can be any numeric values, the return value is always a double.\nHypotenuses of infinities are null.",
"signatures" : [ "signatures" : [

View file

@ -1,6 +1,6 @@
{ {
"comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.", "comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.",
"type" : "eval", "type" : "scalar",
"name" : "ip_prefix", "name" : "ip_prefix",
"description" : "Truncates an IP to a given prefix length.", "description" : "Truncates an IP to a given prefix length.",
"signatures" : [ "signatures" : [

View file

@ -1,6 +1,6 @@
{ {
"comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.", "comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.",
"type" : "eval", "type" : "scalar",
"name" : "kql", "name" : "kql",
"description" : "Performs a KQL query. Returns true if the provided KQL query string matches the row.", "description" : "Performs a KQL query. Returns true if the provided KQL query string matches the row.",
"signatures" : [ "signatures" : [

View file

@ -1,6 +1,6 @@
{ {
"comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.", "comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.",
"type" : "eval", "type" : "scalar",
"name" : "least", "name" : "least",
"description" : "Returns the minimum value from multiple columns. This is similar to <<esql-mv_min>> except it is intended to run on multiple columns at once.", "description" : "Returns the minimum value from multiple columns. This is similar to <<esql-mv_min>> except it is intended to run on multiple columns at once.",
"signatures" : [ "signatures" : [

View file

@ -1,6 +1,6 @@
{ {
"comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.", "comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.",
"type" : "eval", "type" : "scalar",
"name" : "left", "name" : "left",
"description" : "Returns the substring that extracts 'length' chars from 'string' starting from the left.", "description" : "Returns the substring that extracts 'length' chars from 'string' starting from the left.",
"signatures" : [ "signatures" : [

View file

@ -1,6 +1,6 @@
{ {
"comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.", "comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.",
"type" : "eval", "type" : "scalar",
"name" : "length", "name" : "length",
"description" : "Returns the character length of a string.", "description" : "Returns the character length of a string.",
"note" : "All strings are in UTF-8, so a single character can use multiple bytes.", "note" : "All strings are in UTF-8, so a single character can use multiple bytes.",

View file

@ -1,6 +1,6 @@
{ {
"comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.", "comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.",
"type" : "eval", "type" : "scalar",
"name" : "locate", "name" : "locate",
"description" : "Returns an integer that indicates the position of a keyword substring within another string.\nReturns `0` if the substring cannot be found.\nNote that string positions start from `1`.", "description" : "Returns an integer that indicates the position of a keyword substring within another string.\nReturns `0` if the substring cannot be found.\nNote that string positions start from `1`.",
"signatures" : [ "signatures" : [

View file

@ -1,6 +1,6 @@
{ {
"comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.", "comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.",
"type" : "eval", "type" : "scalar",
"name" : "log", "name" : "log",
"description" : "Returns the logarithm of a value to a base. The input can be any numeric value, the return value is always a double.\n\nLogs of zero, negative numbers, and base of one return `null` as well as a warning.", "description" : "Returns the logarithm of a value to a base. The input can be any numeric value, the return value is always a double.\n\nLogs of zero, negative numbers, and base of one return `null` as well as a warning.",
"signatures" : [ "signatures" : [

View file

@ -1,6 +1,6 @@
{ {
"comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.", "comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.",
"type" : "eval", "type" : "scalar",
"name" : "log10", "name" : "log10",
"description" : "Returns the logarithm of a value to base 10. The input can be any numeric value, the return value is always a double.\n\nLogs of 0 and negative numbers return `null` as well as a warning.", "description" : "Returns the logarithm of a value to base 10. The input can be any numeric value, the return value is always a double.\n\nLogs of 0 and negative numbers return `null` as well as a warning.",
"signatures" : [ "signatures" : [

View file

@ -1,6 +1,6 @@
{ {
"comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.", "comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.",
"type" : "eval", "type" : "scalar",
"name" : "ltrim", "name" : "ltrim",
"description" : "Removes leading whitespaces from a string.", "description" : "Removes leading whitespaces from a string.",
"signatures" : [ "signatures" : [

View file

@ -1,6 +1,6 @@
{ {
"comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.", "comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.",
"type" : "eval", "type" : "scalar",
"name" : "match", "name" : "match",
"description" : "Use `MATCH` to perform a <<query-dsl-match-query,match query>> on the specified field.\nUsing `MATCH` is equivalent to using the `match` query in the Elasticsearch Query DSL.\n\nMatch can be used on fields from the text family like <<text, text>> and <<semantic-text, semantic_text>>,\nas well as other field types like keyword, boolean, dates, and numeric types.\n\nMatch can use <<esql-function-named-params,function named parameters>> to specify additional options for the match query.\nAll <<match-field-params,match query parameters>> are supported.\n\nFor a simplified syntax, you can use the <<esql-search-operators,match operator>> `:` operator instead of `MATCH`.\n\n`MATCH` returns true if the provided query matches the row.", "description" : "Use `MATCH` to perform a <<query-dsl-match-query,match query>> on the specified field.\nUsing `MATCH` is equivalent to using the `match` query in the Elasticsearch Query DSL.\n\nMatch can be used on fields from the text family like <<text, text>> and <<semantic-text, semantic_text>>,\nas well as other field types like keyword, boolean, dates, and numeric types.\n\nMatch can use <<esql-function-named-params,function named parameters>> to specify additional options for the match query.\nAll <<match-field-params,match query parameters>> are supported.\n\nFor a simplified syntax, you can use the <<esql-search-operators,match operator>> `:` operator instead of `MATCH`.\n\n`MATCH` returns true if the provided query matches the row.",
"signatures" : [ "signatures" : [

View file

@ -1,6 +1,6 @@
{ {
"comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.", "comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.",
"type" : "eval", "type" : "scalar",
"name" : "md5", "name" : "md5",
"description" : "Computes the MD5 hash of the input.", "description" : "Computes the MD5 hash of the input.",
"signatures" : [ "signatures" : [

View file

@ -1,6 +1,6 @@
{ {
"comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.", "comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.",
"type" : "eval", "type" : "scalar",
"name" : "mv_append", "name" : "mv_append",
"description" : "Concatenates values of two multi-value fields.", "description" : "Concatenates values of two multi-value fields.",
"signatures" : [ "signatures" : [

View file

@ -1,6 +1,6 @@
{ {
"comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.", "comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.",
"type" : "eval", "type" : "scalar",
"name" : "mv_avg", "name" : "mv_avg",
"description" : "Converts a multivalued field into a single valued field containing the average of all of the values.", "description" : "Converts a multivalued field into a single valued field containing the average of all of the values.",
"signatures" : [ "signatures" : [

View file

@ -1,6 +1,6 @@
{ {
"comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.", "comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.",
"type" : "eval", "type" : "scalar",
"name" : "mv_concat", "name" : "mv_concat",
"description" : "Converts a multivalued string expression into a single valued column containing the concatenation of all values separated by a delimiter.", "description" : "Converts a multivalued string expression into a single valued column containing the concatenation of all values separated by a delimiter.",
"signatures" : [ "signatures" : [

View file

@ -1,6 +1,6 @@
{ {
"comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.", "comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.",
"type" : "eval", "type" : "scalar",
"name" : "mv_count", "name" : "mv_count",
"description" : "Converts a multivalued expression into a single valued column containing a count of the number of values.", "description" : "Converts a multivalued expression into a single valued column containing a count of the number of values.",
"signatures" : [ "signatures" : [

View file

@ -1,6 +1,6 @@
{ {
"comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.", "comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.",
"type" : "eval", "type" : "scalar",
"name" : "mv_dedupe", "name" : "mv_dedupe",
"description" : "Remove duplicate values from a multivalued field.", "description" : "Remove duplicate values from a multivalued field.",
"note" : "`MV_DEDUPE` may, but won't always, sort the values in the column.", "note" : "`MV_DEDUPE` may, but won't always, sort the values in the column.",

View file

@ -1,6 +1,6 @@
{ {
"comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.", "comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.",
"type" : "eval", "type" : "scalar",
"name" : "mv_first", "name" : "mv_first",
"description" : "Converts a multivalued expression into a single valued column containing the\nfirst value. This is most useful when reading from a function that emits\nmultivalued columns in a known order like <<esql-split>>.", "description" : "Converts a multivalued expression into a single valued column containing the\nfirst value. This is most useful when reading from a function that emits\nmultivalued columns in a known order like <<esql-split>>.",
"signatures" : [ "signatures" : [

View file

@ -1,6 +1,6 @@
{ {
"comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.", "comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.",
"type" : "eval", "type" : "scalar",
"name" : "mv_last", "name" : "mv_last",
"description" : "Converts a multivalue expression into a single valued column containing the last\nvalue. This is most useful when reading from a function that emits multivalued\ncolumns in a known order like <<esql-split>>.", "description" : "Converts a multivalue expression into a single valued column containing the last\nvalue. This is most useful when reading from a function that emits multivalued\ncolumns in a known order like <<esql-split>>.",
"signatures" : [ "signatures" : [

View file

@ -1,6 +1,6 @@
{ {
"comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.", "comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.",
"type" : "eval", "type" : "scalar",
"name" : "mv_max", "name" : "mv_max",
"description" : "Converts a multivalued expression into a single valued column containing the maximum value.", "description" : "Converts a multivalued expression into a single valued column containing the maximum value.",
"signatures" : [ "signatures" : [

View file

@ -1,6 +1,6 @@
{ {
"comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.", "comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.",
"type" : "eval", "type" : "scalar",
"name" : "mv_median", "name" : "mv_median",
"description" : "Converts a multivalued field into a single valued field containing the median value.", "description" : "Converts a multivalued field into a single valued field containing the median value.",
"signatures" : [ "signatures" : [

View file

@ -1,6 +1,6 @@
{ {
"comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.", "comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.",
"type" : "eval", "type" : "scalar",
"name" : "mv_median_absolute_deviation", "name" : "mv_median_absolute_deviation",
"description" : "Converts a multivalued field into a single valued field containing the median absolute deviation.\n\nIt is calculated as the median of each data point's deviation from the median of the entire sample. That is, for a random variable `X`, the median absolute deviation is `median(|median(X) - X|)`.", "description" : "Converts a multivalued field into a single valued field containing the median absolute deviation.\n\nIt is calculated as the median of each data point's deviation from the median of the entire sample. That is, for a random variable `X`, the median absolute deviation is `median(|median(X) - X|)`.",
"note" : "If the field has an even number of values, the medians will be calculated as the average of the middle two values. If the value is not a floating point number, the averages are rounded towards 0.", "note" : "If the field has an even number of values, the medians will be calculated as the average of the middle two values. If the value is not a floating point number, the averages are rounded towards 0.",

View file

@ -1,6 +1,6 @@
{ {
"comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.", "comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.",
"type" : "eval", "type" : "scalar",
"name" : "mv_min", "name" : "mv_min",
"description" : "Converts a multivalued expression into a single valued column containing the minimum value.", "description" : "Converts a multivalued expression into a single valued column containing the minimum value.",
"signatures" : [ "signatures" : [

View file

@ -1,6 +1,6 @@
{ {
"comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.", "comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.",
"type" : "eval", "type" : "scalar",
"name" : "mv_percentile", "name" : "mv_percentile",
"description" : "Converts a multivalued field into a single valued field containing the value at which a certain percentage of observed values occur.", "description" : "Converts a multivalued field into a single valued field containing the value at which a certain percentage of observed values occur.",
"signatures" : [ "signatures" : [

View file

@ -1,6 +1,6 @@
{ {
"comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.", "comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.",
"type" : "eval", "type" : "scalar",
"name" : "mv_pseries_weighted_sum", "name" : "mv_pseries_weighted_sum",
"description" : "Converts a multivalued expression into a single-valued column by multiplying every element on the input list by its corresponding term in P-Series and computing the sum.", "description" : "Converts a multivalued expression into a single-valued column by multiplying every element on the input list by its corresponding term in P-Series and computing the sum.",
"signatures" : [ "signatures" : [

Some files were not shown because too many files have changed in this diff Show more