Skip to content

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

@noCharger

Description

@noCharger

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions