You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the bug?
When a query is made with the Async Query API that will contain a (possibly generated) date field in the results, an exception is returned when trying to retrieve the results.
The results are correct in the query_execution_result_[DATASOURCE] index. OpenSearch fails when trying to parse the dates, with an error about the values not using the timestamp format.
{
"status": 500,
"error": {
"type": "SemanticCheckException",
"reason": "There was internal problem at backend",
"details": "timestamp:2024-06-16 in unsupported format, please use \u0027yyyy-MM-dd HH:mm:ss[.SSSSSSSSS]\u0027"
}
}
This was observed with the integ-test docker cluster. Most likely also applies to Glue/S3.
How can one reproduce the bug?
Steps to reproduce the behavior:
Start an OpenSearch environment with an S3/Glue datasource. Could use the integ-test cluster.
What is the expected behavior?
The results are returned properly. The field type in the example is date, so a value of 2024-06-16 should get parsed correctly.
What is your host/environment?
integ-test docker cluster from this repository
Do you have any screenshots?
No
Do you have any additional context?
No
The text was updated successfully, but these errors were encountered:
What is the bug?
When a query is made with the Async Query API that will contain a (possibly generated) date field in the results, an exception is returned when trying to retrieve the results.
The results are correct in the
query_execution_result_[DATASOURCE]
index. OpenSearch fails when trying to parse the dates, with an error about the values not using the timestamp format.This was observed with the
integ-test
docker cluster. Most likely also applies to Glue/S3.How can one reproduce the bug?
Steps to reproduce the behavior:
integ-test
cluster.people
using this file https://github.com/Bit-Quill/opensearch-spark/blob/e2e-spark-ppl-tests/e2e-test/src/test/resources/spark/tables/people.parquetquery_execution_result_[DATASOURCE]
index. The results for the query from (3) is present and looks correct.What is the expected behavior?
The results are returned properly. The field type in the example is
date
, so a value of2024-06-16
should get parsed correctly.What is your host/environment?
Do you have any screenshots?
No
Do you have any additional context?
No
The text was updated successfully, but these errors were encountered: