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

SQL: Verify binary fields found in non-project to have the doc_values (port of #69128) #69256

Merged
merged 1 commit into from
Feb 19, 2021

Conversation

bpintea
Copy link
Contributor

@bpintea bpintea commented Feb 19, 2021

This adds a verifier rule to check that any fields used in filtering,
aggregations or ordering has the doc_values. Otherwise the query will
either fail in ES with a less obvious and more verbose reason OR plainly
give wrong results if filtering with IS [NOT] NULL.

(cherry picked from commit 1b9ec88)

…elastic#69128)

This adds a verifier rule to check that any fields used in filtering,
aggregations or ordering has the doc_values. Otherwise the query will
either fail in ES with a less obvious and more verbose reason OR plainly
give wrong results if filtering with `IS [NOT] NULL`.

(cherry picked from commit 1b9ec88)
@costin
Copy link
Member

costin commented Feb 19, 2021

Missing QL label.

@bpintea bpintea merged commit b3d3430 into elastic:7.x Feb 19, 2021
@bpintea bpintea deleted the port/7.x_69128 branch February 19, 2021 09:49
@bpintea bpintea added the :Analytics/SQL SQL querying label Feb 19, 2021
@elasticmachine elasticmachine added the Team:QL (Deprecated) Meta label for query languages team label Feb 19, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-ql (Team:QL)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Analytics/SQL SQL querying backport >bug Team:QL (Deprecated) Meta label for query languages team v7.13.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants