Skip to content
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: Enhance error messages for ordinals and ref aliases #51636

Closed
matriv opened this issue Jan 29, 2020 · 3 comments
Closed

SQL: Enhance error messages for ordinals and ref aliases #51636

matriv opened this issue Jan 29, 2020 · 3 comments
Labels
:Analytics/SQL SQL querying >enhancement Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo)

Comments

@matriv
Copy link
Contributor

matriv commented Jan 29, 2020

Currently the Verifier produces error messages that refer to the original position of the referenced field in the SELECT clause instead of the position where the offending field is actually used. e.g.:

SELECT ST_AsWKT(shape) AS s FROM test WHERE s = 'point (10 20)'

Produces an error message like:

1:17: geo shapes cannot be used for filtering

instead of mentioning position: 1:45 and maybe the reference to the original field shape

@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-search (:Search/SQL)

@rjernst rjernst added the Team:QL (Deprecated) Meta label for query languages team label May 4, 2020
@wchaparro wchaparro removed the Team:QL (Deprecated) Meta label for query languages team label Jan 17, 2024
@elasticsearchmachine
Copy link
Collaborator

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

@elasticsearchmachine elasticsearchmachine added the Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) label Jan 17, 2024
@wchaparro
Copy link
Member

Superceded by ES|QL

@wchaparro wchaparro closed this as not planned Won't fix, can't repro, duplicate, stale Mar 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Analytics/SQL SQL querying >enhancement Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo)
Projects
None yet
Development

No branches or pull requests

5 participants