Kuinox commented on code in PR #48255:
URL: https://github.com/apache/arrow/pull/48255#discussion_r2642623317
##########
python/pyarrow/parquet/core.py:
##########
@@ -2422,8 +2429,13 @@ def read_schema(where, memory_map=False,
decryption_properties=None,
with file_ctx:
file = ParquetFile(
- where, memory_map=memory_map,
- decryption_properties=decryption_properties)
+ where,
+ memory_map=memory_map,
+ decryption_properties=decryption_properties,
+ arrow_extensions_enabled=arrow_extensions_enabled,
+ )
+ if arrow_extensions_enabled:
+ return file.schema_arrow
Review Comment:
iirc it broke some test but i'll check again.
--
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]