mapleFU commented on issue #38275:
URL: https://github.com/apache/arrow/issues/38275#issuecomment-1763448513

   How long does this actually takes:
   
   ```
   mmap_files = [pa.memory_map(os.path.join(dir_path, file_name), 'r') for 
file_name in file_names]
   mmap_tables = [pa.ipc.open_stream(memory_mapped_stream).read_all() for 
memory_mapped_stream in mmap_files]
   large_table = pa.concat_tables(mmap_tables)
   ```
   
   Would the bottle neck on open and concate the files rather than extract 
record batches?
   
   If you bottlenect is on reading/deserialize or io, perhaps thread api would 
help.


-- 
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]

Reply via email to