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: 5 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: 1 ms<br>time to build: 19 ms<br>time to collect: 20 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>6 ms (0 ms, 0 ms, 1 ms (stage 87.0: task 697))<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 87.0: task 691))<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 87.0: task 695))"];
subgraph cluster9 {
isCluster="true";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n1.1 s (104 ms, 111 ms, 146 ms (stage 87.0: task 693))";
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>18 ms (0 ms, 0 ms, 3 ms (stage 91.0: task 722))<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: 828.0 B<br>fetch wait time: 0 ms<br>remote bytes read: 1472.0 B<br>merged fetch fallback count: 0<br>local blocks read: 9<br>remote merged chunks fetched: 0<br>remote blocks read: 16<br>data size total (min, med, max (stageId: taskId))<br>800.0 B (32.0 B, 32.0 B, 32.0 B (stage 91.0: task 714))<br>local merged bytes read: 0.0 B<br>number of partitions: 37<br>remote reqs duration: 4 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 91.0: task 714))"];
subgraph cluster15 {
isCluster="true";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n2.7 s (78 ms, 107 ms, 164 ms (stage 91.0: task 711))";
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.5 s (71 ms, 98 ms, 138 ms (stage 91.0: task 711))<br>peak memory total (min, med, max (stageId: taskId))<br>6.3 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 91.0: task 714))<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.5 s (71 ms, 98 ms, 138 ms (stage 91.0: task 711))<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: 12 ms<br>time to collect: 219 ms<br>number of output rows: 1,174<br>data size: 64.1 MiB"];
subgraph cluster22 {
isCluster="true";
label="WholeStageCodegen (2)\n \nduration: 186 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: 184 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#2350), false, [explodedDemandChannels#2362]
Project [demandChannels#2350]
BroadcastHashJoin [demandProfile#2349], [demandProfile#2198], Inner, BuildLeft, false
HashAggregate(keys=[demandProfile#2198], functions=[])
WholeStageCodegen (4)
BroadcastExchange HashedRelationBroadcastMode(List(input[0, string, false]),false), [plan_id=3482]
AQEShuffleRead local
Exchange hashpartitioning(demandProfile#2349, 37), ENSURE_REQUIREMENTS, [plan_id=3398]
Filter (isnotnull(demandProfile#2349) AND ((size(demandChannels#2350, true) > 0) AND isnotnull(demandChannels#2350)))
Scan ExistingRDD[demandProfile#2349,demandChannels#2350]
WholeStageCodegen (1)
AQEShuffleRead coalesced
Exchange hashpartitioning(demandProfile#2198, 37), ENSURE_REQUIREMENTS, [plan_id=3581]
HashAggregate(keys=[demandProfile#2198], functions=[])
Project [demandProfile#2198]
BroadcastHashJoin [coalesce(plant#2188, ), isnull(plant#2188), coalesce(product#2187, ), isnull(product#2187)], [coalesce(plant#2196, ), isnull(plant#2196), coalesce(product#2195, ), isnull(product#2195)], Inner, BuildRight, false
ColumnarToRow
WholeStageCodegen (3)
FileScan parquet [product#2187,plant#2188] 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=3424]
Filter isnotnull(demandProfile#2198)
ColumnarToRow
WholeStageCodegen (2)
FileScan parquet [product#2195,plant#2196,demandprofile#2198] Batched: true, DataFilters: [isnotnull(demandprofile#2198)], 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>