Closed sunchao closed 6 years ago
I think this will solve the lifetime issue for the global iterator (since there will no longer be lifetime parameter for RowGroupReader
), but haven't tried it yet...
Merged. Thanks @sadikovi for the review!
All good! Great to see this update.
Currently there's borrowing relation between FileReader and RowGroupReader, due to the sharing of metadata. This restriction is not necessary as row group reader should be allowed to out-live file reader. This removes it by replacing the metadata with RC (reference-counting) values.