Skip to content

[8.0] Improve query parsing - [MOD-7794, MOD-7764] (#5216)#5251

Merged
GuyAv46 merged 1 commit into8.0from
backport-5216-to-8.0
Nov 25, 2024
Merged

[8.0] Improve query parsing - [MOD-7794, MOD-7764] (#5216)#5251
GuyAv46 merged 1 commit into8.0from
backport-5216-to-8.0

Conversation

@GuyAv46
Copy link
Copy Markdown
Collaborator

@GuyAv46 GuyAv46 commented Nov 25, 2024

Description

Backport of #5216 to 8.0.

* general cleanup and improvements

* validate field in the parser

* drop legacy geo and numeric filters

* fix unit tests

* test fixes

* cleanup and v1 bug fix

* another test fix

* missed cleanup

* skip config test on coord

* add numeric validation min <= max

* remove redundant code

* fix more unit-tests

* fix flow tests again

* fix unit-test again

* leak fixes

* improve coverage

* addressing some review comments

* fix after merging master

(cherry picked from commit d67d645)
@codecov
Copy link
Copy Markdown

codecov bot commented Nov 25, 2024

Codecov Report

Attention: Patch coverage is 94.80874% with 19 lines in your changes missing coverage. Please review.

Project coverage is 86.59%. Comparing base (d351abe) to head (5962931).
Report is 2 commits behind head on 8.0.

Files with missing lines Patch % Lines
src/query_parser/v2/parser.c 95.45% 11 Missing ⚠️
src/query_parser/v1/lexer.c 86.95% 3 Missing ⚠️
src/query_parser/v2/lexer.c 86.95% 3 Missing ⚠️
src/document.c 50.00% 1 Missing ⚠️
src/spec.c 87.50% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##              8.0    #5251      +/-   ##
==========================================
+ Coverage   86.55%   86.59%   +0.03%     
==========================================
  Files         192      192              
  Lines       34484    34410      -74     
==========================================
- Hits        29849    29797      -52     
+ Misses       4635     4613      -22     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


🚨 Try these New Features:

@GuyAv46 GuyAv46 added this pull request to the merge queue Nov 25, 2024
Merged via the queue into 8.0 with commit 8ceb090 Nov 25, 2024
@GuyAv46 GuyAv46 deleted the backport-5216-to-8.0 branch November 25, 2024 10:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants