-
Notifications
You must be signed in to change notification settings - Fork 180
Add Support For Legacy Syntax For Match Function In New Engine #1090
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
Add Support For Legacy Syntax For Match Function In New Engine #1090
Conversation
Signed-off-by: GabeFernandez310 <[email protected]>
Signed-off-by: GabeFernandez310 <[email protected]>
Signed-off-by: GabeFernandez310 <[email protected]>
Signed-off-by: GabeFernandez310 <[email protected]>
Signed-off-by: GabeFernandez310 <[email protected]>
Signed-off-by: GabeFernandez310 <[email protected]>
Signed-off-by: GabeFernandez310 <[email protected]>
…h-function-alternate Add Match_query And Matchquery As Alternate Syntax for Match Function
Signed-off-by: GabeFernandez310 <[email protected]>
Signed-off-by: GabeFernandez310 <[email protected]>
Signed-off-by: GabeFernandez310 <[email protected]>
Signed-off-by: GabeFernandez310 <[email protected]>
Signed-off-by: GabeFernandez310 <[email protected]>
Signed-off-by: GabeFernandez310 <[email protected]>
Signed-off-by: GabeFernandez310 <[email protected]>
Signed-off-by: GabeFernandez310 <[email protected]>
…om:Bit-Quill/opensearch-project-sql into integ-add-legacy-syntax-for-match-function-alternate
4887d94
Codecov Report❌ Patch coverage is
❌ Your project status has failed because the head coverage (95.76%) is below the target coverage (99.00%). You can increase the head coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## 2.x #1090 +/- ##
============================================
- Coverage 98.27% 95.76% -2.52%
- Complexity 3351 3454 +103
============================================
Files 327 355 +28
Lines 8457 9248 +791
Branches 553 666 +113
============================================
+ Hits 8311 8856 +545
- Misses 142 334 +192
- Partials 4 58 +54
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
dai-chen
left a comment
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.
Thanks for the changes!
Description
Adds
match_queryandmatchqueryas alternate syntax formatchfunction which currently exists in OpenSearch.This is being done to support legacy syntax.
Queries can be performed using the following syntax :
Example:
These queries should return the same result as
match(field, 'query')Issues Resolved
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.