-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[Star tree][Bug] Fix for derived metrics #15640
Conversation
Signed-off-by: Bharathwaj G <bharath78910@gmail.com>
...c/main/java/org/opensearch/index/codec/composite/composite99/Composite99DocValuesReader.java
Show resolved
Hide resolved
server/src/main/java/org/opensearch/index/compositeindex/datacube/Metric.java
Show resolved
Hide resolved
...org/opensearch/index/compositeindex/datacube/startree/fileformats/meta/StarTreeMetadata.java
Show resolved
Hide resolved
❕ Gradle check result for 3ec11d3: UNSTABLE Please review all flaky tests that succeeded after retry and create an issue if one does not already exist to track the flaky failure. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #15640 +/- ##
============================================
- Coverage 72.00% 71.84% -0.16%
+ Complexity 64149 64064 -85
============================================
Files 5269 5269
Lines 299834 299880 +46
Branches 43330 43343 +13
============================================
- Hits 215895 215463 -432
- Misses 66217 66649 +432
- Partials 17722 17768 +46 ☔ View full report in Codecov by Sentry. |
❌ Gradle check result for 1207ded: null Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
❌ Gradle check result for 87abc91: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
❌ Gradle check result for 1207ded: null Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
2 similar comments
❌ Gradle check result for 1207ded: null Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
❌ Gradle check result for 1207ded: null Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
* Fix for derived metrics Signed-off-by: Bharathwaj G <bharath78910@gmail.com> * fixes for byte Signed-off-by: Bharathwaj G <bharath78910@gmail.com> --------- Signed-off-by: Bharathwaj G <bharath78910@gmail.com> (cherry picked from commit 71a771e) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
--------- (cherry picked from commit 71a771e) Signed-off-by: Bharathwaj G <bharath78910@gmail.com> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
--------- (cherry picked from commit 71a771e) Signed-off-by: Bharathwaj G <bharath78910@gmail.com> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> (cherry picked from commit 52ffa16) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…pensearch-project#15686) --------- (cherry picked from commit 71a771e) Signed-off-by: Bharathwaj G <bharath78910@gmail.com> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…pensearch-project#15686) --------- (cherry picked from commit 71a771e) Signed-off-by: Bharathwaj G <bharath78910@gmail.com> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
--------- (cherry picked from commit 71a771e) Signed-off-by: Bharathwaj G <bharath78910@gmail.com> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: opensearch-trigger-bot[bot] <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Fix for derived metrics Signed-off-by: Bharathwaj G <bharath78910@gmail.com> * fixes for byte Signed-off-by: Bharathwaj G <bharath78910@gmail.com> --------- Signed-off-by: Bharathwaj G <bharath78910@gmail.com>
* Fix for derived metrics Signed-off-by: Bharathwaj G <bharath78910@gmail.com> * fixes for byte Signed-off-by: Bharathwaj G <bharath78910@gmail.com> --------- Signed-off-by: Bharathwaj G <bharath78910@gmail.com>
* Fix for derived metrics Signed-off-by: Bharathwaj G <bharath78910@gmail.com> * fixes for byte Signed-off-by: Bharathwaj G <bharath78910@gmail.com> --------- Signed-off-by: Bharathwaj G <bharath78910@gmail.com>
* Fix for derived metrics Signed-off-by: Bharathwaj G <bharath78910@gmail.com> * fixes for byte Signed-off-by: Bharathwaj G <bharath78910@gmail.com> --------- Signed-off-by: Bharathwaj G <bharath78910@gmail.com>
Description
We need to exclude derived metrics throughout the star tree build and file formats, which we were not doing properly.
To fix this introducing a new method getBaseMetrics() itself so that we don't miss in any case. All src code only use getBaseMetrics() now.
Related Issues
Resolves #15641
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.