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

   Trying to save unsupported datatype in parquet using 
pyarrow.write_to_dataset results in a partial folder and file write to disk.
   
    
   ```java
   
   import pandas as pd
   import numpy as np
   import pyarrow as pa
   import pyarrow.parquet as pq
   
   data = np.arange(2, 10, dtype=np.float16) 
   df = pd.DataFrame(data=data, columns=['fp16'])
   table=pa.Table.from_pandas(df)
   
   pq.write_to_dataset(table=table, root_path='./fp16_fail_dataset')
   ```
    
   
   **Environment**: Linux (Ubuntu 20.04)
   **Reporter**: [Chandrasekaran Anirudh 
Bhardwaj](https://issues.apache.org/jira/browse/ARROW-15375)
   #### Externally tracked issue: 
[https://github.com/pandas-dev/pandas/pull/44847](https://github.com/pandas-dev/pandas/pull/44847)
   
   <sub>**Note**: *This issue was originally created as 
[ARROW-15375](https://issues.apache.org/jira/browse/ARROW-15375). Please see 
the [migration documentation](https://github.com/apache/arrow/issues/14542) for 
further details.*</sub>


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