wiedld opened a new pull request, #7798: URL: https://github.com/apache/arrow-datafusion/pull/7798
## Which issue does this PR close? Adds cursor slicing as a prerequisite for the cascading merge. Part of #7181 ## Rationale for this change The need for a sliced cursor is [described here](https://github.com/apache/arrow-datafusion/blob/9b1019853fb3d71f6355ab1d850089332592b3d8/datafusion/physical-plan/src/sorts/batch_cursor.rs#L29-L37), in it's later use of partially yielded record batches. ## What changes are included in this PR? * Arc around the Rows in RowCursor, so can arc clone on slice. * define and impl `slice()` in Cursor interface * test for primitive cursor ## Are these changes tested? yes Primitive cursor slicing is unit tested here. Row cursor slicing is tested/used in the cascading merge. ## Are there any user-facing changes? No. Cursor interface is crate private. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
