You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "Kuinox (via GitHub)" <gi...@apache.org> on 2026/01/29 15:49:47 UTC

Re: [PR] GH-48254: [Python][Parquet] Support extension types in read_schema [arrow]

Kuinox commented on code in PR #48255:
URL: https://github.com/apache/arrow/pull/48255#discussion_r2742325029


##########
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:
   Well it looks like it doesn't break tests, there are several broken tests locally so maybe that get me confused.



-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org