Skip to content
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

select statement returns incorrect result for array fields #235

Open
asfoorial opened this issue Oct 17, 2021 · 0 comments
Open

select statement returns incorrect result for array fields #235

asfoorial opened this issue Oct 17, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@asfoorial
Copy link

asfoorial commented Oct 17, 2021

PUT someindex/_doc/doc1
{
"name":"person1",
"roles":["engineer","consultant"]
}

The below returns both engineer and consultant while it is supposed to return only "engineer”.

select distinct roles from someindex where roles like 'eng%'

This bug is also linked to this post https://discuss.opendistrocommunity.dev/t/apply-match-like-query-on-the-result-of-aggregations/7267/5

@dai-chen dai-chen added the enhancement New feature or request label Sep 8, 2022
Yury-Fridlyand pushed a commit that referenced this issue Mar 16, 2023
* Updated Arithmetic functions from old engine to new engine (#235)

* Updated ADD, SUBTRACT, MULTIPLY, DIVIDE, MODULUS to V2 engine

Signed-off-by: Matthew Wells <[email protected]>
opensearch-trigger-bot bot pushed a commit that referenced this issue Mar 16, 2023
* Updated Arithmetic functions from old engine to new engine (#235)

* Updated ADD, SUBTRACT, MULTIPLY, DIVIDE, MODULUS to V2 engine

Signed-off-by: Matthew Wells <[email protected]>
(cherry picked from commit bc39346)
Yury-Fridlyand pushed a commit that referenced this issue Mar 17, 2023
* Updated Arithmetic functions from old engine to new engine (#235)

* Updated ADD, SUBTRACT, MULTIPLY, DIVIDE, MODULUS to V2 engine

Signed-off-by: Matthew Wells <[email protected]>
(cherry picked from commit bc39346)

Co-authored-by: Matthew Wells <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants