Skip to content

Commit

Permalink
add page limit param
Browse files Browse the repository at this point in the history
  • Loading branch information
aiden committed Dec 4, 2024
1 parent c7cd8e9 commit 96c0294
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 96c0294

Please sign in to comment.