lgaborini commented on issue #38804:
URL: https://github.com/apache/arrow/issues/38804#issuecomment-1844899886

   Also reproducible with Python:
   
   ```python
   import pyarrow as pa
   import pyarrow.dataset as ds
   
   tbl = pa.table({
       'var_1': ("arrow", "arrow", "arrow"),
       'var_2': ("arrow", "arrow", "arroW")
   })
   
   part = ds.partitioning(
       pa.schema([("var_2", pa.string())]), 
       flavor="hive"
   )
   
   ds.write_dataset(tbl, "dataset_output", format="parquet", partitioning=part)
   
   ds_out = ds.dataset("dataset_output")
   
   ```
   
   Only one partition is written:
   
   ```python
   ds_out.files
   # ['dataset_output/var_2=arroW/part-0.parquet']
   ```
   
   
   ```python
   ds_out.to_table()
   # pyarrow.Table     
   # var_1: string     
   # ----
   # var_1: [["arrow"]]
   ```


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