Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
[CARBONDATA-4322] Apply local sort task level property for insert
Why is this PR needed? Currently, When carbon.partition.data.on.tasklevel is enabled with local sort, the number of tasks launched for load will be based on node locality. But for insert command, the local sort task level property is not applied which is causing the number of tasks launched based on the input files. What changes were proposed in this PR? Included changes to apply carbon.partition.data.on.tasklevel property for insert command as well. Used DataLoadCoalescedRDD to coalesce the partitions and a DataLoadCoalescedUnwrapRDDto unwrap partitions from DataLoadPartitionWrap and iterate. Does this PR introduce any user interface change? No Is any new testcase added? Yes This closes #4248
- Loading branch information
1 parent
05aff87
commit 59f23c0dfea74199f97b6d3626c31d8fba4a2e1f
Showing
2 changed files
with
124 additions
and
5 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