westonpace commented on issue #34566:
URL: https://github.com/apache/arrow/issues/34566#issuecomment-1479876277

   > Assuming the initial delay is the time it takes to list all files - do you 
think that saving the dataset without partitions might make it faster?
   
   It's worth benchmarking.  Are these files local?  Or onS3?
   
   >  Or can I save somehow the indexes of the files in advance?
   
   If you have the list of filenames (which you can save in whatever format you 
want) and the dataset schema (which you can save as an empty arrow/parquet 
file) then you can do:
   
   ```
   table = ds.dataset(list_of_paths, schema=dataset_schema).to_table()
   ```


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