-
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
[BUG] Unable to run queries in documentation #1575
Comments
@ksco92, |
@Yury-Fridlyand no, it was recently created with CDK directly on 2.3. I actually have this issue in 6 different clusters, all of different sizes, across 5 different AWS accounts and 2 different regions. |
IDK if this is relevant here, but I filed this too: |
Can you share please your CDK script if possible? I'd like to re-run it and reproduce the issue. |
@Yury-Fridlyand Decoupling the infrastructure sensitive details is a little complicated, but here is the actual Construct that creates the domain. After this, there are no settings changed at all:
In summary, it's in a private VPC, uses cognito for dashboards auth and has custom endpoint. This is in CDK V2: https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_opensearchservice.Domain.html |
Awesome! |
@ksco92, |
I'm closing this issue for now. Please, try updating your OpenSearch cluster if these functions are essential for you. |
@Yury-Fridlyand this was helpful thanks! One last question, did I miss this detail just because the OS docs are not versioned? |
They are versioned by git. Select a version in the branch selector on the left: |
What is the bug?
A clear and concise description of the bug.
I have AWS OS cluster running version 2.3. I am unable to run the following queries when I make an HTTP request:
All of them return the same:
Allo those queries are actually copied from the docs: https://github.com/opensearch-project/sql/blob/main/docs/user/dql/functions.rst
This also happens in the query workbench in the UI, running:
select sysdate();
Returns:
Select sysdate(): Bad Request, this query is not runnable.
How can one reproduce the bug?
Steps to reproduce the behavior:
It can be reproduced by spinning up a OS cluster on 2.3 and sending a request with any of the queries above.
What is the expected behavior?
The queries should return the expected results listed in the documentation.
What is your host/environment?
Do you have any screenshots?
If applicable, add screenshots to help explain your problem.
Do you have any additional context?
The requests are SigV4 signed and sent via the elasticsearch plugin from DataGrip. Other queries run properly:
Returns:
The text was updated successfully, but these errors were encountered: