-
Notifications
You must be signed in to change notification settings - Fork 141
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
Unable to query Data Stream[BUG] #1758
Comments
Hi, just wanted to check in and ask about the status of the following issue? Thanks |
Does it work if you remove the quotes in the from clause? |
@forestmvey Removing the quotes results in the same error. |
I reproduced and found the root case. As we discussed in opensearch-project/sql-jdbc#90, a java application which uses JDBC driver sets Now, a bit of technical details: SQL plugin has 2 engines, V2 supports paging only So having a paged query which is more complex than There are two ways of solving this problem:
|
What is the bug?
Querying a Data stream is successful when query is being executed directly using SQL plugin in OpenSearch Dashboard, however, causes an error when using the JDBC driver.
How can one reproduce the bug?
Steps to reproduce the behavior:
or AWS documentation on managing time-series data in Amazon Opensearch Service
What is the expected behavior?
Querying Data stream using JDBC driver should result in same behavior as SQL plugin.
What is your host/environment?
Do you have any screenshots?
SELECT "message", "@timestamp" FROM "datalogs-test"
Error Message when using JDBC Driver:
The text was updated successfully, but these errors were encountered: