esheppa opened a new issue, #9206:
URL: https://github.com/apache/arrow-datafusion/issues/9206

   ### Describe the bug
   
   In the 
[documentation](https://docs.rs/datafusion/latest/datafusion/common/config/struct.ExecutionOptions.html#structfield.listing_table_ignore_subdirectory)
 `ignore_subdirectory` defaults to true, meaning sub directories are skipped, 
but only if they are not hive partitions. Currently all subdirectories 
including hive partitions are skipped.
   
   ### To Reproduce
   
   
   ```rust
   let url = ListingTableUrl::parse("file:///var/data/mytable/").unwrap();
   
   assert!(url.contains(
       &Path::parse("/var/data/mytable/year=2024/data.parquet").unwrap(),
       true
   ));
   
   ```
   
   ### Expected behavior
   
   the assertion should pass, but it currently does not
   
   ### Additional context
   
   _No response_


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