We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
What is the bug?
https://github.com/opensearch-project/sql/blob/main/spark/src/main/java/org/opensearch/sql/spark/client/EmrServerlessClientImpl.java#L62-L74
All exceptions are cast to RuntimeException and if not handled properly it will pops up to the top layer
https://github.com/opensearch-project/sql/blob/main/spark/src/main/java/org/opensearch/sql/spark/rest/RestAsyncQueryManagementAction.java#L180-L200
{ "status": 500, "error": { "type": "RuntimeException", "reason": "There was internal problem at backend", "details": "Internal Server Error." } }
How can one reproduce the bug?
create index xxx on xxx.xxx.xxx (clientip, year) WITH ( auto_refresh=true, checkpoint_location = 'xxx' )'
What is the expected behavior?
com.amazonaws.services.emrserverless.model.ValidationException: Unmatched quote at index 2083 (Service: AWSEMRServerless; Status Code: 400; Error Code: ValidationException; Request ID: xxx; Proxy: null)
This should be a 400 instead of 500
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What is the bug?
https://github.com/opensearch-project/sql/blob/main/spark/src/main/java/org/opensearch/sql/spark/client/EmrServerlessClientImpl.java#L62-L74
All exceptions are cast to RuntimeException and if not handled properly it will pops up to the top layer
https://github.com/opensearch-project/sql/blob/main/spark/src/main/java/org/opensearch/sql/spark/rest/RestAsyncQueryManagementAction.java#L180-L200
How can one reproduce the bug?
What is the expected behavior?
This should be a 400 instead of 500
The text was updated successfully, but these errors were encountered: