-
Notifications
You must be signed in to change notification settings - Fork 30
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
[FEATURE] [IMPROVEMENT] PPL Error needs improvement #5
Comments
Every time I need to understand why it's failing, I need to do it directly via API. This makes it cumbersome to use the Workbench. Example: |
Meta fields are not available for querying at the moment. I think your issue is very similar to opensearch-project/sql#639, opensearch-project/sql#432 and opensearch-project/sql#339. |
There was issue and PR for the second question regarding error message: opendistro-for-elasticsearch/sql#872 But later the changes were reverted for some reason: opensearch-project/sql@5cea8b4 |
@Yury-Fridlyand "index" in this case was a field on the document, not the meta field. |
Is your feature request related to a problem?
I am writing PPL to query an index and just display some fields. If I run
source=moviegeek-logs-*
I see fields like
trace_id, method, span_id, index
I can run
source=moviegeek-logs-* | fields trace_id, span_id, method
and get the expected table.If I add
index
:source=moviegeek-logs-* | fields trace_id, span_id, method, index
I get the following error in the output panel:Events: Bad Request, this query is not runnable.
What solution would you like?
Better error messaging around syntax and other problems
What alternatives have you considered?
None
Do you have any additional context?
None
The text was updated successfully, but these errors were encountered: