digraph G {
0 [id="node0" labelType="html" label="<b>CollectLimit</b><br><br>shuffle records written: 20<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 1<br>local bytes read: 682.0 B<br>merged fetch fallback count: 0<br>local blocks read: 11<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>local merged bytes read: 0.0 B<br>remote reqs duration: 0 ms<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>3 ms (0 ms, 0 ms, 0 ms (stage 50926.0: task 136517))<br>remote merged bytes read: 0.0 B<br>local merged blocks fetched: 0<br>corrupt merged block chunks: 0<br>fetch wait time: 0 ms<br>remote bytes read: 0.0 B<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>1240.0 B (62.0 B, 62.0 B, 62.0 B (stage 50926.0: task 136520))" tooltip="CollectLimit 1"];
subgraph cluster1 {
isCluster="true";
id="cluster1";
label="WholeStageCodegen (9)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (9)";
2 [id="node2" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project"];
3 [id="node3" labelType="html" label="<b>Generate</b><br><br>number of output rows: 44" tooltip="Generate explode(quantityKpis#647229), false, [orderQuantityInBaseUnit#658501, kpis#658502]"];
4 [id="node4" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [coalesce(quantityKpis#647217, map(keys: [], values: [])) AS quantityKpis#647229]"];
5 [id="node5" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 20<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 50926.0: task 136520))" tooltip="SortMergeJoin [shardId#643168, worklistShardItemId#643816L], [shardId#647223, worklistShardItemId#647224L], Inner"];
}
subgraph cluster6 {
isCluster="true";
id="cluster6";
label="WholeStageCodegen (6)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (6)";
7 [id="node7" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#643168, worklistShardItemId#643816L]"];
8 [id="node8" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 20<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 50926.0: task 136520))" tooltip="SortMergeJoin [shardId#643168, worklistShardItemId#643816L], [shardId#647194, worklistShardItemId#647195L], LeftOuter"];
}
subgraph cluster9 {
isCluster="true";
id="cluster9";
label="WholeStageCodegen (3)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (3)";
10 [id="node10" 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 50926.0: task 136520))<br>peak memory total (min, med, max (stageId: taskId))<br>41.3 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 50926.0: task 136520))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 50926.0: task 136520))" tooltip="Sort [shardId#643168 ASC NULLS FIRST, worklistShardItemId#643816L ASC NULLS FIRST], false, 0"];
}
11 [id="node11" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 980<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 980<br>local bytes read total (min, med, max (stageId: taskId))<br>18.8 KiB (262.0 B, 1305.0 B, 1604.0 B (stage 50926.0: task 136520))<br>merged fetch fallback count: 0<br>local blocks read: 162<br>remote merged chunks fetched: 0<br>remote blocks read: 128<br>data size total (min, med, max (stageId: taskId))<br>38.3 KiB (40.0 B, 1840.0 B, 5.5 KiB (stage 50924.0: task 136501))<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>17 ms (0 ms, 0 ms, 1 ms (stage 50924.0: task 136463))<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 50926.0: task 136520))<br>remote bytes read total (min, med, max (stageId: taskId))<br>14.8 KiB (117.0 B, 359.0 B, 1675.0 B (stage 50926.0: task 136515))<br>number of partitions: 20<br>remote reqs duration total (min, med, max (stageId: taskId))<br>24 ms (0 ms, 1 ms, 2 ms (stage 50926.0: task 136511))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>33.7 KiB (97.0 B, 1883.0 B, 2.8 KiB (stage 50924.0: task 136501))" tooltip="Exchange hashpartitioning(shardId#643168, worklistShardItemId#643816L, 20), ENSURE_REQUIREMENTS, [plan_id=267189]"];
subgraph cluster12 {
isCluster="true";
id="cluster12";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n833 ms (5 ms, 23 ms, 101 ms (stage 50924.0: task 136463))";
tooltip="WholeStageCodegen (2)";
13 [id="node13" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#643168, worklistShardItemId#643816L]"];
14 [id="node14" labelType="html" label="<b>BroadcastHashJoin</b><br><br>number of output rows: 980" tooltip="BroadcastHashJoin [worklistShardItemId#643816L], [worklistShardItemId#645060L], LeftOuter, BuildRight, (shardId#643168 = 0_1_10000002106), false"];
15 [id="node15" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#643168, item#643815L AS worklistShardItemId#643816L]"];
16 [id="node16" labelType="html" label="<b>Generate</b><br><br>number of output rows: 980" tooltip="Generate explode(_extract_worklistShardItemId#658512), [shardId#643168], false, [item#643815L]"];
17 [id="node17" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#643168, items#643170.worklistShardItemId AS _extract_worklistShardItemId#658512]"];
18 [id="node18" labelType="html" label="<b>Filter</b><br><br>number of output rows: 59" tooltip="Filter ((isnotnull(shardId#643168) AND (shardId#643168 = 0_1_10000002106)) AND ((size(items#643170.worklistShardItemId, true) > 0) AND isnotnull(items#643170.worklistShardItemId)))"];
19 [id="node19" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 59" tooltip="Scan ExistingRDD[shardId#643168,orderProposalId#643169L,items#643170,optimizationGroups#643171,isOptimal#643172,lastModified#643173,optimizationInsights#643174]"];
}
20 [id="node20" labelType="html" label="<b>BroadcastExchange</b><br><br>time to broadcast: 0 ms<br>time to build: 0 ms<br>time to collect: 362 ms<br>number of output rows: 980<br>data size: 1056.0 KiB" tooltip="BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=267184]"];
21 [id="node21" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 980<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 980<br>local bytes read total (min, med, max (stageId: taskId))<br>18.1 KiB (630.0 B, 894.0 B, 1189.0 B (stage 50837.0: task 136436))<br>merged fetch fallback count: 0<br>local blocks read: 217<br>remote merged chunks fetched: 0<br>remote blocks read: 219<br>data size total (min, med, max (stageId: taskId))<br>15.3 KiB (432.0 B, 640.0 B, 768.0 B (stage 50836.0: task 136408))<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>21 ms (0 ms, 0 ms, 1 ms (stage 50836.0: task 136407))<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 50837.0: task 136440))<br>remote bytes read total (min, med, max (stageId: taskId))<br>18.6 KiB (661.0 B, 937.0 B, 1332.0 B (stage 50837.0: task 136437))<br>number of partitions: 20<br>remote reqs duration total (min, med, max (stageId: taskId))<br>23 ms (0 ms, 1 ms, 2 ms (stage 50837.0: task 136440))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>36.7 KiB (1259.0 B, 1490.0 B, 1741.0 B (stage 50836.0: task 136408))" tooltip="Exchange hashpartitioning(worklistShardItemId#645060L, 20), REPARTITION_BY_NUM, [plan_id=267183]"];
subgraph cluster22 {
isCluster="true";
id="cluster22";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n2.4 s (79 ms, 95 ms, 170 ms (stage 50836.0: task 136409))";
tooltip="WholeStageCodegen (1)";
23 [id="node23" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [worklistShardItemId#645060L]"];
24 [id="node24" labelType="html" label="<b>Filter</b><br><br>number of output rows: 980" tooltip="Filter isnotnull(worklistShardItemId#645060L)"];
25 [id="node25" labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 980<br>number of input batches: 25" tooltip="ColumnarToRow"];
}
26 [id="node26" 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.3 s (77 ms, 91 ms, 166 ms (stage 50836.0: task 136409))<br>dynamic partition pruning time: 0 ms<br>metadata time: 0 ms<br>size of files read: 674.1 KiB<br>number of output rows: 980<br>number of partitions read: 1" tooltip="FileScan parquet [worklistShardItemId#645060L,shardId#645081,sequenceId#645059] Batched: true, DataFilters: [isnotnull(worklistShardItemId#645060L)], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [isnotnull(shardId#645081), isnotnull(sequenceId#645059), (shardId#645081 = 0_1_10000002106), (se..., PushedFilters: [IsNotNull(worklistShardItemId)], ReadSchema: struct<worklistShardItemId:bigint>"];
subgraph cluster27 {
isCluster="true";
id="cluster27";
label="WholeStageCodegen (5)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (5)";
28 [id="node28" 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 50926.0: task 136520))<br>peak memory total (min, med, max (stageId: taskId))<br>41.3 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 50926.0: task 136520))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 50926.0: task 136520))" tooltip="Sort [shardId#647194 ASC NULLS FIRST, worklistShardItemId#647195L ASC NULLS FIRST], false, 0"];
}
29 [id="node29" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 980<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 980<br>local bytes read total (min, med, max (stageId: taskId))<br>21.7 KiB (845.0 B, 1152.0 B, 1303.0 B (stage 50926.0: task 136524))<br>merged fetch fallback count: 0<br>local blocks read: 191<br>remote merged chunks fetched: 0<br>remote blocks read: 183<br>data size total (min, med, max (stageId: taskId))<br>38.3 KiB (1720.0 B, 1960.0 B, 2.2 KiB (stage 50925.0: task 136491))<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>21 ms (0 ms, 1 ms, 1 ms (stage 50925.0: task 136464))<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 50926.0: task 136520))<br>remote bytes read total (min, med, max (stageId: taskId))<br>20.6 KiB (771.0 B, 1025.0 B, 1346.0 B (stage 50926.0: task 136525))<br>number of partitions: 20<br>remote reqs duration total (min, med, max (stageId: taskId))<br>24 ms (0 ms, 1 ms, 2 ms (stage 50926.0: task 136513))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>42.3 KiB (1937.0 B, 2.1 KiB, 2.3 KiB (stage 50925.0: task 136480))" tooltip="Exchange hashpartitioning(shardId#647194, worklistShardItemId#647195L, 20), ENSURE_REQUIREMENTS, [plan_id=267195]"];
subgraph cluster30 {
isCluster="true";
id="cluster30";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n161 ms (6 ms, 8 ms, 12 ms (stage 50925.0: task 136464))";
tooltip="WholeStageCodegen (4)";
31 [id="node31" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#647194, worklistShardItemId#647195L]"];
32 [id="node32" labelType="html" label="<b>Filter</b><br><br>number of output rows: 980" tooltip="Filter (((isnull(qty#647196) AND isnull(demandChannel#647197)) AND isnull(demandStream#647198)) AND (((shardId#647194 = 0_1_10000002106) AND isnotnull(shardId#647194)) AND isnotnull(worklistShardItemId#647195L)))"];
33 [id="node33" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 4,129" tooltip="Scan ExistingRDD[shardId#647194,worklistShardItemId#647195L,qty#647196,demandChannel#647197,demandStream#647198,kpis#647199]"];
}
subgraph cluster34 {
isCluster="true";
id="cluster34";
label="WholeStageCodegen (8)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (8)";
35 [id="node35" 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 50926.0: task 136520))<br>peak memory total (min, med, max (stageId: taskId))<br>41.3 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 50926.0: task 136520))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 50926.0: task 136520))" tooltip="Sort [shardId#647223 ASC NULLS FIRST, worklistShardItemId#647224L ASC NULLS FIRST], false, 0"];
36 [id="node36" labelType="html" label="<b>Filter</b><br><br>number of output rows: 980" tooltip="Filter (size(coalesce(quantityKpis#647217, map(keys: [], values: [])), true) > 0)"];
}
37 [id="node37" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 980<br>time in aggregation build total (min, med, max (stageId: taskId))<br>311 ms (2 ms, 27 ms, 29 ms (stage 50926.0: task 136514))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 50926.0: task 136520))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#647223, worklistShardItemId#647224L], functions=[collect_list(struct(qty, qty#647225, kpis, kpis#647228), 0, 0)])"];
38 [id="node38" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 2,091<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 2,091<br>local bytes read total (min, med, max (stageId: taskId))<br>127.8 KiB (3.0 KiB, 3.8 KiB, 11.0 KiB (stage 50926.0: task 136525))<br>merged fetch fallback count: 0<br>local blocks read: 189<br>remote merged chunks fetched: 0<br>remote blocks read: 208<br>data size total (min, med, max (stageId: taskId))<br>1357.2 KiB (60.5 KiB, 69.1 KiB, 72.7 KiB (stage 50923.0: task 136475))<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>24 ms (0 ms, 1 ms, 1 ms (stage 50923.0: task 136453))<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 50926.0: task 136520))<br>remote bytes read total (min, med, max (stageId: taskId))<br>141.9 KiB (2.6 KiB, 9.8 KiB, 11.0 KiB (stage 50926.0: task 136524))<br>number of partitions: 20<br>remote reqs duration total (min, med, max (stageId: taskId))<br>29 ms (0 ms, 2 ms, 3 ms (stage 50926.0: task 136525))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>269.7 KiB (12.6 KiB, 13.5 KiB, 14.2 KiB (stage 50923.0: task 136455))" tooltip="Exchange hashpartitioning(shardId#647223, worklistShardItemId#647224L, 20), ENSURE_REQUIREMENTS, [plan_id=267206]"];
39 [id="node39" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 2,091<br>time in aggregation build total (min, med, max (stageId: taskId))<br>1.2 s (4 ms, 109 ms, 121 ms (stage 50923.0: task 136452))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 50923.0: task 136458))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#647223, worklistShardItemId#647224L], functions=[partial_collect_list(struct(qty, qty#647225, kpis, kpis#647228), 0, 0)])"];
subgraph cluster40 {
isCluster="true";
id="cluster40";
label="WholeStageCodegen (7)\n \nduration: total (min, med, max (stageId: taskId))\n1.2 s (4 ms, 109 ms, 121 ms (stage 50923.0: task 136452))";
tooltip="WholeStageCodegen (7)";
41 [id="node41" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#647223, worklistShardItemId#647224L, qty#647225, kpis#647228]"];
42 [id="node42" labelType="html" label="<b>Filter</b><br><br>number of output rows: 2,183" tooltip="Filter ((isnotnull(qty#647225) AND isnotnull(kpis#647228)) AND (((shardId#647223 = 0_1_10000002106) AND isnotnull(shardId#647223)) AND isnotnull(worklistShardItemId#647224L)))"];
43 [id="node43" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 4,129" tooltip="Scan ExistingRDD[shardId#647223,worklistShardItemId#647224L,qty#647225,demandChannel#647226,demandStream#647227,kpis#647228]"];
}
2->0;
3->2;
4->3;
5->4;
7->5;
8->7;
10->8;
11->10;
13->11;
14->13;
15->14;
16->15;
17->16;
18->17;
19->18;
20->14;
21->20;
23->21;
24->23;
25->24;
26->25;
28->8;
29->28;
31->29;
32->31;
33->32;
35->5;
36->35;
37->36;
38->37;
39->38;
41->39;
42->41;
43->42;
}