digraph G {
subgraph cluster0 {
isCluster="true";
id="cluster0";
label="WholeStageCodegen (5)\n \nduration: total (min, med, max (stageId: taskId))\n3.9 s (57 ms, 71 ms, 352 ms (stage 307528.0: task 888478))";
tooltip="WholeStageCodegen (5)";
1 [id="node1" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3395105, product#3396312, plant#3396307, orderDateTime#3396313, deliveryDateTime#3396308, availabilityDateTime#3396314, qty#3395822 AS orderQuantityInBaseUnit#3397643, orderProposalId#3396303L]"];
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 307528.0: task 888481))" tooltip="SortMergeJoin [worklistShardItemId#3395820L], [worklistShardItemId#3396326L], LeftOuter, (shardId#3395105 = 0_5_10000000532)"];
}
subgraph cluster3 {
isCluster="true";
id="cluster3";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n5.2 s (58 ms, 72 ms, 542 ms (stage 307528.0: task 888478))";
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 307528.0: task 888481))<br>peak memory total (min, med, max (stageId: taskId))<br>64.0 MiB (2.1 MiB, 2.1 MiB, 2.3 MiB (stage 307528.0: task 888479))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 307528.0: task 888481))" tooltip="Sort [worklistShardItemId#3395820L 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>438.8 KiB (12.9 KiB, 13.6 KiB, 17.6 KiB (stage 307528.0: task 888508))<br>merged fetch fallback count: 0<br>local blocks read: 430<br>remote merged chunks fetched: 0<br>remote blocks read: 470<br>data size total (min, med, max (stageId: taskId))<br>5.5 MiB (179.3 KiB, 186.5 KiB, 196.5 KiB (stage 307526.0: task 888402))<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 307526.0: task 888395))<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>3 ms (0 ms, 0 ms, 1 ms (stage 307528.0: task 888493))<br>remote bytes read total (min, med, max (stageId: taskId))<br>478.2 KiB (13.1 KiB, 17.1 KiB, 17.8 KiB (stage 307528.0: task 888479))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>117 ms (3 ms, 4 ms, 5 ms (stage 307528.0: task 888479))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>917.0 KiB (29.5 KiB, 30.6 KiB, 31.5 KiB (stage 307526.0: task 888398))" tooltip="Exchange hashpartitioning(worklistShardItemId#3395820L, 30), ENSURE_REQUIREMENTS, [plan_id=978919]"];
subgraph cluster6 {
isCluster="true";
id="cluster6";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n194 ms (3 ms, 6 ms, 10 ms (stage 307526.0: task 888394))";
tooltip="WholeStageCodegen (1)";
7 [id="node7" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3395105, item#3395819.worklistShardItemId AS worklistShardItemId#3395820L, item#3395819.qty AS qty#3395822]"];
8 [id="node8" labelType="html" label="<b>Generate</b><br><br>number of output rows: 119,861" tooltip="Generate explode(items#3395107), [shardId#3395105], false, [item#3395819]"];
9 [id="node9" labelType="html" label="<b>Filter</b><br><br>number of output rows: 2,360" tooltip="Filter (((isnotnull(shardId#3395105) AND (shardId#3395105 = 0_5_10000000532)) AND (size(items#3395107, true) > 0)) AND isnotnull(items#3395107))"];
}
10 [id="node10" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 2,360" tooltip="InMemoryTableScan [shardId#3395105, items#3395107], [isnotnull(shardId#3395105), (shardId#3395105 = 0_5_10000000532), (size(items#3395107, true) > 0), isnotnull(items#3395107)]"];
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#3395105) AND (shardId#3395105 = 0_5_10000000532))"];
}
13 [id="node13" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#3395105, orderProposalId#3395106L, items#3395107, optimizationGroups#3395108, isOptimal#3395109, optimizationInsights#3395111], [isnotnull(shardId#3395105), (shardId#3395105 = 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#3395105) AND (shardId#3395105 = 0_5_10000000532))"];
16 [id="node16" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#3395105,orderProposalId#3395106L,items#3395107,optimizationGroups#3395108,isOptimal#3395109,lastModified#3395110,optimizationInsights#3395111]"];
}
subgraph cluster17 {
isCluster="true";
id="cluster17";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n4.6 s (57 ms, 71 ms, 448 ms (stage 307528.0: task 888478))";
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 307528.0: task 888481))<br>peak memory total (min, med, max (stageId: taskId))<br>64.0 MiB (2.1 MiB, 2.1 MiB, 2.3 MiB (stage 307528.0: task 888479))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 307528.0: task 888481))" tooltip="Sort [worklistShardItemId#3396326L ASC NULLS FIRST], false, 0"];
19 [id="node19" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [worklistShardItemId#3396326L, orderProposalId#3396303L, product#3396312, plant#3396307, orderDateTime#3396313, deliveryDateTime#3396308, availabilityDateTime#3396314]"];
}
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.7 MiB (70.7 KiB, 74.7 KiB, 129.6 KiB (stage 307528.0: task 888511))<br>merged fetch fallback count: 0<br>local blocks read: 440<br>remote merged chunks fetched: 0<br>remote blocks read: 670<br>data size total (min, med, max (stageId: taskId))<br>14.6 MiB (389.1 KiB, 405.8 KiB, 417.1 KiB (stage 307527.0: task 888396))<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>70 ms (1 ms, 1 ms, 2 ms (stage 307527.0: task 888396))<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 307528.0: task 888481))<br>remote bytes read total (min, med, max (stageId: taskId))<br>4.1 MiB (103.6 KiB, 155.1 KiB, 164.1 KiB (stage 307528.0: task 888479))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>200 ms (4 ms, 6 ms, 14 ms (stage 307528.0: task 888486))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>6.8 MiB (180.5 KiB, 187.8 KiB, 192.5 KiB (stage 307527.0: task 888396))" tooltip="Exchange hashpartitioning(worklistShardItemId#3396326L, 30), REPARTITION_BY_NUM, [plan_id=978929]"];
subgraph cluster21 {
isCluster="true";
id="cluster21";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n5.9 s (119 ms, 144 ms, 273 ms (stage 307527.0: task 888411))";
tooltip="WholeStageCodegen (3)";
22 [id="node22" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#3396303L, plant#3396307, deliveryDateTime#3396308, product#3396312, orderDateTime#3396313, availabilityDateTime#3396314, worklistShardItemId#3396326L]"];
23 [id="node23" labelType="html" label="<b>Filter</b><br><br>number of output rows: 119,861" tooltip="Filter isnotnull(worklistShardItemId#3396326L)"];
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>5.2 s (114 ms, 139 ms, 193 ms (stage 307527.0: task 888473))<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#3396303L,plant#3396307,deliveryDateTime#3396308,product#3396312,orderDateTime#3396313,availabilityDateTime#3396314,worklistShardItemId#3396326L,shardId#3396347,sequenceId#3396325] Batched: true, DataFilters: [isnotnull(worklistShardItemId#3396326L)], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://7da5304c-1f57-47fa-b75a-0f0b4349c280.files.hdl.prod-eu20...., PartitionFilters: [isnotnull(shardId#3396347), isnotnull(sequenceId#3396325), (shardId#3396347 = 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;
}