You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "tmontes (via GitHub)" <gi...@apache.org> on 2024/10/09 12:15:17 UTC

Re: [I] leading underscores in partition names results in empty read [arrow]

tmontes commented on issue #42160:
URL: https://github.com/apache/arrow/issues/42160#issuecomment-2402154573

   Hey @smorken,
   
   I just bumped into a very similar case you're describing here. IIUC, your code will work if you add the `ignore_prefixes=['.']` argument to your dataset creation.
   
   Instead of...
   
   ```
   dataset = pq.ParquetDataset("dataset_v2/")
   ```
   
   ...use:
   
   ```
   dataset = pq.ParquetDataset('dataset/', ignore_prefixes=['.'])
   ```
   
   Does it work for you?


-- 
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-unsubscribe@arrow.apache.org

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