-
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] Star tree merge changes #14652
[Star tree] Star tree merge changes #14652
Conversation
❌ Gradle check result for 948419f: 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? |
1784c9b
to
6f5befd
Compare
❌ Gradle check result for 1784c9b: 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? |
6f5befd
to
db1eb0d
Compare
db1eb0d
to
5c8eb14
Compare
server/src/main/java/org/opensearch/index/codec/composite/Composite99DocValuesWriter.java
Outdated
Show resolved
Hide resolved
.../java/org/opensearch/index/compositeindex/datacube/startree/builder/BaseStarTreeBuilder.java
Outdated
Show resolved
Hide resolved
.../java/org/opensearch/index/compositeindex/datacube/startree/builder/BaseStarTreeBuilder.java
Show resolved
Hide resolved
.../java/org/opensearch/index/compositeindex/datacube/startree/builder/BaseStarTreeBuilder.java
Outdated
Show resolved
Hide resolved
server/src/main/java/org/opensearch/index/codec/composite/Composite99DocValuesWriter.java
Show resolved
Hide resolved
Signed-off-by: Bharathwaj G <bharath78910@gmail.com>
bdbe58e
to
21f9ff0
Compare
❌ Gradle check result for bdbe58e: 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? |
server/src/main/java/org/opensearch/index/codec/composite/Composite99DocValuesWriter.java
Show resolved
Hide resolved
server/src/main/java/org/opensearch/index/codec/composite/Composite99DocValuesWriter.java
Show resolved
Hide resolved
.../java/org/opensearch/index/compositeindex/datacube/startree/builder/BaseStarTreeBuilder.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Bharathwaj G <bharath78910@gmail.com>
…star_onheap_merge
❕ Gradle check result for a1957f7: 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. |
server/src/main/java/org/opensearch/index/codec/composite/Composite99DocValuesWriter.java
Show resolved
Hide resolved
--------- Signed-off-by: Bharathwaj G <bharath78910@gmail.com>
--------- Signed-off-by: Bharathwaj G <bharath78910@gmail.com>
--------- Signed-off-by: Bharathwaj G <bharath78910@gmail.com> (cherry picked from commit 312de99) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
--------- (cherry picked from commit 312de99) 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>
Description
Star tree merge changes.
Instead of constructing the star tree by again scanning through all the segment docs, we will use the already aggregated star tree doc values from the segments.
We will take the non star rows of the dimension fields from the aggregated doc values and construct the star tree
For example, consider the following segments with star tree aggregated documents ,
Segment 1 : [ we will take 0 - 3 ]
Segment 2 : [ we will take 0 - 2 ]
Merged segment initial star tree documents : [ initially just form the records ]
From here on we'll sort the documents, aggregate the documents and construct the star tree , similar to the flush flow.
Related Issues
Resolves #14626
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.