Skip to content

Commit 7d25bad

Browse files
authored
Allow setting write.parquet.page-row-limit (apache#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 8f2e787 commit 7d25bad

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

pyiceberg/io/pyarrow.py

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

23462346
for key_pattern in [
23472347
TableProperties.PARQUET_ROW_GROUP_SIZE_BYTES,
2348-
TableProperties.PARQUET_PAGE_ROW_LIMIT,
23492348
TableProperties.PARQUET_BLOOM_FILTER_MAX_BYTES,
23502349
f"{TableProperties.PARQUET_BLOOM_FILTER_COLUMN_ENABLED_PREFIX}.*",
23512350
]:

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)