elastic / elasticsearch

Free and Open Source, Distributed, RESTful Search Engine
https://www.elastic.co/products/elasticsearch
Other
887 stars 24.81k forks source link

ES|QL: enhancing the error message when missing indices #112132

Open astefan opened 2 months ago

astefan commented 2 months ago

Description

This is a follow-up issue spawning from this comment in a previous PR touching on these error messages. Basically, to have a consistent error message dealing with missing indices when running ES|QL queries, we should have a consistent messaging. Right now, one message comes from the IndexResolver and another one comes from ES itself while it tries to resolve an index pattern.

elasticsearchmachine commented 2 months ago

Pinging @elastic/es-analytical-engine (Team:Analytics)