./gradlew ":x-pack:plugin:esql:qa:server:mixed-cluster:v9.0.8#javaRestTest" -Dtests.class="org.elasticsearch.xpack.esql.qa.mixed.MixedClusterEsqlSpecIT" -Dtests.method="test {csv-spec:stats.CountDistinctWithConditions}" -Dtests.seed=48509ED24BF7EB86 -Dtests.bwc=true -Dtests.locale=ar-QA -Dtests.timezone=Atlantic/Canary -Druntime.java=24
org.elasticsearch.client.ResponseException: method [GET], host [http://[::1]:35291], URI [/_query/async/FmpaN0FHeDZ3U19tVXZROFV0aHFtckEcaGZYamxyUHdURDJmazZJM3BtLVJPZzoyNTk0Ng==?wait_for_completion_timeout=6000s&pretty=true&error_trace=true], status line [HTTP/1.1 400 Bad Request]
Warnings: [No limit defined, adding default limit of [1000]]
{
"error" : {
"root_cause" : [
{
"type" : "verification_exception",
"reason" : "verification_exception: Found 1 problem\nline 3:21: Unknown function [TO_AGGREGATE_METRIC_DOUBLE]",
"stack_trace" : "org.elasticsearch.xpack.esql.VerificationException: verification_exception: Found 1 problem\nline 3:21: Unknown function [TO_AGGREGATE_METRIC_DOUBLE]\n\tat org.elasticsearch.xpack.esql.analysis.Analyzer.verify(Analyzer.java:194)\n\tat org.elasticsearch.xpack.esql.analysis.Analyzer.analyze(Analyzer.java:188)\n\tat org.elasticsearch.xpack.esql.session.EsqlSession.lambda$analyzedPlan$7(EsqlSession.java:317)\n\tat org.elastic
[truncated]
Build Scans:
Reproduction Line:
Applicable branches:
main
Reproduces locally?:
N/A
Failure History:
See dashboard
Failure Message:
Issue Reasons:
Note:
This issue was created using new test triage automation. Please report issues or feedback to es-delivery.