-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BrokerLoad] Improve the file assignment strategy of scan range locat…
…ions (#185) Current strategy: Create a TScanRangeLocations to fill up, and then create the next TScanRangeLocations. Because the parquet orc format cannot be divided, each file can only be assigned to one TScanRangeLocations, which will cause the final instance number to be less than planned, and the last TScanRangeLocations will have a relatively small amount of data. Improved strategy: First create n locations, and then add files to locations one by one. When assigning locations for each file, select the locations with the smallest allocated data each time.
- Loading branch information
Showing
2 changed files
with
356 additions
and
41 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
Oops, something went wrong.