digraph G {
0 [labelType="html" label="<br><b>AdaptiveSparkPlan</b><br><br>"];
subgraph cluster1 {
isCluster="true";
label="WholeStageCodegen (4)\n \nduration: 0 ms";
2 [labelType="html" label="<br><b>Project</b><br><br>"];
3 [labelType="html" label="<b>Generate</b><br><br>number of output rows: 1"];
4 [labelType="html" label="<br><b>Project</b><br><br>"];
5 [labelType="html" label="<b>BroadcastHashJoin</b><br><br>number of output rows: 1"];
12 [labelType="html" label="<b>HashAggregate</b><br><br>spill size: 0.0 B<br>time in aggregation build: 3 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"];
}
6 [labelType="html" label="<b>BroadcastExchange</b><br><br>time to broadcast: 0 ms<br>time to build: 6 ms<br>time to collect: 18 ms<br>number of output rows: 10<br>data size: 64.0 MiB"];
7 [labelType="html" label="<b>AQEShuffleRead</b><br><br>number of partitions: 1"];
8 [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>5 ms (0 ms, 0 ms, 0 ms (stage 209.0: task 1639))<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: 388.0 B<br>fetch wait time: 0 ms<br>remote bytes read: 920.0 B<br>merged fetch fallback count: 0<br>local blocks read: 3<br>remote merged chunks fetched: 0<br>remote blocks read: 7<br>data size total (min, med, max (stageId: taskId))<br>920.0 B (80.0 B, 96.0 B, 104.0 B (stage 209.0: task 1633))<br>local merged bytes read: 0.0 B<br>number of partitions: 37<br>remote reqs duration: 2 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>1308.0 B (123.0 B, 132.0 B, 136.0 B (stage 209.0: task 1637))"];
subgraph cluster9 {
isCluster="true";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n1.1 s (93 ms, 109 ms, 138 ms (stage 209.0: task 1636))";
10 [labelType="html" label="<b>Filter</b><br><br>number of output rows: 10"];
11 [labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 10"];
}
13 [labelType="html" label="<b>AQEShuffleRead</b><br><br>number of partitions: 1<br>partition data size: 2.4 KiB<br>number of coalesced partitions: 1"];
14 [labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 25<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>14 ms (0 ms, 0 ms, 0 ms (stage 213.0: task 1645))<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: 25<br>local bytes read: 736.0 B<br>fetch wait time: 0 ms<br>remote bytes read: 1564.0 B<br>merged fetch fallback count: 0<br>local blocks read: 8<br>remote merged chunks fetched: 0<br>remote blocks read: 17<br>data size total (min, med, max (stageId: taskId))<br>800.0 B (32.0 B, 32.0 B, 32.0 B (stage 213.0: task 1656))<br>local merged bytes read: 0.0 B<br>number of partitions: 37<br>remote reqs duration: 3 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>2.2 KiB (92.0 B, 92.0 B, 92.0 B (stage 213.0: task 1656))"];
subgraph cluster15 {
isCluster="true";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n2.4 s (76 ms, 97 ms, 120 ms (stage 213.0: task 1662))";
16 [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>2.3 s (74 ms, 89 ms, 118 ms (stage 213.0: task 1662))<br>peak memory total (min, med, max (stageId: taskId))<br>6.3 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 213.0: task 1656))<br>number of output rows: 25<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0"];
17 [labelType="html" label="<br><b>Project</b><br><br>"];
18 [labelType="html" label="<b>BroadcastHashJoin</b><br><br>number of output rows: 1,174"];
19 [labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 1,196<br>number of input batches: 25"];
}
20 [labelType="html" label="<b>Scan parquet </b><br><br>number of files read: 25<br>scan time total (min, med, max (stageId: taskId))<br>2.3 s (74 ms, 89 ms, 118 ms (stage 213.0: task 1662))<br>metadata time: 0 ms<br>size of files read: 83.2 KiB<br>number of output rows: 1,196"];
21 [labelType="html" label="<b>BroadcastExchange</b><br><br>time to broadcast: 1 ms<br>time to build: 8 ms<br>time to collect: 192 ms<br>number of output rows: 1,174<br>data size: 64.1 MiB"];
subgraph cluster22 {
isCluster="true";
label="WholeStageCodegen (2)\n \nduration: 157 ms";
23 [labelType="html" label="<b>Filter</b><br><br>number of output rows: 1,174"];
24 [labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 1,196<br>number of input batches: 1"];
}
25 [labelType="html" label="<b>Scan parquet </b><br><br>number of files read: 1<br>scan time: 157 ms<br>metadata time: 0 ms<br>size of files read: 8.1 KiB<br>number of output rows: 1,196"];
2->0;
3->2;
4->3;
5->4;
6->5;
7->6;
8->7;
10->8;
11->10;
12->5;
13->12;
14->13;
16->14;
17->16;
18->17;
19->18;
20->19;
21->18;
23->21;
24->23;
25->24;
}
26
AdaptiveSparkPlan isFinalPlan=true
Project
Generate explode(demandChannels#5693), false, [explodedDemandChannels#5705]
Project [demandChannels#5693]
BroadcastHashJoin [demandProfile#5692], [demandProfile#5541], Inner, BuildLeft, false
HashAggregate(keys=[demandProfile#5541], functions=[])
WholeStageCodegen (4)
BroadcastExchange HashedRelationBroadcastMode(List(input[0, string, false]),false), [plan_id=8221]
AQEShuffleRead local
Exchange hashpartitioning(demandProfile#5692, 37), ENSURE_REQUIREMENTS, [plan_id=8137]
Filter (isnotnull(demandProfile#5692) AND ((size(demandChannels#5693, true) > 0) AND isnotnull(demandChannels#5693)))
Scan ExistingRDD[demandProfile#5692,demandChannels#5693]
WholeStageCodegen (1)
AQEShuffleRead coalesced
Exchange hashpartitioning(demandProfile#5541, 37), ENSURE_REQUIREMENTS, [plan_id=8320]
HashAggregate(keys=[demandProfile#5541], functions=[])
Project [demandProfile#5541]
BroadcastHashJoin [coalesce(plant#5531, ), isnull(plant#5531), coalesce(product#5530, ), isnull(product#5530)], [coalesce(plant#5539, ), isnull(plant#5539), coalesce(product#5538, ), isnull(product#5538)], Inner, BuildRight, false
ColumnarToRow
WholeStageCodegen (3)
FileScan parquet [product#5530,plant#5531] Batched: true, DataFilters: [], Format: Parquet, Location: InMemoryFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.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=8163]
Filter isnotnull(demandProfile#5541)
ColumnarToRow
WholeStageCodegen (2)
FileScan parquet [product#5538,plant#5539,demandprofile#5541] Batched: true, DataFilters: [isnotnull(demandprofile#5541)], Format: Parquet, Location: InMemoryFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20.hanac..., PartitionFilters: [], PushedFilters: [IsNotNull(demandprofile)], ReadSchema: struct<product:string,plant:string,demandprofile:string>