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: 89 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 293.0: task 2280))<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: 400.0 B<br>fetch wait time: 0 ms<br>remote bytes read: 908.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 293.0: task 2272))<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 293.0: task 2276))"];
subgraph cluster9 {
isCluster="true";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n1.2 s (89 ms, 102 ms, 199 ms (stage 293.0: task 2276))";
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>13 ms (0 ms, 0 ms, 0 ms (stage 295.0: task 2308))<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 295.0: task 2291))<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>2.2 KiB (92.0 B, 92.0 B, 92.0 B (stage 295.0: task 2291))"];
subgraph cluster15 {
isCluster="true";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n2.3 s (74 ms, 90 ms, 126 ms (stage 295.0: task 2287))";
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.1 s (73 ms, 82 ms, 118 ms (stage 295.0: task 2287))<br>peak memory total (min, med, max (stageId: taskId))<br>6.3 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 295.0: task 2291))<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.1 s (72 ms, 82 ms, 118 ms (stage 295.0: task 2287))<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: 7 ms<br>time to collect: 173 ms<br>number of output rows: 1,174<br>data size: 64.1 MiB"];
subgraph cluster22 {
isCluster="true";
label="WholeStageCodegen (2)\n \nduration: 148 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: 148 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#7523), false, [explodedDemandChannels#7535]
Project [demandChannels#7523]
BroadcastHashJoin [demandProfile#7522], [demandProfile#7371], Inner, BuildLeft, false
HashAggregate(keys=[demandProfile#7371], functions=[])
WholeStageCodegen (4)
BroadcastExchange HashedRelationBroadcastMode(List(input[0, string, false]),false), [plan_id=11649]
AQEShuffleRead local
Exchange hashpartitioning(demandProfile#7522, 37), ENSURE_REQUIREMENTS, [plan_id=11503]
Filter (isnotnull(demandProfile#7522) AND ((size(demandChannels#7523, true) > 0) AND isnotnull(demandChannels#7523)))
Scan ExistingRDD[demandProfile#7522,demandChannels#7523]
WholeStageCodegen (1)
AQEShuffleRead coalesced
Exchange hashpartitioning(demandProfile#7371, 37), ENSURE_REQUIREMENTS, [plan_id=11606]
HashAggregate(keys=[demandProfile#7371], functions=[])
Project [demandProfile#7371]
BroadcastHashJoin [coalesce(plant#7361, ), isnull(plant#7361), coalesce(product#7360, ), isnull(product#7360)], [coalesce(plant#7369, ), isnull(plant#7369), coalesce(product#7368, ), isnull(product#7368)], Inner, BuildRight, false
ColumnarToRow
WholeStageCodegen (3)
FileScan parquet [product#7360,plant#7361] 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=11529]
Filter isnotnull(demandProfile#7371)
ColumnarToRow
WholeStageCodegen (2)
FileScan parquet [product#7368,plant#7369,demandprofile#7371] Batched: true, DataFilters: [isnotnull(demandprofile#7371)], 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>