-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Approximate written bytes in Hive and Iceberg sorted writers
Hive and Iceberg use the written bytes value to determine when a new file should be started. Without this value the `target-max-file-size` config property is ignored. While writing, the returned value is an approximation. However, an accurate value is returned after the writter commits. Doing this does reduce the sort window to one file rather than all the data the PageSink receives. Broadening the sort window while also splitting files into the right size can be done as follow up.
- Loading branch information
1 parent
17115ed
commit ceb3e8b
Showing
2 changed files
with
50 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters