-
Couldn't load subscription status.
- Fork 130
Fixed index resolution in transform jobs to correctly resolve the backing indices of a data stream #72
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
Conversation
cbcb99f to
f874dec
Compare
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.
Can you introduce a test for this?
…king indices of a data stream. Signed-off-by: Ketan Verma <ketan9495@gmail.com>
Signed-off-by: Ketan Verma <ketan9495@gmail.com>
|
@thalurur Added an integration test for this. Also, to provide more context about the large diff in This should not impact the execution of other tests which use this sample data. This is because document IDs are auto-generated (thus, unique) and there's no requirement for updating existing documents. |
Codecov Report
@@ Coverage Diff @@
## main #72 +/- ##
============================================
+ Coverage 78.08% 78.60% +0.51%
- Complexity 1858 1873 +15
============================================
Files 255 255
Lines 10267 10267
Branches 1518 1518
============================================
+ Hits 8017 8070 +53
+ Misses 1430 1360 -70
- Partials 820 837 +17
Continue to review full report at Codecov.
|
…king indices of a data stream (opensearch-project#72) * Fixed index resolution in transform jobs to correctly resolve the backing indices of a data stream. Signed-off-by: Ketan Verma <ketan9495@gmail.com>
Description
Fixed the index expression resolution to correctly resolve the backing indices of a data stream during the validation of transform jobs.
To create the transformed results, the underlying search request uses
org.opensearch.action.search.SearchRequestwhich already works with data streams as expected. So no other change is expected.Issues
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.
Signed-off-by: Ketan Verma ketan9495@gmail.com