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

Refactor pinot custom string query in pinot_query_validator #6298

Merged
merged 13 commits into from
Sep 23, 2024

Conversation

bowenxia
Copy link
Member

What changed?
Refactor pinot custom string query in pinot_query_validator

  • Changed to use json match instead of reg_like

Why?
This change is based on Pinot's new version. Pinot used to not support json match for regular expression. But after their latest version, it was supported. And Pinot team claims that json match has a better performance than the reg_like expressions.

How did you test it?
Unit test, manual test in QueryBuilder

Potential risks

Release notes

Documentation Changes

Copy link

codecov bot commented Sep 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 73.21%. Comparing base (c8abc2a) to head (dbf891f).
Report is 1 commits behind head on master.

Additional details and impacted files
Files with missing lines Coverage Δ
common/pinot/pinotQueryValidator.go 87.70% <100.00%> (ø)

... and 2 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c8abc2a...dbf891f. Read the comment docs.

@bowenxia bowenxia enabled auto-merge (squash) September 23, 2024 13:37
@bowenxia bowenxia merged commit 75079f7 into master Sep 23, 2024
23 checks passed
@bowenxia bowenxia deleted the xbowen_refactor_pinot_custom_string_query branch September 23, 2024 18:59
dkrotx pushed a commit to dkrotx/cadence that referenced this pull request Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants