Skip to content

ES|QL: Better error messages for FUSE when required columns are missing #141580

@ioanatia

Description

@ioanatia

FUSE by default looks for the _id, _index, _score and _fork columns.
When one of these are missing, because we don't have METADATA _id, _index, _score or don't use FORK, we return the standard error message when UnresolvedAttributes are left in the analyzed plan.

For example:

FROM wikipedia
| FORK (WHERE title:"Europe")
       (WHERE content:"Europe")
| FUSE

Errors:

line 5:3: Unknown column [_id]
line 5:3: Unknown column [_index]
line 5:3: Unknown column [_score]"""

we can improve these messages to explain that FUSE could not find a column to score on, to group by etc

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions