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
SQL: query with PIVOT fails when aliasing the subquery #49160
Comments
Pinging @elastic/es-search (:Search/SQL) |
The same error message happens for sub-selects as well (no PIVOT present): |
To further clarify the above statement: the non-PIVOT query given as example in the comment further up:
returns in 7.13 with no failure (but incorrect result) and fails in 7.14 and above thanks to #75517. The original failing PIVOT query:
still fails in 7.14 and later, though now with a different stack:
|
Pinging @elastic/es-analytical-engine (Team:Analytics) |
Aliasing the subquery of a query with PIVOT:
fails with below exception:
The text was updated successfully, but these errors were encountered: