sanjibansg commented on a change in pull request #12530:
URL: https://github.com/apache/arrow/pull/12530#discussion_r834092452
##########
File path: python/pyarrow/dataset.py
##########
@@ -117,6 +118,11 @@ def partitioning(schema=None, field_names=None,
flavor=None,
For example, given schema<year:int16, month:int8, day:int8>, a possible
path would be "/year=2009/month=11/day=15" (but the field order does not
need to match).
+ - "FilenamePartitioning": this scheme expects the partitions will have
+ filenames containing the field values separated by "_".
+ For example, given schema<year:int16, month:int8, day:int8>, a possible
+ partition filename "2009_11_part-0.parquet" would be parsed
+ to ("year"_ == 2009 and "month"_ == 11).
Review comment:
Updated desc of `flavor` for FilenamePartitioning
--
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]