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

[BUG] Unable to handle get async query result #419

Open
noCharger opened this issue Nov 14, 2024 · 0 comments
Open

[BUG] Unable to handle get async query result #419

noCharger opened this issue Nov 14, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@noCharger
Copy link

What is the bug?

https://github.com/opensearch-project/dashboards-query-workbench/blame/70742b8cd3d0f3bbec2373366673703b337a29a3/common/utils/async_query_helpers.ts#L82-L137

When API returned the following response:

"{\n "status": 500,\n "error": {\n "type": "SemanticCheckException",\n "reason": "There was internal problem at backend",\n "details": "timestamp:2010-02-11 in unsupported format, please use \u0027yyyy-MM-dd HH:mm:ss[.SSSSSSSSS]\u0027"\n }\n}"

query workbench returned:

Failed to query status

How can one reproduce the bug?
Steps to reproduce the behavior:

  1. Go to query workbench
  2. Click to select any data source
  3. Type select date('2010-02-11')
  4. See error

What is the expected behavior?
Show detailed error message or a general message like "There was internal problem at backend"

Do you have any screenshots?

Screenshot 2024-11-13 at 16 34 58

Do you have any additional context?
opensearch-project/opensearch-spark#875

@noCharger noCharger added bug Something isn't working untriaged labels Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants