-
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] Index patterns in nested collection queries #1542
Comments
@parked-toes Thanks for reporting the issue! I guess this is because the PartiQL in legacy engine doesn't support index pattern. Will take this into account when we migrate it to V2 engine. |
I have self-managed Opensearch cluster [version 1.3.9] - It is working on it without any issues It is breaking after the domain was upgraded to version 2.0.1
w.r.t. AWS Opensearch service - Managed Cluster I have verified that this issue can be re-produced with AWS Opensearch service version OS_2.x and later. It means that the below SQL query is working fine with AWS Opensearch service version OS_1.3 and lower :
The below steps were executed on AWS Opensearch service - Managed Cluster
Output :
Output :
Got output as mentioned in Step 3. |
What is the bug?
Using wildcards in index name works for simple queries only. Self-joined queries fail. More details in index-patterns-for-querying-nested-collection discussion:
How can one reproduce the bug?
Steps to reproduce the behavior:
https://opensearch.org/docs/latest/search-plugins/sql/sql/partiql/
Map array of object as
nested
type.employees*
:Result:
What is the expected behavior?
Search all indexes matching a given pattern
What is your host/environment?
2.6.0
The text was updated successfully, but these errors were encountered: