Skip to content

Commit f1076b1

Browse files
Fokkosungwy
authored andcommitted
Allow setting write.parquet.page-row-limit (#1017)
* Allow setting `write.parquet.page-row-limit` It is being passed down to PyArrow here: https://github.com/apache/iceberg-python/blob/8aeab4951080fa196c0d29c72cba1cbba824ffc4/pyiceberg/io/pyarrow.py#L2374-L2377 * Update test
1 parent 7c9e063 commit f1076b1

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

pyiceberg/io/pyarrow.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2285,7 +2285,6 @@ def _get_parquet_writer_kwargs(table_properties: Properties) -> Dict[str, Any]:
22852285

22862286
for key_pattern in [
22872287
TableProperties.PARQUET_ROW_GROUP_SIZE_BYTES,
2288-
TableProperties.PARQUET_PAGE_ROW_LIMIT,
22892288
TableProperties.PARQUET_BLOOM_FILTER_MAX_BYTES,
22902289
f"{TableProperties.PARQUET_BLOOM_FILTER_COLUMN_ENABLED_PREFIX}.*",
22912290
]:

tests/integration/test_writes/test_writes.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,6 @@ def test_write_parquet_other_properties(
528528
"properties",
529529
[
530530
{"write.parquet.row-group-size-bytes": "42"},
531-
{"write.parquet.page-row-limit": "42"},
532531
{"write.parquet.bloom-filter-enabled.column.bool": "42"},
533532
{"write.parquet.bloom-filter-max-bytes": "42"},
534533
],

0 commit comments

Comments
 (0)