digraph G {
subgraph cluster0 {
isCluster="true";
id="cluster0";
label="WholeStageCodegen (6)\n \nduration: total (min, med, max (stageId: taskId))\n153 ms (0 ms, 5 ms, 25 ms (stage 44100.0: task 125112))";
tooltip="WholeStageCodegen (6)";
1 [id="node1" labelType="html" label="<b>HashAggregate</b><br><br>spill size: 0.0 B<br>time in aggregation build total (min, med, max (stageId: taskId))<br>8 ms (0 ms, 0 ms, 2 ms (stage 44100.0: task 125081))<br>peak memory total (min, med, max (stageId: taskId))<br>5.0 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 44100.0: task 125082))<br>number of output rows: 1<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[shardId#589610], functions=[])"];
}
2 [id="node2" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 6<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 6<br>local bytes read: 552.0 B<br>merged fetch fallback count: 0<br>local blocks read: 6<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size total (min, med, max (stageId: taskId))<br>192.0 B (32.0 B, 32.0 B, 32.0 B (stage 44099.0: task 125042))<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>2 ms (0 ms, 0 ms, 0 ms (stage 44099.0: task 125041))<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>number of partitions: 20<br>remote reqs duration: 0 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>552.0 B (92.0 B, 92.0 B, 92.0 B (stage 44099.0: task 125042))" tooltip="Exchange hashpartitioning(shardId#589610, 20), ENSURE_REQUIREMENTS, [plan_id=251545]"];
subgraph cluster3 {
isCluster="true";
id="cluster3";
label="WholeStageCodegen (5)\n \nduration: total (min, med, max (stageId: taskId))\n321 ms (0 ms, 2 ms, 62 ms (stage 44099.0: task 125041))";
tooltip="WholeStageCodegen (5)";
4 [id="node4" labelType="html" label="<b>HashAggregate</b><br><br>spill size: 0.0 B<br>time in aggregation build total (min, med, max (stageId: taskId))<br>31 ms (0 ms, 1 ms, 6 ms (stage 44099.0: task 125040))<br>peak memory total (min, med, max (stageId: taskId))<br>5.0 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 44099.0: task 125039))<br>number of output rows: 6<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[shardId#589610], functions=[])"];
5 [id="node5" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#589610]"];
6 [id="node6" labelType="html" label="<b>Generate</b><br><br>number of output rows: 38" tooltip="Generate explode(optimizationInsights#589616), [shardId#589610], false, [insight#597955]"];
7 [id="node7" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#589610, optimizationInsights#589616]"];
8 [id="node8" labelType="html" label="<b>BroadcastHashJoin</b><br><br>number of output rows: 6" tooltip="BroadcastHashJoin [orderProposalId#589611L], [orderProposalId#590323L], Inner, BuildLeft, false"];
19 [id="node19" labelType="html" label="<b>HashAggregate</b><br><br>spill size: 0.0 B<br>time in aggregation build total (min, med, max (stageId: taskId))<br>13 ms (0 ms, 0 ms, 3 ms (stage 44099.0: task 125038))<br>peak memory total (min, med, max (stageId: taskId))<br>5.0 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 44099.0: task 125039))<br>number of output rows: 14<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[orderProposalId#590323L], functions=[])"];
}
9 [id="node9" labelType="html" label="<b>BroadcastExchange</b><br><br>time to broadcast: 0 ms<br>time to build: 0 ms<br>time to collect: 272 ms<br>number of output rows: 6<br>data size: 1024.3 KiB" tooltip="BroadcastExchange HashedRelationBroadcastMode(List(input[1, bigint, false]),false), [plan_id=251514]"];
subgraph cluster10 {
isCluster="true";
id="cluster10";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n12 ms (0 ms, 0 ms, 2 ms (stage 44095.0: task 124933))";
tooltip="WholeStageCodegen (1)";
11 [id="node11" labelType="html" label="<b>Filter</b><br><br>number of output rows: 6" tooltip="Filter ((isnotnull(orderProposalId#589611L) AND (size(optimizationInsights#589616, true) > 0)) AND isnotnull(optimizationInsights#589616))"];
}
12 [id="node12" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 14" tooltip="InMemoryTableScan [shardId#589610, orderProposalId#589611L, optimizationInsights#589616], [isnotnull(orderProposalId#589611L), (size(optimizationInsights#589616, true) > 0), isnotnull(optimizationInsights#589616)]"];
subgraph cluster13 {
isCluster="true";
id="cluster13";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
14 [id="node14" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#589610) AND (shardId#589610 = 0_1_10000002107))"];
}
15 [id="node15" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#589610, orderProposalId#589611L, items#589612, optimizationGroups#589613, isOptimal#589614, optimizationInsights#589616], [isnotnull(shardId#589610), (shardId#589610 = 0_1_10000002107)]"];
subgraph cluster16 {
isCluster="true";
id="cluster16";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
17 [id="node17" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#589610) AND (shardId#589610 = 0_1_10000002107))"];
18 [id="node18" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#589610,orderProposalId#589611L,items#589612,optimizationGroups#589613,isOptimal#589614,lastModified#589615,optimizationInsights#589616]"];
}
20 [id="node20" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 143<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 143<br>local bytes read total (min, med, max (stageId: taskId))<br>9.6 KiB (300.0 B, 900.0 B, 1438.0 B (stage 44099.0: task 125038))<br>merged fetch fallback count: 0<br>local blocks read: 129<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size total (min, med, max (stageId: taskId))<br>2.2 KiB (64.0 B, 112.0 B, 160.0 B (stage 44098.0: task 125020))<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>12 ms (0 ms, 0 ms, 0 ms (stage 44098.0: task 125020))<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 44099.0: task 125039))<br>remote bytes read: 0.0 B<br>number of partitions: 20<br>remote reqs duration: 0 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>9.6 KiB (236.0 B, 450.0 B, 750.0 B (stage 44098.0: task 125020))" tooltip="Exchange hashpartitioning(orderProposalId#590323L, 20), ENSURE_REQUIREMENTS, [plan_id=251536]"];
subgraph cluster21 {
isCluster="true";
id="cluster21";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n89 ms (1 ms, 2 ms, 12 ms (stage 44098.0: task 125021))";
tooltip="WholeStageCodegen (4)";
22 [id="node22" labelType="html" label="<b>HashAggregate</b><br><br>spill size: 0.0 B<br>time in aggregation build total (min, med, max (stageId: taskId))<br>10 ms (0 ms, 1 ms, 1 ms (stage 44098.0: task 125021))<br>peak memory total (min, med, max (stageId: taskId))<br>5.0 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 44098.0: task 125021))<br>number of output rows: 143<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[orderProposalId#590323L], functions=[])"];
23 [id="node23" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#590323L]"];
24 [id="node24" labelType="html" label="<b>BroadcastHashJoin</b><br><br>number of output rows: 205" tooltip="BroadcastHashJoin [worklistShardItemId#590122L], [worklistShardItemId#590346L], Inner, BuildLeft, false"];
38 [id="node38" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [worklistShardItemId#590346L, orderProposalId#590323L]"];
}
25 [id="node25" labelType="html" label="<b>BroadcastExchange</b><br><br>time to broadcast: 0 ms<br>time to build: 0 ms<br>time to collect: 274 ms<br>number of output rows: 205<br>data size: 1032.0 KiB" tooltip="BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=251522]"];
subgraph cluster26 {
isCluster="true";
id="cluster26";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n16 ms (0 ms, 0 ms, 6 ms (stage 44096.0: task 124936))";
tooltip="WholeStageCodegen (2)";
27 [id="node27" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [item#590121L AS worklistShardItemId#590122L]"];
28 [id="node28" labelType="html" label="<b>Generate</b><br><br>number of output rows: 205" tooltip="Generate explode(_extract_worklistShardItemId#598086), false, [item#590121L]"];
29 [id="node29" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [items#597949.worklistShardItemId AS _extract_worklistShardItemId#598086]"];
30 [id="node30" labelType="html" label="<b>Filter</b><br><br>number of output rows: 14" tooltip="Filter (((size(items#597949.worklistShardItemId, true) > 0) AND isnotnull(items#597949.worklistShardItemId)) AND (shardId#597947 = 0_1_10000002107))"];
}
31 [id="node31" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 14" tooltip="InMemoryTableScan [items#597949, shardId#597947], [(size(items#597949.worklistShardItemId, true) > 0), isnotnull(items#597949.worklistShardItemId), (shardId#597947 = 0_1_10000002107)]"];
subgraph cluster32 {
isCluster="true";
id="cluster32";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
33 [id="node33" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#589610) AND (shardId#589610 = 0_1_10000002107))"];
}
34 [id="node34" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#589610, orderProposalId#589611L, items#589612, optimizationGroups#589613, isOptimal#589614, optimizationInsights#589616], [isnotnull(shardId#589610), (shardId#589610 = 0_1_10000002107)]"];
subgraph cluster35 {
isCluster="true";
id="cluster35";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
36 [id="node36" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#589610) AND (shardId#589610 = 0_1_10000002107))"];
37 [id="node37" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#589610,orderProposalId#589611L,items#589612,optimizationGroups#589613,isOptimal#589614,lastModified#589615,optimizationInsights#589616]"];
}
39 [id="node39" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 205<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 205<br>local bytes read total (min, med, max (stageId: taskId))<br>8.3 KiB (84.0 B, 352.0 B, 771.0 B (stage 44098.0: task 125029))<br>merged fetch fallback count: 0<br>local blocks read: 98<br>remote merged chunks fetched: 0<br>remote blocks read: 76<br>data size total (min, med, max (stageId: taskId))<br>4.8 KiB (96.0 B, 216.0 B, 264.0 B (stage 44097.0: task 124989))<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>14 ms (0 ms, 0 ms, 0 ms (stage 44097.0: task 124991))<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 44098.0: task 125021))<br>remote bytes read total (min, med, max (stageId: taskId))<br>6.4 KiB (84.0 B, 351.0 B, 588.0 B (stage 44098.0: task 125025))<br>number of partitions: 20<br>remote reqs duration total (min, med, max (stageId: taskId))<br>4 ms (0 ms, 0 ms, 1 ms (stage 44098.0: task 125021))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>14.7 KiB (336.0 B, 618.0 B, 856.0 B (stage 44097.0: task 124989))" tooltip="Exchange hashpartitioning(worklistShardItemId#590346L, 20), REPARTITION_BY_NUM, [plan_id=251529]"];
subgraph cluster40 {
isCluster="true";
id="cluster40";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n2.9 s (90 ms, 108 ms, 147 ms (stage 44097.0: task 124993))";
tooltip="WholeStageCodegen (3)";
41 [id="node41" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#590323L, worklistShardItemId#590346L]"];
42 [id="node42" labelType="html" label="<b>Filter</b><br><br>number of output rows: 205" tooltip="Filter ((isnotnull(worklistShardItemId#590346L) AND NOT (isFallbackOrderOnly#590340 <=> true)) AND isnotnull(orderProposalId#590323L))"];
43 [id="node43" labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 205<br>number of input batches: 25" tooltip="ColumnarToRow"];
}
44 [id="node44" 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.6 s (88 ms, 100 ms, 140 ms (stage 44097.0: task 125008))<br>dynamic partition pruning time: 0 ms<br>metadata time: 0 ms<br>size of files read: 520.6 KiB<br>number of output rows: 205<br>number of partitions read: 1" tooltip="FileScan parquet [orderProposalId#590323L,isFallbackOrderOnly#590340,worklistShardItemId#590346L,shardId#590367,sequenceId#590345] Batched: true, DataFilters: [isnotnull(worklistShardItemId#590346L), NOT (isFallbackOrderOnly#590340 <=> true), isnotnull(ord..., Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [isnotnull(shardId#590367), isnotnull(sequenceId#590345), (shardId#590367 = 0_1_10000002107), (se..., PushedFilters: [IsNotNull(worklistShardItemId), Not(EqualNullSafe(isFallbackOrderOnly,true)), IsNotNull(orderPro..., ReadSchema: struct<orderProposalId:bigint,isFallbackOrderOnly:boolean,worklistShardItemId:bigint>"];
2->1;
4->2;
5->4;
6->5;
7->6;
8->7;
9->8;
11->9;
12->11;
14->12;
15->14;
17->15;
18->17;
19->8;
20->19;
22->20;
23->22;
24->23;
25->24;
27->25;
28->27;
29->28;
30->29;
31->30;
33->31;
34->33;
36->34;
37->36;
38->24;
39->38;
41->39;
42->41;
43->42;
44->43;
}