Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions pyiceberg/io/pyarrow.py
Original file line number Diff line number Diff line change
Expand Up @@ -2570,6 +2570,11 @@ def _get_parquet_writer_kwargs(table_properties: Properties) -> Dict[str, Any]:
property_name=TableProperties.PARQUET_PAGE_ROW_LIMIT,
default=TableProperties.PARQUET_PAGE_ROW_LIMIT_DEFAULT,
),
"write_page_index": property_as_bool(
properties=table_properties,
property_name=TableProperties.PARQUET_WRITE_PAGE_INDEX,
default=TableProperties.PARQUET_WRITE_PAGE_INDEX_DEFAULT,
)
}


Expand Down
3 changes: 3 additions & 0 deletions pyiceberg/table/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,9 @@ class TableProperties:

PARQUET_BLOOM_FILTER_COLUMN_ENABLED_PREFIX = "write.parquet.bloom-filter-enabled.column"

PARQUET_WRITE_PAGE_INDEX = "write.parquet.write-page-index"
PARQUET_WRITE_PAGE_INDEX_DEFAULT = False

WRITE_TARGET_FILE_SIZE_BYTES = "write.target-file-size-bytes"
WRITE_TARGET_FILE_SIZE_BYTES_DEFAULT = 512 * 1024 * 1024 # 512 MB

Expand Down
Loading