anmyachev commented on issue #35855:
URL: https://github.com/apache/arrow/issues/35855#issuecomment-1587594544

   > I think this is expected behavior from pyarrow's perspective. The 
extension type is registered here: 
https://github.com/pandas-dev/pandas/blob/1a254df2e7e5a100cad1af4a97eded5177ae7d3e/pandas/core/arrays/arrow/extension_types.py#LL57C33-L57C45
   > 
   > So until that file is imported, Arrow doesn't recognize the extension 
type. In other words, everything works if you change the start of the file:
   > 
   > ```
   > import pandas
   > import pandas.core.arrays.arrow.extension_types
   > import pyarrow.parquet
   > ```
   
   Thanks @westonpace for the answer! I'll try to do a workaround.


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