Skip to content

[ES|QL] Error on request with named params gives wrong line,column information #120778

@stratoula

Description

@stratoula

Elasticsearch Version

9.0

Installed Plugins

No response

Java Version

bundled

OS Version

Darwin Kernel Version 22.6.0

Problem Description

When I send a query like from kibana_sample_data_logs | STATS var0 = AVG(?field) without sending the value the response has the wrong line/column. As a result the kibana highlighter doesnt work properly

Error: line -1:-1: line 1:49: Unknown query parameter [field] 
Image

Steps to Reproduce

Just send a query with a named param without sending the value in the payload

Logs (if relevant)

No response

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions