Skip to content

Commit

Permalink
one more pipe through of extension option
Browse files Browse the repository at this point in the history
  • Loading branch information
paleolimbot committed Feb 13, 2025
1 parent 8cb2868 commit e65eb37
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion python/pyarrow/parquet/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,9 @@ class ParquetFile:
it will be parsed as an URI to determine the filesystem.
page_checksum_verification : bool, default False
If True, verify the checksum for each page read from the file.
arrow_extensions_enabled : bool, default False
If True, read Parquet logical types as Arrow Extension Types where possible,
(e.g., JSON arrow.json).
Examples
--------
Expand Down Expand Up @@ -303,7 +306,7 @@ def __init__(self, source, *, metadata=None, common_metadata=None,
pre_buffer=False, coerce_int96_timestamp_unit=None,
decryption_properties=None, thrift_string_size_limit=None,
thrift_container_size_limit=None, filesystem=None,
page_checksum_verification=False):
page_checksum_verification=False, arrow_extensions_enabled=False):

self._close_source = getattr(source, 'closed', True)

Expand All @@ -323,6 +326,7 @@ def __init__(self, source, *, metadata=None, common_metadata=None,
thrift_string_size_limit=thrift_string_size_limit,
thrift_container_size_limit=thrift_container_size_limit,
page_checksum_verification=page_checksum_verification,
arrow_extensions_enabled=arrow_extensions_enabled,
)
self.common_metadata = common_metadata
self._nested_paths_by_prefix = self._build_nested_paths()
Expand Down

0 comments on commit e65eb37

Please sign in to comment.