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

Schema matching fails on negated precise array search matching wildcard #244

Open
gibber9809 opened this issue Jan 25, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@gibber9809
Copy link
Contributor

gibber9809 commented Jan 25, 2024

Bug

On a log file consisting of the following example data
{"a": [{"b": "c"}]}
Search will work correctly for queries like a.b: c and a.b: *, but will fail on schema matching for the query NOT a.b: *.

The expected behaviour is for schema matching to succeed on the array column "a" following by the record not being matched because an object with the key "b" exists within the array "a". This is likely caused by an interaction between the Convert To Exists pass and Schema Matching.

CLP version

284a558

Environment

Ubuntu focal clp image.

Reproduction steps

  1. Compress the example data {"a": [{"b": "c"}]}
  2. Perform the search NOT a.b: *
  3. Observe schema matching failure
@gibber9809 gibber9809 added the bug Something isn't working label Jan 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant