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>spill size: 0.0 B<br>time in aggregation build: 17 ms<br>peak memory: 256.0 KiB<br>number of output rows: 1<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0"];
}
3 [labelType="html" label="<b>AQEShuffleRead</b><br><br>number of partitions: 1<br>partition data size: 970.0 B<br>number of coalesced partitions: 1"];
4 [labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 10<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>27 ms (0 ms, 1 ms, 7 ms (stage 3.0: task 6))<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: 10<br>local bytes read: 736.0 B<br>fetch wait time: 0 ms<br>remote bytes read: 184.0 B<br>merged fetch fallback count: 0<br>local blocks read: 8<br>remote merged chunks fetched: 0<br>remote blocks read: 2<br>data size total (min, med, max (stageId: taskId))<br>320.0 B (32.0 B, 32.0 B, 32.0 B (stage 3.0: task 6))<br>local merged bytes read: 0.0 B<br>number of partitions: 10<br>remote reqs duration: 29 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>920.0 B (92.0 B, 92.0 B, 92.0 B (stage 3.0: task 6))"];
subgraph cluster5 {
isCluster="true";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n4.7 s (99 ms, 232 ms, 1.6 s (stage 3.0: task 5))";
6 [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>3.8 s (94 ms, 130 ms, 1.4 s (stage 3.0: task 5))<br>peak memory total (min, med, max (stageId: taskId))<br>2.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 3.0: task 6))<br>number of output rows: 10<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0"];
7 [labelType="html" label="<br><b>Project</b><br><br>"];
8 [labelType="html" label="<b>BroadcastHashJoin</b><br><br>number of output rows: 677"];
9 [labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 677<br>number of input batches: 10"];
}
10 [labelType="html" label="<b>Scan parquet </b><br><br>number of files read: 10<br>scan time total (min, med, max (stageId: taskId))<br>3.7 s (93 ms, 127 ms, 1.3 s (stage 3.0: task 5))<br>metadata time: 0 ms<br>size of files read: 36.0 KiB<br>number of output rows: 677"];
11 [labelType="html" label="<b>BroadcastExchange</b><br><br>time to broadcast: 11 ms<br>time to build: 49 ms<br>time to collect: 1.6 s<br>number of output rows: 677<br>data size: 32.0 MiB"];
subgraph cluster12 {
isCluster="true";
label="WholeStageCodegen (1)\n \nduration: 770 ms";
13 [labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 677<br>number of input batches: 1"];
}
14 [labelType="html" label="<b>Scan parquet </b><br><br>number of files read: 1<br>scan time: 759 ms<br>metadata time: 2 ms<br>size of files read: 6.2 KiB<br>number of output rows: 677"];
2->0;
3->2;
4->3;
6->4;
7->6;
8->7;
9->8;
10->9;
11->8;
13->11;
14->13;
}
15
AdaptiveSparkPlan isFinalPlan=true
HashAggregate(keys=[demandProfile#153], functions=[])
WholeStageCodegen (3)
AQEShuffleRead coalesced
Exchange hashpartitioning(demandProfile#153, 10), ENSURE_REQUIREMENTS, [plan_id=106]
HashAggregate(keys=[demandProfile#153], functions=[])
Project [demandProfile#153]
BroadcastHashJoin [coalesce(plant#143, ), isnull(plant#143), coalesce(product#142, ), isnull(product#142)], [coalesce(plant#151, ), isnull(plant#151), coalesce(product#150, ), isnull(product#150)], LeftOuter, BuildRight, false
ColumnarToRow
WholeStageCodegen (2)
FileScan parquet [product#142,plant#143] Batched: true, DataFilters: [], Format: Parquet, Location: InMemoryFileIndex(1 paths)[hdlfs://7646b954-15f6-4bdc-91a5-2644c1a43a19.files.hdl.prod-eu20.hanac..., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<product:string,plant:string>
BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[1, string, true], ), isnull(input[1, string, true]), coalesce(input[0, string, true], ), isnull(input[0, string, true])),false), [plan_id=58]
ColumnarToRow
WholeStageCodegen (1)
FileScan parquet [product#150,plant#151,demandprofile#153] Batched: true, DataFilters: [], Format: Parquet, Location: InMemoryFileIndex(1 paths)[hdlfs://7646b954-15f6-4bdc-91a5-2644c1a43a19.files.hdl.prod-eu20.hanac..., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<product:string,plant:string,demandprofile:string>