yjshen edited a comment on pull request #1905:
URL: 
https://github.com/apache/arrow-datafusion/pull/1905#issuecomment-1058149127


   I think I may also need to ~~tune `chunk_reader` in parquet a little bit~~, 
since it also imposes immutability:
   
   ```rust
   impl ChunkReader for ObjectReaderWrapper {
       type T = Self;
   
       fn get_read(&self, start: u64, length: usize) -> ParquetResult<Self::T>
   ``` 
   
   In order to change ChunkReader to `&mut self` to cut of Mutex, it seems I 
need to change the full code path of parquet reading. Since they all share an 
immutability interface.


-- 
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: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to