digraph G {
0 [id="node0" labelType="html" label="<b>Execute InsertIntoHadoopFsRelationCommand</b><br><br>task commit time total (min, med, max (stageId: taskId))<br>5.1 s (155 ms, 256 ms, 393 ms (stage 51020.0: task 136701))<br>number of written files: 20<br>job commit time: 4.8 s<br>number of output rows: 2,183<br>number of dynamic part: 0<br>written output: 66.8 KiB" tooltip="Execute InsertIntoHadoopFsRelationCommand hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20.hanacloud.ondemand.com:443/prp-op-traceability-results/raw/crp-order-qty-opt-service/additional-kpi-curves/10000002106/shardId=0_1_10000002106/sequenceId=2, false, Parquet, [path=hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20.hanacloud.ondemand.com:443/prp-op-traceability-results/raw/crp-order-qty-opt-service/additional-kpi-curves/10000002106/shardId=0_1_10000002106/sequenceId=2], Overwrite, [orderProposalId, orderProposalItemId, orderQuantityInBaseUnit, serviceLevel, rangeOfCoverage, serviceLevelAtEndOfListing, replenishmentRunId]"];
1 [id="node1" labelType="html" label="<br><b>WriteFiles</b><br><br>" tooltip="WriteFiles"];
2 [id="node2" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#645037L, cast(orderProposalItemId#645038 as bigint) AS orderProposalItemId#658500L, orderQuantityInBaseUnit#658501, filter(kpis#658502, lambdafunction((lambda x_1717#658504.label = ServiceLevel), lambda x_1717#658504, false))[0].value AS serviceLevel#658503, filter(kpis#658502, lambdafunction((lambda x_1718#658506.label = RangeOfCoverage), lambda x_1718#658506, false))[0].value AS rangeOfCoverage#658505, filter(kpis#658502, lambdafunction((lambda x_1719#658508.label = ServiceLevelAtStartOfDelisting), lambda x_1719#658508, false))[0].value AS serviceLevelAtEndOfListing#658507, 10000002106 AS replenishmentRunId#658510L]"];
subgraph cluster3 {
isCluster="true";
id="cluster3";
label="WholeStageCodegen (10)\n \nduration: total (min, med, max (stageId: taskId))\n973 ms (26 ms, 64 ms, 79 ms (stage 51020.0: task 136696))";
tooltip="WholeStageCodegen (10)";
4 [id="node4" labelType="html" label="<b>Generate</b><br><br>number of output rows: 2,183" tooltip="Generate explode(quantityKpis#647229), [orderProposalId#645037L, orderProposalItemId#645038], false, [orderQuantityInBaseUnit#658501, kpis#658502]"];
5 [id="node5" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#645037L, orderProposalItemId#645038, coalesce(quantityKpis#647217, map(keys: [], values: [])) AS quantityKpis#647229]"];
6 [id="node6" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 980<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 51020.0: task 136696))" tooltip="SortMergeJoin [shardId#643168, worklistShardItemId#643816L], [shardId#647223, worklistShardItemId#647224L], Inner"];
}
subgraph cluster7 {
isCluster="true";
id="cluster7";
label="WholeStageCodegen (7)\n \nduration: total (min, med, max (stageId: taskId))\n1.7 s (29 ms, 132 ms, 146 ms (stage 51020.0: task 136696))";
tooltip="WholeStageCodegen (7)";
8 [id="node8" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#643168, worklistShardItemId#643816L, orderProposalId#645037L, orderProposalItemId#645038]"];
9 [id="node9" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 980<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 51020.0: task 136696))" tooltip="SortMergeJoin [shardId#643168, worklistShardItemId#643816L], [shardId#647194, worklistShardItemId#647195L], LeftOuter"];
}
subgraph cluster10 {
isCluster="true";
id="cluster10";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n2.3 s (30 ms, 188 ms, 203 ms (stage 51020.0: task 136696))";
tooltip="WholeStageCodegen (4)";
11 [id="node11" 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 51020.0: task 136696))<br>peak memory total (min, med, max (stageId: taskId))<br>41.3 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 51020.0: task 136696))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 51020.0: task 136696))" tooltip="Sort [shardId#643168 ASC NULLS FIRST, worklistShardItemId#643816L ASC NULLS FIRST], false, 0"];
}
12 [id="node12" 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>22.6 KiB (744.0 B, 1169.0 B, 1630.0 B (stage 51020.0: task 136695))<br>merged fetch fallback count: 0<br>local blocks read: 144<br>remote merged chunks fetched: 0<br>remote blocks read: 146<br>data size total (min, med, max (stageId: taskId))<br>61.3 KiB (64.0 B, 2.9 KiB, 8.8 KiB (stage 51019.0: task 136675))<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>19 ms (0 ms, 1 ms, 1 ms (stage 51019.0: task 136683))<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 51020.0: task 136696))<br>remote bytes read total (min, med, max (stageId: taskId))<br>22.9 KiB (690.0 B, 1281.0 B, 1620.0 B (stage 51020.0: task 136703))<br>number of partitions: 20<br>remote reqs duration total (min, med, max (stageId: taskId))<br>9 ms (0 ms, 0 ms, 1 ms (stage 51020.0: task 136688))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>45.6 KiB (119.0 B, 2.4 KiB, 4.4 KiB (stage 51019.0: task 136675))" tooltip="Exchange hashpartitioning(shardId#643168, worklistShardItemId#643816L, 20), ENSURE_REQUIREMENTS, [plan_id=267444]"];
subgraph cluster13 {
isCluster="true";
id="cluster13";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n239 ms (5 ms, 13 ms, 18 ms (stage 51019.0: task 136654))";
tooltip="WholeStageCodegen (3)";
14 [id="node14" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#643168, worklistShardItemId#643816L, orderProposalId#645037L, orderProposalItemId#645038]"];
15 [id="node15" 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"];
16 [id="node16" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#643168, item#643815L AS worklistShardItemId#643816L]"];
17 [id="node17" labelType="html" label="<b>Generate</b><br><br>number of output rows: 980" tooltip="Generate explode(_extract_worklistShardItemId#658585), [shardId#643168], false, [item#643815L]"];
18 [id="node18" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#643168, items#643170.worklistShardItemId AS _extract_worklistShardItemId#658585]"];
19 [id="node19" 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)))"];
20 [id="node20" 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]"];
}
21 [id="node21" labelType="html" label="<b>BroadcastExchange</b><br><br>time to broadcast: 0 ms<br>time to build: 1 ms<br>time to collect: 427 ms<br>number of output rows: 980<br>data size: 1056.0 KiB" tooltip="BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=267439]"];
subgraph cluster22 {
isCluster="true";
id="cluster22";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n45 ms (1 ms, 2 ms, 3 ms (stage 50931.0: task 136616))";
tooltip="WholeStageCodegen (2)";
23 [id="node23" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [worklistShardItemId#645060L, orderProposalId#645037L, orderProposalItemId#645038]"];
}
24 [id="node24" 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>26.7 KiB (876.0 B, 1418.0 B, 1814.0 B (stage 50931.0: task 136615))<br>merged fetch fallback count: 0<br>local blocks read: 213<br>remote merged chunks fetched: 0<br>remote blocks read: 223<br>data size total (min, med, max (stageId: taskId))<br>38.3 KiB (1080.0 B, 1600.0 B, 1920.0 B (stage 50930.0: task 136585))<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, 0 ms, 1 ms (stage 50930.0: task 136584))<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 50931.0: task 136614))<br>remote bytes read total (min, med, max (stageId: taskId))<br>27.7 KiB (1110.0 B, 1348.0 B, 1922.0 B (stage 50931.0: task 136608))<br>number of partitions: 20<br>remote reqs duration total (min, med, max (stageId: taskId))<br>22 ms (1 ms, 1 ms, 2 ms (stage 50931.0: task 136614))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>54.4 KiB (1829.0 B, 2.1 KiB, 2.5 KiB (stage 50930.0: task 136584))" tooltip="Exchange hashpartitioning(worklistShardItemId#645060L, 20), REPARTITION_BY_NUM, [plan_id=267435]"];
subgraph cluster25 {
isCluster="true";
id="cluster25";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n2.6 s (76 ms, 96 ms, 138 ms (stage 50930.0: task 136583))";
tooltip="WholeStageCodegen (1)";
26 [id="node26" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#645037L, orderProposalItemId#645038, worklistShardItemId#645060L]"];
27 [id="node27" labelType="html" label="<b>Filter</b><br><br>number of output rows: 980" tooltip="Filter isnotnull(worklistShardItemId#645060L)"];
28 [id="node28" labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 980<br>number of input batches: 25" tooltip="ColumnarToRow"];
}
29 [id="node29" 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.2 s (74 ms, 90 ms, 109 ms (stage 50930.0: task 136583))<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 [orderProposalId#645037L,orderProposalItemId#645038,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<orderProposalId:bigint,orderProposalItemId:string,worklistShardItemId:bigint>"];
subgraph cluster30 {
isCluster="true";
id="cluster30";
label="WholeStageCodegen (6)\n \nduration: total (min, med, max (stageId: taskId))\n2.0 s (29 ms, 161 ms, 176 ms (stage 51020.0: task 136696))";
tooltip="WholeStageCodegen (6)";
31 [id="node31" 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 51020.0: task 136696))<br>peak memory total (min, med, max (stageId: taskId))<br>41.3 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 51020.0: task 136696))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 51020.0: task 136696))" tooltip="Sort [shardId#647194 ASC NULLS FIRST, worklistShardItemId#647195L ASC NULLS FIRST], false, 0"];
}
32 [id="node32" 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.5 KiB (690.0 B, 1264.0 B, 1569.0 B (stage 51020.0: task 136700))<br>merged fetch fallback count: 0<br>local blocks read: 190<br>remote merged chunks fetched: 0<br>remote blocks read: 184<br>data size total (min, med, max (stageId: taskId))<br>38.3 KiB (1720.0 B, 1960.0 B, 2.2 KiB (stage 50962.0: task 136669))<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 50962.0: task 136641))<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 51020.0: task 136696))<br>remote bytes read total (min, med, max (stageId: taskId))<br>20.8 KiB (571.0 B, 1299.0 B, 1560.0 B (stage 51020.0: task 136695))<br>number of partitions: 20<br>remote reqs duration total (min, med, max (stageId: taskId))<br>15 ms (0 ms, 1 ms, 2 ms (stage 51020.0: task 136693))<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 50962.0: task 136658))" tooltip="Exchange hashpartitioning(shardId#647194, worklistShardItemId#647195L, 20), ENSURE_REQUIREMENTS, [plan_id=267450]"];
subgraph cluster33 {
isCluster="true";
id="cluster33";
label="WholeStageCodegen (5)\n \nduration: total (min, med, max (stageId: taskId))\n158 ms (5 ms, 8 ms, 12 ms (stage 50962.0: task 136641))";
tooltip="WholeStageCodegen (5)";
34 [id="node34" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#647194, worklistShardItemId#647195L]"];
35 [id="node35" 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)))"];
36 [id="node36" 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 cluster37 {
isCluster="true";
id="cluster37";
label="WholeStageCodegen (9)\n \nduration: total (min, med, max (stageId: taskId))\n1.3 s (26 ms, 96 ms, 110 ms (stage 51020.0: task 136696))";
tooltip="WholeStageCodegen (9)";
38 [id="node38" 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 51020.0: task 136696))<br>peak memory total (min, med, max (stageId: taskId))<br>41.3 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 51020.0: task 136696))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 51020.0: task 136696))" tooltip="Sort [shardId#647223 ASC NULLS FIRST, worklistShardItemId#647224L ASC NULLS FIRST], false, 0"];
39 [id="node39" labelType="html" label="<b>Filter</b><br><br>number of output rows: 980" tooltip="Filter (size(coalesce(quantityKpis#647217, map(keys: [], values: [])), true) > 0)"];
}
40 [id="node40" 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>63 ms (2 ms, 3 ms, 4 ms (stage 51020.0: task 136696))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 51020.0: task 136696))<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)])"];
41 [id="node41" 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>136.0 KiB (5.6 KiB, 6.8 KiB, 8.4 KiB (stage 51020.0: task 136700))<br>merged fetch fallback count: 0<br>local blocks read: 200<br>remote merged chunks fetched: 0<br>remote blocks read: 197<br>data size total (min, med, max (stageId: taskId))<br>1357.2 KiB (60.5 KiB, 69.1 KiB, 72.7 KiB (stage 50961.0: task 136648))<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 50961.0: task 136629))<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 51020.0: task 136696))<br>remote bytes read total (min, med, max (stageId: taskId))<br>133.7 KiB (4.9 KiB, 6.6 KiB, 7.8 KiB (stage 51020.0: task 136706))<br>number of partitions: 20<br>remote reqs duration total (min, med, max (stageId: taskId))<br>15 ms (0 ms, 1 ms, 2 ms (stage 51020.0: task 136694))<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 50961.0: task 136631))" tooltip="Exchange hashpartitioning(shardId#647223, worklistShardItemId#647224L, 20), ENSURE_REQUIREMENTS, [plan_id=267461]"];
42 [id="node42" 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>135 ms (4 ms, 7 ms, 8 ms (stage 50961.0: task 136633))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 50961.0: task 136632))<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 cluster43 {
isCluster="true";
id="cluster43";
label="WholeStageCodegen (8)\n \nduration: total (min, med, max (stageId: taskId))\n135 ms (4 ms, 7 ms, 8 ms (stage 50961.0: task 136633))";
tooltip="WholeStageCodegen (8)";
44 [id="node44" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#647223, worklistShardItemId#647224L, qty#647225, kpis#647228]"];
45 [id="node45" 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)))"];
46 [id="node46" 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]"];
}
1->0;
2->1;
4->2;
5->4;
6->5;
8->6;
9->8;
11->9;
12->11;
14->12;
15->14;
16->15;
17->16;
18->17;
19->18;
20->19;
21->15;
23->21;
24->23;
26->24;
27->26;
28->27;
29->28;
31->9;
32->31;
34->32;
35->34;
36->35;
38->6;
39->38;
40->39;
41->40;
42->41;
44->42;
45->44;
46->45;
}