-
Notifications
You must be signed in to change notification settings - Fork 805
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
Update Pinot query validator to support "like" in queries #6188
Conversation
…atch in system fields
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files
... and 18 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
What changed?
Update pinot query validator to allow "like" in queries to support partial match for system fields like WorkflowID, RunID or WorkflowType
The PR also verifies that ES will not error out for a query with "like". It converts it to match_phrase since wild card is not supported in elasticsql as of now [https://github.com/cch123/elasticsql/blob/master/readme.md]
Why?
pinot supports partial match with text_match() and this can be leveraged in ListWorkflowExecutions. Based on earlier tests, text_match() performs better than regexp_like(). This does need text index in pinot
How did you test it?
unit tests
Potential risks
Release notes
Documentation Changes