-
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] Query workbench PPL 'parse' syntax doesn't work on nested/non-single line field values #3206
Comments
Thanks for bringing this to our attention. |
I was able to run this query using
The parse command doesn't work against multi-values, and results in an error:
|
We could be more explicit about how the syntax works in the documentation: https://github.com/opensearch-project/sql/blob/main/docs/user/ppl/cmd/parse.rst Also, add a limitation that multi-valued fields result in an error. |
@acarbonetto I've asked for details on the version this issue was discovered |
I think there's a problem with your match query: Depending on your data, you can try and include a pattern that matches more than one variable in the field. |
Hi, This is being used in OpenSearch 2.15 under query workbench. |
@acarbonetto it looks that way since I just copied the unparsed values. it looks like a table (unsure if it's JSON or something else) that there's set of fields and values (see screenshot). The complete values appear when I hover the mouse or copy them. |
Describe the bug
'parse' PPL syntax doesn't seem to extract nested/non-single line field values. Documentation examples are very limited (ref https://github.com/opensearch-project/sql/blob/main/docs/user/ppl/cmd/parse.rst)
Related component
Search:Query Capabilities
To Reproduce
Expected behavior
Parse syntax should return a field value
Additional Details
The text was updated successfully, but these errors were encountered: