Skip to content

Commit

Permalink
[core] Add parquet write page limit parameter (#4632)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aiden-Dong authored Dec 4, 2024
1 parent aec2547 commit 812ef05
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ public ParquetWriter<InternalRow> createWriter(OutputFile out, String compressio
conf.getInt(
ParquetOutputFormat.PAGE_SIZE,
ParquetWriter.DEFAULT_PAGE_SIZE))
.withPageRowCountLimit(
conf.getInt(
ParquetOutputFormat.PAGE_ROW_COUNT_LIMIT,
ParquetProperties.DEFAULT_PAGE_ROW_COUNT_LIMIT))
.withDictionaryPageSize(
conf.getInt(
ParquetOutputFormat.DICTIONARY_PAGE_SIZE,
Expand Down

0 comments on commit 812ef05

Please sign in to comment.