ShreelekhyaG opened a new pull request #4248: URL: https://github.com/apache/carbondata/pull/4248
### 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=number of partitions. ### 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 `convertRDD `to unwrap partitions from `DataLoadPartitionWrap `and iterate. ### Does this PR introduce any user interface change? - No ### Is any new testcase added? - Yes -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@carbondata.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org