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] OpenSearch API - {"message":"{\"Message\":\"Fail to run query. Cause: Not a map type: string\"}"} #797

Open
A-Gray-Cat opened this issue Oct 21, 2024 · 1 comment
Assignees
Labels
bug Something isn't working Lang:PPL Pipe Processing Language support

Comments

@A-Gray-Cat
Copy link

A-Gray-Cat commented Oct 21, 2024

What is the bug?
I tried to execute a PPL query using the API, and I got the following error: {"message":"{\"Message\":\"Fail to run query. Cause: Not a map type: string\"}"}

The same query would return results successfully in an OpenSearch domain.

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

  1. Issue an API request to include a query similar to this one:
source = amazon_security_lake_glue_db_us_west_2.amazon_security_lake_table_us_west_2_lambda_execution_2_0 | where time_dt >= timestamp('"'"'2024-10-07'"'"') | fields accountid, region | head 10

What is the expected behavior?
The query should return 10 rows of data that include "accountid", and "region" as columns.

What is your host/environment?

  • OS: [e.g. iOS]
  • Version [e.g. 22]
  • Plugins

Do you have any screenshots?
If applicable, add screenshots to help explain your problem.

Do you have any additional context?
Add any other context about the problem.

@A-Gray-Cat A-Gray-Cat added bug Something isn't working untriaged labels Oct 21, 2024
@A-Gray-Cat A-Gray-Cat changed the title [BUG] OpenSearch DQS API - {"message":"{\"Message\":\"Fail to run query. Cause: Not a map type: string\"}"} [BUG] OpenSearch API - {"message":"{\"Message\":\"Fail to run query. Cause: Not a map type: string\"}"} Oct 21, 2024
@YANG-DB YANG-DB self-assigned this Oct 21, 2024
@YANG-DB YANG-DB added the Lang:PPL Pipe Processing Language support label Oct 21, 2024
@dblock dblock removed the untriaged label Nov 11, 2024
@dblock
Copy link
Member

dblock commented Nov 11, 2024

[Catch All Triage - 1, 2, 3, 4]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Lang:PPL Pipe Processing Language support
Projects
None yet
Development

No branches or pull requests

3 participants