[Java] Exposing merge API for multiple CAGRA indices#891
[Java] Exposing merge API for multiple CAGRA indices#891rapids-bot[bot] merged 15 commits intorapidsai:branch-25.06from
Conversation
|
#860 is merged now, will rebase my branch with branch-25.06 and update this pull request. |
0afbed8 to
7cac5d2
Compare
…ve whitespace and formatting issues
-Added description for function merge_cagra_indexes -passing parameters instead of builder instance for consistency -Initialized outputIndexParams in builder class of CagraMegeParams -Added license header in CagramergeParams -Commented out Logical Merge test as it is not yet implemented in C -Using File and InputStream instead of java.io.File
| return seg; | ||
| } | ||
|
|
||
| private static MemorySegment segmentFromIndexParams(CagraIndexParams params, CuVSResourcesImpl resources) { |
There was a problem hiding this comment.
This method is almost identical (except for being static) to the one above. Should be just one.
|
/ok to test e682d01 |
|
@narangvivek10 I incorporated your review feedback on behalf of @punAhuja. |
|
/ok to test 6b65b70 |
|
Java tests passed here :-) I think this is ready for merge now. |
| CagraIndex physicalMergedIndex = CagraIndex.merge(new CagraIndex[]{index1, index2}, physicalMergeParams); | ||
| log.info("Physical merge completed successfully"); | ||
|
|
||
| // CagraMergeParams logicalMergeParams = new CagraMergeParams.Builder() |
There was a problem hiding this comment.
Please don't leave commented out code in here
|
@cjnolet fixed the uncommented code, and also added more repetitions to the randomized cagra test (to catch bugs, if any). It is a good to have test fix regardless of this feature. If you have any objections, I can revert that change. If it looks good, please trigger another CI and merge. Thanks! |
|
@cjnolet Can you please review and merge this? |
|
@narangvivek10 @chatman please allow CI to fail the |
|
/ok to test 3a749e9 |
|
/ok to test 6f855d4 |
|
/merge |
Exposing the C merge API in the Java layer. This is work in progress. Pull request for merge API in C is not merged yet: rapidsai#860 Authors: - https://github.com/punAhuja - Vivek Narang (https://github.com/narangvivek10) Approvers: - Ishan Chattopadhyaya (https://github.com/chatman) - Corey J. Nolet (https://github.com/cjnolet) URL: rapidsai#891
Exposing the C merge API in the Java layer.
This is work in progress.
Pull request for merge API in C is not merged yet:
#860