Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
1.0.0
-
None
-
Ubuntu 18.04
Python 3.7
Description
I am able to import and test DirectoryPartitioning but I am not able to figure out a way to write a dataset using this feature. It seems like write_to_dataset defaults to the "hive" style. Is there a way to test this?
from pyarrow.dataset import DirectoryPartitioning partitioning = DirectoryPartitioning(pa.schema([("year", pa.int16()), ("month", pa.int8()), ("day", pa.int8())])) print(partitioning.parse("/2009/11/3"))