digraph G {
subgraph cluster0 {
isCluster="true";
id="cluster0";
label="WholeStageCodegen (5)\n \nduration: total (min, med, max (stageId: taskId))\n3.3 s (53 ms, 96 ms, 187 ms (stage 329373.0: task 927220))";
tooltip="WholeStageCodegen (5)";
1 [id="node1" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3538856, product#3540478, plant#3540473, orderDateTime#3540479, deliveryDateTime#3540474, availabilityDateTime#3540480, qty#3540270 AS orderQuantityInBaseUnit#3547885, orderProposalId#3540469L]"];
2 [id="node2" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 111,276<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 329373.0: task 927221))" tooltip="SortMergeJoin [worklistShardItemId#3540268L], [worklistShardItemId#3540492L], LeftOuter, (shardId#3538856 = 0_2_10000000532)"];
}
subgraph cluster3 {
isCluster="true";
id="cluster3";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n4.8 s (54 ms, 98 ms, 351 ms (stage 329373.0: task 927220))";
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 329373.0: task 927221))<br>peak memory total (min, med, max (stageId: taskId))<br>63.8 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 329373.0: task 927221))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 329373.0: task 927221))" tooltip="Sort [worklistShardItemId#3540268L ASC NULLS FIRST], false, 0"];
}
5 [id="node5" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 111,276<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 111,276<br>local bytes read total (min, med, max (stageId: taskId))<br>413.3 KiB (12.9 KiB, 13.6 KiB, 14.8 KiB (stage 329373.0: task 927280))<br>merged fetch fallback count: 0<br>local blocks read: 431<br>remote merged chunks fetched: 0<br>remote blocks read: 469<br>data size total (min, med, max (stageId: taskId))<br>5.1 MiB (160.2 KiB, 172.9 KiB, 191.3 KiB (stage 329372.0: task 927096))<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>57 ms (1 ms, 2 ms, 2 ms (stage 329372.0: task 927125))<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>5 ms (0 ms, 0 ms, 3 ms (stage 329373.0: task 927272))<br>remote bytes read total (min, med, max (stageId: taskId))<br>450.3 KiB (13.7 KiB, 15.2 KiB, 16.1 KiB (stage 329373.0: task 927214))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>140 ms (3 ms, 4 ms, 10 ms (stage 329373.0: task 927269))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>863.6 KiB (26.9 KiB, 28.8 KiB, 31.1 KiB (stage 329372.0: task 927096))" tooltip="Exchange hashpartitioning(worklistShardItemId#3540268L, 30), ENSURE_REQUIREMENTS, [plan_id=1016774]"];
subgraph cluster6 {
isCluster="true";
id="cluster6";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n389 ms (4 ms, 5 ms, 118 ms (stage 329372.0: task 927123))";
tooltip="WholeStageCodegen (1)";
7 [id="node7" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3538856, item#3540267.worklistShardItemId AS worklistShardItemId#3540268L, item#3540267.qty AS qty#3540270]"];
8 [id="node8" labelType="html" label="<b>Generate</b><br><br>number of output rows: 111,276" tooltip="Generate explode(items#3538858), [shardId#3538856], false, [item#3540267]"];
9 [id="node9" labelType="html" label="<b>Filter</b><br><br>number of output rows: 2,195" tooltip="Filter (((isnotnull(shardId#3538856) AND (shardId#3538856 = 0_2_10000000532)) AND (size(items#3538858, true) > 0)) AND isnotnull(items#3538858))"];
}
10 [id="node10" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 2,195" tooltip="InMemoryTableScan [shardId#3538856, items#3538858], [isnotnull(shardId#3538856), (shardId#3538856 = 0_2_10000000532), (size(items#3538858, true) > 0), isnotnull(items#3538858)]"];
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#3538856) AND (shardId#3538856 = 0_2_10000000532))"];
}
13 [id="node13" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#3538856, orderProposalId#3538857L, items#3538858, optimizationGroups#3538859, isOptimal#3538860, optimizationInsights#3538862], [isnotnull(shardId#3538856), (shardId#3538856 = 0_2_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#3538856) AND (shardId#3538856 = 0_2_10000000532))"];
16 [id="node16" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#3538856,orderProposalId#3538857L,items#3538858,optimizationGroups#3538859,isOptimal#3538860,lastModified#3538861,optimizationInsights#3538862]"];
}
subgraph cluster17 {
isCluster="true";
id="cluster17";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n4.1 s (53 ms, 97 ms, 270 ms (stage 329373.0: task 927220))";
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 329373.0: task 927221))<br>peak memory total (min, med, max (stageId: taskId))<br>63.8 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 329373.0: task 927221))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 329373.0: task 927221))" tooltip="Sort [worklistShardItemId#3540492L ASC NULLS FIRST], false, 0"];
19 [id="node19" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [worklistShardItemId#3540492L, orderProposalId#3540469L, product#3540478, plant#3540473, orderDateTime#3540479, deliveryDateTime#3540474, availabilityDateTime#3540480]"];
}
20 [id="node20" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 111,276<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 111,276<br>local bytes read total (min, med, max (stageId: taskId))<br>2.5 MiB (72.1 KiB, 91.0 KiB, 95.4 KiB (stage 329373.0: task 927222))<br>merged fetch fallback count: 0<br>local blocks read: 447<br>remote merged chunks fetched: 0<br>remote blocks read: 663<br>data size total (min, med, max (stageId: taskId))<br>13.6 MiB (356.3 KiB, 376.6 KiB, 393.8 KiB (stage 329272.0: task 927066))<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>69 ms (1 ms, 1 ms, 2 ms (stage 329272.0: task 927069))<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 329373.0: task 927221))<br>remote bytes read total (min, med, max (stageId: taskId))<br>3.8 MiB (117.5 KiB, 125.1 KiB, 142.5 KiB (stage 329373.0: task 927280))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>185 ms (4 ms, 6 ms, 10 ms (stage 329373.0: task 927272))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>6.3 MiB (166.2 KiB, 174.8 KiB, 181.7 KiB (stage 329272.0: task 927066))" tooltip="Exchange hashpartitioning(worklistShardItemId#3540492L, 30), REPARTITION_BY_NUM, [plan_id=1016784]"];
subgraph cluster21 {
isCluster="true";
id="cluster21";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n6.2 s (115 ms, 158 ms, 283 ms (stage 329272.0: task 927078))";
tooltip="WholeStageCodegen (3)";
22 [id="node22" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#3540469L, plant#3540473, deliveryDateTime#3540474, product#3540478, orderDateTime#3540479, availabilityDateTime#3540480, worklistShardItemId#3540492L]"];
23 [id="node23" labelType="html" label="<b>Filter</b><br><br>number of output rows: 111,276" tooltip="Filter isnotnull(worklistShardItemId#3540492L)"];
24 [id="node24" labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 111,276<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.3 s (110 ms, 141 ms, 210 ms (stage 329272.0: task 927074))<br>dynamic partition pruning time: 0 ms<br>metadata time: 0 ms<br>size of files read: 14.6 MiB<br>number of output rows: 111,276<br>number of partitions read: 1" tooltip="FileScan parquet [orderProposalId#3540469L,plant#3540473,deliveryDateTime#3540474,product#3540478,orderDateTime#3540479,availabilityDateTime#3540480,worklistShardItemId#3540492L,shardId#3540513,sequenceId#3540491] Batched: true, DataFilters: [isnotnull(worklistShardItemId#3540492L)], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://7da5304c-1f57-47fa-b75a-0f0b4349c280.files.hdl.prod-eu20...., PartitionFilters: [isnotnull(shardId#3540513), isnotnull(sequenceId#3540491), (shardId#3540513 = 0_2_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;
}