digraph G {
subgraph cluster0 {
isCluster="true";
label="WholeStageCodegen (3)\n \nduration: 0 ms";
1 [labelType="html" label="<br><b>Project</b><br><br>"];
}
2 [labelType="html" label="<b>TakeOrderedAndProject</b><br><br>shuffle records written: 9<br>shuffle write time total (min, med, max (stageId: taskId))<br>2 ms (0 ms, 0 ms, 0 ms (stage 7.0: task 240))<br>records read: 9<br>local bytes read: 684.0 B<br>fetch wait time: 0 ms<br>local blocks read: 9<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>684.0 B (0.0 B, 0.0 B, 81.0 B (stage 7.0: task 206))"];
subgraph cluster3 {
isCluster="true";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n163 ms (0 ms, 0 ms, 22 ms (stage 7.0: task 206))";
4 [labelType="html" label="<b>HashAggregate</b><br><br>time in aggregation build total (min, med, max (stageId: taskId))<br>4 ms (0 ms, 0 ms, 4 ms (stage 7.0: task 206))<br>peak memory total (min, med, max (stageId: taskId))<br>194.0 MiB (256.0 KiB, 256.0 KiB, 16.3 MiB (stage 7.0: task 206))<br>number of output rows: 9<br>avg hash probe bucket list iters (min, med, max (stageId: taskId)):<br>(1, 1, 1 (stage 7.0: task 206))"];
}
5 [labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 9<br>shuffle write time: 12 ms<br>records read: 9<br>local bytes read total (min, med, max (stageId: taskId))<br>684.0 B (0.0 B, 0.0 B, 81.0 B (stage 7.0: task 206))<br>fetch wait time total (min, med, max (stageId: taskId))<br>0 ms (0 ms, 0 ms, 0 ms (stage 7.0: task 206))<br>local blocks read: 9<br>data size: 320.0 B<br>shuffle bytes written: 684.0 B"];
subgraph cluster6 {
isCluster="true";
label="WholeStageCodegen (1)\n \nduration: 268 ms";
7 [labelType="html" label="<b>HashAggregate</b><br><br>time in aggregation build: 184 ms<br>peak memory: 256.0 KiB<br>number of output rows: 9"];
}
8 [labelType="html" label="<b>Scan csv </b><br><br>number of output rows: 68,883<br>number of files read: 1<br>metadata time: 0 ms<br>size of files read: 2.9 MiB"];
2->1;
4->2;
5->4;
7->5;
8->7;
}
9
Project [order_status#19, cast(count#75L as string) AS count#81]
WholeStageCodegen (3)
TakeOrderedAndProject(limit=15, orderBy=[count#75L DESC NULLS LAST], output=[order_status#19,count#75L])
HashAggregate(keys=[order_status#19], functions=[count(1)])
WholeStageCodegen (2)
Exchange hashpartitioning(order_status#19, 200), ENSURE_REQUIREMENTS, [id=#92]
HashAggregate(keys=[order_status#19], functions=[partial_count(1)])
WholeStageCodegen (1)
FileScan csv [order_status#19] Batched: false, DataFilters: [], Format: CSV, Location: InMemoryFileIndex[hdfs://m01.itversity.com:9000/public/trendytech/orders_wh/orders_wh.csv], PartitionFilters: [], PushedFilters: [], ReadSchema: struct<order_status:string>