Skip to content

ESQL: columns lost with simple INLINESTATS query. EsqlSession.fieldNames test coverage needed #127236

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
astefan opened this issue Apr 23, 2025 · 1 comment · May be fixed by #127564
Open

ESQL: columns lost with simple INLINESTATS query. EsqlSession.fieldNames test coverage needed #127236

astefan opened this issue Apr 23, 2025 · 1 comment · May be fixed by #127564
Labels
:Analytics/ES|QL AKA ESQL >bug Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo)

Comments

@astefan
Copy link
Contributor

astefan commented Apr 23, 2025

Description

FROM employees | INLINESTATS max_salary = MAX(salary) by languages

results in (only columns provided below)

languages.byte |languages.long |languages.short|    salary     |  max_salary   |   languages   

which is missing quite a big bunch of the initial columns. This shows a big lack of support (and testing coverage) in EsqlSession.fieldNames method.

@elasticsearchmachine elasticsearchmachine added the Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) label Apr 23, 2025
@elasticsearchmachine
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Analytics/ES|QL AKA ESQL >bug Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants