digraph G {
subgraph cluster0 {
isCluster="true";
id="cluster0";
label="WholeStageCodegen (5)\n \nduration: total (min, med, max (stageId: taskId))\n3.8 s (47 ms, 81 ms, 340 ms (stage 320850.0: task 905170))";
tooltip="WholeStageCodegen (5)";
1 [id="node1" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3461394, product#3462116, plant#3462111, orderDateTime#3462117, deliveryDateTime#3462112, availabilityDateTime#3462118, qty#3461908 AS orderQuantityInBaseUnit#3462389, orderProposalId#3462107L]"];
2 [id="node2" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 119,861<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 320850.0: task 905171))" tooltip="SortMergeJoin [worklistShardItemId#3461906L], [worklistShardItemId#3462130L], LeftOuter, (shardId#3461394 = 0_5_10000000532)"];
}
subgraph cluster3 {
isCluster="true";
id="cluster3";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n4.9 s (48 ms, 81 ms, 524 ms (stage 320850.0: task 905170))";
tooltip="WholeStageCodegen (2)";
4 [id="node4" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>0 ms (0 ms, 0 ms, 0 ms (stage 320850.0: task 905171))<br>peak memory total (min, med, max (stageId: taskId))<br>64.0 MiB (2.1 MiB, 2.1 MiB, 2.3 MiB (stage 320850.0: task 905166))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 320850.0: task 905171))" tooltip="Sort [worklistShardItemId#3461906L ASC NULLS FIRST], false, 0"];
}
5 [id="node5" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 119,861<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 119,861<br>local bytes read total (min, med, max (stageId: taskId))<br>420.9 KiB (9.0 KiB, 16.3 KiB, 17.1 KiB (stage 320850.0: task 905187))<br>merged fetch fallback count: 0<br>local blocks read: 410<br>remote merged chunks fetched: 0<br>remote blocks read: 490<br>data size total (min, med, max (stageId: taskId))<br>5.5 MiB (178.1 KiB, 188.8 KiB, 198.4 KiB (stage 320848.0: task 905129))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>52 ms (1 ms, 1 ms, 2 ms (stage 320848.0: task 905099))<br>remote merged bytes read: 0.0 B<br>local merged blocks fetched: 0<br>corrupt merged block chunks: 0<br>fetch wait time total (min, med, max (stageId: taskId))<br>1 ms (0 ms, 0 ms, 1 ms (stage 320850.0: task 905190))<br>remote bytes read total (min, med, max (stageId: taskId))<br>496.9 KiB (13.7 KiB, 14.3 KiB, 21.9 KiB (stage 320850.0: task 905166))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>154 ms (3 ms, 5 ms, 8 ms (stage 320850.0: task 905167))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>917.8 KiB (29.2 KiB, 30.6 KiB, 32.1 KiB (stage 320848.0: task 905129))" tooltip="Exchange hashpartitioning(worklistShardItemId#3461906L, 30), ENSURE_REQUIREMENTS, [plan_id=994806]"];
subgraph cluster6 {
isCluster="true";
id="cluster6";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n205 ms (4 ms, 6 ms, 10 ms (stage 320848.0: task 905108))";
tooltip="WholeStageCodegen (1)";
7 [id="node7" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3461394, item#3461905.worklistShardItemId AS worklistShardItemId#3461906L, item#3461905.qty AS qty#3461908]"];
8 [id="node8" labelType="html" label="<b>Generate</b><br><br>number of output rows: 119,861" tooltip="Generate explode(items#3461396), [shardId#3461394], false, [item#3461905]"];
9 [id="node9" labelType="html" label="<b>Filter</b><br><br>number of output rows: 2,360" tooltip="Filter (((isnotnull(shardId#3461394) AND (shardId#3461394 = 0_5_10000000532)) AND (size(items#3461396, true) > 0)) AND isnotnull(items#3461396))"];
}
10 [id="node10" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 2,360" tooltip="InMemoryTableScan [shardId#3461394, items#3461396], [isnotnull(shardId#3461394), (shardId#3461394 = 0_5_10000000532), (size(items#3461396, true) > 0), isnotnull(items#3461396)]"];
subgraph cluster11 {
isCluster="true";
id="cluster11";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
12 [id="node12" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#3461394) AND (shardId#3461394 = 0_5_10000000532))"];
}
13 [id="node13" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#3461394, orderProposalId#3461395L, items#3461396, optimizationGroups#3461397, isOptimal#3461398, optimizationInsights#3461400], [isnotnull(shardId#3461394), (shardId#3461394 = 0_5_10000000532)]"];
subgraph cluster14 {
isCluster="true";
id="cluster14";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
15 [id="node15" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#3461394) AND (shardId#3461394 = 0_5_10000000532))"];
16 [id="node16" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#3461394,orderProposalId#3461395L,items#3461396,optimizationGroups#3461397,isOptimal#3461398,lastModified#3461399,optimizationInsights#3461400]"];
}
subgraph cluster17 {
isCluster="true";
id="cluster17";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n4.4 s (47 ms, 81 ms, 430 ms (stage 320850.0: task 905170))";
tooltip="WholeStageCodegen (4)";
18 [id="node18" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>0 ms (0 ms, 0 ms, 0 ms (stage 320850.0: task 905171))<br>peak memory total (min, med, max (stageId: taskId))<br>64.0 MiB (2.1 MiB, 2.1 MiB, 2.3 MiB (stage 320850.0: task 905166))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 320850.0: task 905171))" tooltip="Sort [worklistShardItemId#3462130L ASC NULLS FIRST], false, 0"];
19 [id="node19" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [worklistShardItemId#3462130L, orderProposalId#3462107L, product#3462116, plant#3462111, orderDateTime#3462117, deliveryDateTime#3462112, availabilityDateTime#3462118]"];
}
20 [id="node20" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 119,861<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 119,861<br>local bytes read total (min, med, max (stageId: taskId))<br>2.3 MiB (59.3 KiB, 86.0 KiB, 90.4 KiB (stage 320850.0: task 905187))<br>merged fetch fallback count: 0<br>local blocks read: 380<br>remote merged chunks fetched: 0<br>remote blocks read: 730<br>data size total (min, med, max (stageId: taskId))<br>14.6 MiB (390.8 KiB, 403.6 KiB, 420.1 KiB (stage 320849.0: task 905113))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>67 ms (1 ms, 1 ms, 2 ms (stage 320849.0: task 905114))<br>remote merged bytes read: 0.0 B<br>local merged blocks fetched: 0<br>corrupt merged block chunks: 0<br>fetch wait time total (min, med, max (stageId: taskId))<br>0 ms (0 ms, 0 ms, 0 ms (stage 320850.0: task 905171))<br>remote bytes read total (min, med, max (stageId: taskId))<br>4.5 MiB (136.8 KiB, 146.9 KiB, 172.3 KiB (stage 320850.0: task 905166))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>186 ms (4 ms, 6 ms, 14 ms (stage 320850.0: task 905170))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>6.8 MiB (181.1 KiB, 186.8 KiB, 193.8 KiB (stage 320849.0: task 905113))" tooltip="Exchange hashpartitioning(worklistShardItemId#3462130L, 30), REPARTITION_BY_NUM, [plan_id=994816]"];
subgraph cluster21 {
isCluster="true";
id="cluster21";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n6.8 s (118 ms, 170 ms, 294 ms (stage 320849.0: task 905134))";
tooltip="WholeStageCodegen (3)";
22 [id="node22" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#3462107L, plant#3462111, deliveryDateTime#3462112, product#3462116, orderDateTime#3462117, availabilityDateTime#3462118, worklistShardItemId#3462130L]"];
23 [id="node23" labelType="html" label="<b>Filter</b><br><br>number of output rows: 119,861" tooltip="Filter isnotnull(worklistShardItemId#3462130L)"];
24 [id="node24" labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 119,861<br>number of input batches: 37" tooltip="ColumnarToRow"];
}
25 [id="node25" labelType="html" label="<b>Scan parquet </b><br><br>number of files read: 37<br>scan time total (min, med, max (stageId: taskId))<br>6.0 s (114 ms, 162 ms, 212 ms (stage 320849.0: task 905114))<br>dynamic partition pruning time: 0 ms<br>metadata time: 0 ms<br>size of files read: 15.5 MiB<br>number of output rows: 119,861<br>number of partitions read: 1" tooltip="FileScan parquet [orderProposalId#3462107L,plant#3462111,deliveryDateTime#3462112,product#3462116,orderDateTime#3462117,availabilityDateTime#3462118,worklistShardItemId#3462130L,shardId#3462151,sequenceId#3462129] Batched: true, DataFilters: [isnotnull(worklistShardItemId#3462130L)], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://7da5304c-1f57-47fa-b75a-0f0b4349c280.files.hdl.prod-eu20...., PartitionFilters: [isnotnull(shardId#3462151), isnotnull(sequenceId#3462129), (shardId#3462151 = 0_5_10000000532), ..., PushedFilters: [IsNotNull(worklistShardItemId)], ReadSchema: struct<orderProposalId:bigint,plant:string,deliveryDateTime:timestamp,product:string,orderDateTim..."];
2->1;
4->2;
5->4;
7->5;
8->7;
9->8;
10->9;
12->10;
13->12;
15->13;
16->15;
18->2;
19->18;
20->19;
22->20;
23->22;
24->23;
25->24;
}