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: 4 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 143.0: task 1124))<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 143.0: task 1117))<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 143.0: task 1121))"];
subgraph cluster9 {
isCluster="true";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n1.0 s (85 ms, 102 ms, 113 ms (stage 143.0: task 1126))";
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 147.0: task 1131))<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 147.0: task 1139))<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 147.0: task 1139))"];
subgraph cluster15 {
isCluster="true";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n2.4 s (78 ms, 100 ms, 124 ms (stage 147.0: task 1134))";
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.2 s (75 ms, 85 ms, 115 ms (stage 147.0: task 1134))<br>peak memory total (min, med, max (stageId: taskId))<br>6.3 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 147.0: task 1139))<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.2 s (75 ms, 85 ms, 115 ms (stage 147.0: task 1134))<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: 14 ms<br>time to collect: 185 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: 156 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#3570), false, [explodedDemandChannels#3582]
Project [demandChannels#3570]
BroadcastHashJoin [demandProfile#3569], [demandProfile#3418], Inner, BuildLeft, false
HashAggregate(keys=[demandProfile#3418], functions=[])
WholeStageCodegen (4)
BroadcastExchange HashedRelationBroadcastMode(List(input[0, string, false]),false), [plan_id=5701]
AQEShuffleRead local
Exchange hashpartitioning(demandProfile#3569, 37), ENSURE_REQUIREMENTS, [plan_id=5617]
Filter (isnotnull(demandProfile#3569) AND ((size(demandChannels#3570, true) > 0) AND isnotnull(demandChannels#3570)))
Scan ExistingRDD[demandProfile#3569,demandChannels#3570]
WholeStageCodegen (1)
AQEShuffleRead coalesced
Exchange hashpartitioning(demandProfile#3418, 37), ENSURE_REQUIREMENTS, [plan_id=5800]
HashAggregate(keys=[demandProfile#3418], functions=[])
Project [demandProfile#3418]
BroadcastHashJoin [coalesce(plant#3408, ), isnull(plant#3408), coalesce(product#3407, ), isnull(product#3407)], [coalesce(plant#3416, ), isnull(plant#3416), coalesce(product#3415, ), isnull(product#3415)], Inner, BuildRight, false
ColumnarToRow
WholeStageCodegen (3)
FileScan parquet [product#3407,plant#3408] 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=5643]
Filter isnotnull(demandProfile#3418)
ColumnarToRow
WholeStageCodegen (2)
FileScan parquet [product#3415,plant#3416,demandprofile#3418] Batched: true, DataFilters: [isnotnull(demandprofile#3418)], 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>