digraph G {
0 [labelType="html" label="<br><b>AdaptiveSparkPlan</b><br><br>"];
subgraph cluster1 {
isCluster="true";
label="WholeStageCodegen (3)\n \nduration: 0 ms";
2 [labelType="html" label="<b>HashAggregate</b><br><br>time in aggregation build: 0 ms<br>number of output rows: 1"];
}
3 [labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 1<br>local merged chunks fetched: 0<br>shuffle write time: 0 ms<br>remote merged bytes read: 0.0 B<br>local merged blocks fetched: 0<br>corrupt merged block chunks: 0<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 1<br>local bytes read: 59.0 B<br>fetch wait time: 0 ms<br>remote bytes read: 0.0 B<br>merged fetch fallback count: 0<br>local blocks read: 1<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size: 16.0 B<br>local merged bytes read: 0.0 B<br>number of partitions: 1<br>remote reqs duration: 0 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written: 59.0 B"];
subgraph cluster4 {
isCluster="true";
label="WholeStageCodegen (2)\n \nduration: 19 ms";
5 [labelType="html" label="<b>HashAggregate</b><br><br>spill size: 0.0 B<br>time in aggregation build: 19 ms<br>peak memory: 0.0 B<br>number of output rows: 1<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0"];
6 [labelType="html" label="<b>HashAggregate</b><br><br>spill size: 0.0 B<br>time in aggregation build: 9 ms<br>peak memory: 256.0 KiB<br>number of output rows: 741<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0"];
}
7 [labelType="html" label="<b>AQEShuffleRead</b><br><br>number of partitions: 1<br>partition data size: 36.6 KiB<br>number of coalesced partitions: 1"];
8 [labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 2,371<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>16 ms (3 ms, 4 ms, 5 ms (stage 12.0: task 15))<br>remote merged bytes read: 0.0 B<br>local merged blocks fetched: 0<br>corrupt merged block chunks: 0<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 2,371<br>local bytes read: 34.8 KiB<br>fetch wait time: 0 ms<br>remote bytes read: 0.0 B<br>merged fetch fallback count: 0<br>local blocks read: 4<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size total (min, med, max (stageId: taskId))<br>75.8 KiB (5.7 KiB, 23.3 KiB, 23.7 KiB (stage 12.0: task 13))<br>local merged bytes read: 0.0 B<br>number of partitions: 10<br>remote reqs duration: 0 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>34.8 KiB (3.0 KiB, 10.5 KiB, 10.8 KiB (stage 12.0: task 13))"];
subgraph cluster9 {
isCluster="true";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n1.4 s (318 ms, 373 ms, 376 ms (stage 12.0: task 13))";
10 [labelType="html" label="<b>HashAggregate</b><br><br>spill size: 0.0 B<br>time in aggregation build total (min, med, max (stageId: taskId))<br>789 ms (151 ms, 214 ms, 226 ms (stage 12.0: task 15))<br>peak memory total (min, med, max (stageId: taskId))<br>1024.0 KiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 12.0: task 16))<br>number of output rows: 2,371<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0"];
11 [labelType="html" label="<br><b>Project</b><br><br>"];
}
12 [labelType="html" label="<b>Scan csv </b><br><br>number of output rows: 80,062<br>number of files read: 1<br>metadata time: 0 ms<br>size of files read: 13.5 MiB"];
2->0;
3->2;
5->3;
6->5;
7->6;
8->7;
10->8;
11->10;
12->11;
}
13
AdaptiveSparkPlan isFinalPlan=true
HashAggregate(keys=[], functions=[count(1)])
WholeStageCodegen (3)
Exchange SinglePartition, ENSURE_REQUIREMENTS, [plan_id=246]
HashAggregate(keys=[], functions=[partial_count(1)])
HashAggregate(keys=[COL_AF185383_3F7C_4A45_9DD2_F718785C191C#1374, COL_AFDD307D_6D56_4174_89B0_A182BAF9BE2C#1363], functions=[])
WholeStageCodegen (2)
AQEShuffleRead coalesced
Exchange hashpartitioning(COL_AF185383_3F7C_4A45_9DD2_F718785C191C#1374, COL_AFDD307D_6D56_4174_89B0_A182BAF9BE2C#1363, 10), ENSURE_REQUIREMENTS, [plan_id=211]
HashAggregate(keys=[COL_AF185383_3F7C_4A45_9DD2_F718785C191C#1374, COL_AFDD307D_6D56_4174_89B0_A182BAF9BE2C#1363], functions=[])
Project [Prénom patient#1144 AS COL_AFDD307D_6D56_4174_89B0_A182BAF9BE2C#1363, DPT#1155 AS COL_AF185383_3F7C_4A45_9DD2_F718785C191C#1374]
WholeStageCodegen (1)
FileScan csv [Prénom patient#1144,DPT#1155] Batched: false, DataFilters: [], Format: CSV, Location: InMemoryFileIndex(1 paths)[file:/data/input/depot/csv/execution/7AAEA8D2_A93C_4D40_9B40_D350879AA..., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<Prénom patient:string,DPT:int>