http://apache-carbondata-dev-mailing-list-archive.168.s1.nabble.com/jira-Resolved-CARBONDATA-4042-Insert-into-select-and-CTAS-launches-fewer-tasks-task-count-limited-tot-tp102995.html
> Insert into select and CTAS launches fewer tasks(task count limited to number of nodes in cluster) even when target table is of no_sort
> ---------------------------------------------------------------------------------------------------------------------------------------
>
> Key: CARBONDATA-4042
> URL:
https://issues.apache.org/jira/browse/CARBONDATA-4042> Project: CarbonData
> Issue Type: Improvement
> Components: data-load, spark-integration
> Reporter: Venugopal Reddy K
> Priority: Major
> Fix For: 2.1.0
>
> Time Spent: 1h 10m
> Remaining Estimate: 0h
>
> *Issue:*
> At present, When we do insert into table select from or create table as select from, we lauch one single task per node. Whereas when we do a simple select * from table query, tasks launched are equal to number of carbondata files(CARBON_TASK_DISTRIBUTION default is CARBON_TASK_DISTRIBUTION_BLOCK).
> Thus, slows down the load performance of insert into select and ctas cases.
> Refer [Community discussion regd. task lauch|
http://apache-carbondata-dev-mailing-list-archive.1130556.n5.nabble.com/Discussion-Query-Regarding-Task-launch-mechanism-for-data-load-operations-tt98711.html]
>
> *Suggestion:*
> Launch the same number of tasks as in select query for insert into select and ctas cases when the target table is of no-sort.