-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce max_arbitrary_buffer_size config (#8049)
Summary: Pull Request resolved: #8049 An existing max_page_partitioning_buffer_size config defines maximum size in bytes for task's buffered output when output is partitioned using hash of partitioning keys. See PartitionedOutputNode::Kind::kPartitioned. The new max_arbitrary_buffer_size config applies when output is randomly distributed among consumers. See PartitionedOutputNode::Kind::kArbitrary. kArbitrary partitioning is used to distribute output among TableWriter consumers. The number of table writers is increased dynamically based on how much data is being produced. This number can be much larger than number of hash partitions used for joins and aggregations. Hence, producers need to buffer more data and therefore a separate config is needed. Reviewed By: Yuhta Differential Revision: D52164424 fbshipit-source-id: d6d80f780a63ff621ab318ab05b26ad8bf3a21e2
- Loading branch information
1 parent
ea2d2e1
commit 12061c2
Showing
3 changed files
with
42 additions
and
10 deletions.
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
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