soxofaan opened a new issue, #43863:
URL: https://github.com/apache/arrow/issues/43863

   ### Describe the enhancement requested
   
   `pyarrow.dataset.partitioning(... flavor...)` supports three `flavor` values:
   
   > The default (None) is DirectoryPartitioning. Specify flavor="hive" for a 
HivePartitioning, and flavor="filename" for a FilenamePartitioning.
   
   So to choose DirectoryPartitioning one has to specify `None`, which does not 
feel very future proof (e.g. also see #30888 and #30889 ) and lacks the 
explicitness and self-documenting properties of the other options ("filename" 
and "hive").
   
   Wouldn't it be better to support "directory" as a flavor option and make 
this the default.
   
   
   
   This also applies to some  related functionality like 
`pyarrow.dataset.write_dataset(...partitioning_flavor...)` and 
`pyarrow.dataset.dataset(...partitioning...)`
   
   ### Component(s)
   
   Python


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

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

Reply via email to