digraph G {
subgraph cluster0 {
isCluster="true";
id="cluster0";
label="WholeStageCodegen (8)\n \nduration: total (min, med, max (stageId: taskId))\n275 ms (0 ms, 13 ms, 23 ms (stage 1035251.0: task 2669871))";
tooltip="WholeStageCodegen (8)";
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>15 ms (0 ms, 0 ms, 4 ms (stage 1035251.0: task 2669858))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 1035251.0: task 2669864))<br>number of output rows: 0<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[shardId#10214802], functions=[])"];
}
2 [id="node2" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 0<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 0<br>local bytes read: 0.0 B<br>merged fetch fallback count: 0<br>local blocks read: 0<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size: 0.0 B<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time: 0 ms<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: 30<br>remote reqs duration: 0 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written: 0.0 B" tooltip="Exchange hashpartitioning(shardId#10214802, 30), ENSURE_REQUIREMENTS, [plan_id=3021212]"];
subgraph cluster3 {
isCluster="true";
id="cluster3";
label="WholeStageCodegen (7)\n \nduration: total (min, med, max (stageId: taskId))\n192 ms (0 ms, 0 ms, 38 ms (stage 1035250.0: task 2669824))";
tooltip="WholeStageCodegen (7)";
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>4 ms (0 ms, 0 ms, 1 ms (stage 1035250.0: task 2669824))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 1035250.0: task 2669824))<br>number of output rows: 0<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[shardId#10214802], functions=[])"];
5 [id="node5" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#10214802]"];
6 [id="node6" labelType="html" label="<b>Generate</b><br><br>number of output rows: 0" tooltip="Generate explode(optimizationInsights#10214808), [shardId#10214802], false, [insight#10219179]"];
7 [id="node7" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#10214802, optimizationInsights#10214808]"];
8 [id="node8" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 0<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 1035250.0: task 2669824))" tooltip="SortMergeJoin [orderProposalId#10214803L], [orderProposalId#10215515L], Inner"];
}
subgraph cluster9 {
isCluster="true";
id="cluster9";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n923 ms (1 ms, 1 ms, 179 ms (stage 1035250.0: task 2669824))";
tooltip="WholeStageCodegen (2)";
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 1035250.0: task 2669824))<br>peak memory total (min, med, max (stageId: taskId))<br>1920.0 KiB (64.0 KiB, 64.0 KiB, 64.0 KiB (stage 1035250.0: task 2669824))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 1035250.0: task 2669824))" tooltip="Sort [orderProposalId#10214803L ASC NULLS FIRST], false, 0"];
}
11 [id="node11" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 0<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 0<br>local bytes read: 0.0 B<br>merged fetch fallback count: 0<br>local blocks read: 0<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size: 0.0 B<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time: 0 ms<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: 30<br>remote reqs duration: 0 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written: 0.0 B" tooltip="Exchange hashpartitioning(orderProposalId#10214803L, 30), ENSURE_REQUIREMENTS, [plan_id=3021175]"];
subgraph cluster12 {
isCluster="true";
id="cluster12";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n112 ms (0 ms, 0 ms, 24 ms (stage 1035249.0: task 2669746))";
tooltip="WholeStageCodegen (1)";
13 [id="node13" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter ((isnotnull(orderProposalId#10214803L) AND (size(optimizationInsights#10214808, true) > 0)) AND isnotnull(optimizationInsights#10214808))"];
}
14 [id="node14" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 2,354" tooltip="InMemoryTableScan [shardId#10214802, orderProposalId#10214803L, optimizationInsights#10214808], [isnotnull(orderProposalId#10214803L), (size(optimizationInsights#10214808, true) > 0), isnotnull(optimizationInsights#10214808)]"];
subgraph cluster15 {
isCluster="true";
id="cluster15";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
16 [id="node16" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#10214802) AND (shardId#10214802 = 0_3_10000000540))"];
}
17 [id="node17" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#10214802, orderProposalId#10214803L, items#10214804, optimizationGroups#10214805, isOptimal#10214806, optimizationInsights#10214808], [isnotnull(shardId#10214802), (shardId#10214802 = 0_3_10000000540)]"];
subgraph cluster18 {
isCluster="true";
id="cluster18";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
19 [id="node19" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#10214802) AND (shardId#10214802 = 0_3_10000000540))"];
20 [id="node20" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#10214802,orderProposalId#10214803L,items#10214804,optimizationGroups#10214805,isOptimal#10214806,lastModified#10214807,optimizationInsights#10214808]"];
}
subgraph cluster21 {
isCluster="true";
id="cluster21";
label="WholeStageCodegen (6)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (6)";
22 [id="node22" labelType="html" label="<b>Sort</b><br><br>sort time: 0 ms<br>peak memory: 0.0 B<br>spill size: 0.0 B" tooltip="Sort [orderProposalId#10215515L ASC NULLS FIRST], false, 0"];
23 [id="node23" labelType="html" label="<b>HashAggregate</b><br><br>spill size: 0.0 B<br>time in aggregation build: 0 ms<br>peak memory: 0.0 B<br>number of output rows: 0<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[orderProposalId#10215515L], functions=[])"];
}
24 [id="node24" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 58,147<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 0<br>local bytes read total (min, med, max (stageId: taskId))<br>337.4 KiB (9.2 KiB, 11.1 KiB, 13.9 KiB (stage 1035250.0: task 2669842))<br>merged fetch fallback count: 0<br>local blocks read: 450<br>remote merged chunks fetched: 0<br>remote blocks read: 137<br>data size total (min, med, max (stageId: taskId))<br>908.5 KiB (29.7 KiB, 30.3 KiB, 30.7 KiB (stage 1035248.0: task 2669806))<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>53 ms (1 ms, 1 ms, 2 ms (stage 1035248.0: task 2669794))<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 total (min, med, max (stageId: taskId))<br>103.5 KiB (662.0 B, 4.2 KiB, 12.4 KiB (stage 1035250.0: task 2669823))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>50 ms (0 ms, 1 ms, 9 ms (stage 1035250.0: task 2669826))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>675.6 KiB (22.1 KiB, 22.5 KiB, 22.8 KiB (stage 1035248.0: task 2669806))" tooltip="Exchange hashpartitioning(orderProposalId#10215515L, 30), ENSURE_REQUIREMENTS, [plan_id=3021200]"];
subgraph cluster25 {
isCluster="true";
id="cluster25";
label="WholeStageCodegen (5)\n \nduration: total (min, med, max (stageId: taskId))\n1.5 s (10 ms, 57 ms, 92 ms (stage 1035248.0: task 2669792))";
tooltip="WholeStageCodegen (5)";
26 [id="node26" 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>221 ms (5 ms, 7 ms, 12 ms (stage 1035248.0: task 2669805))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 1035248.0: task 2669806))<br>number of output rows: 58,147<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[orderProposalId#10215515L], functions=[])"];
27 [id="node27" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#10215515L]"];
28 [id="node28" labelType="html" label="<b>BroadcastHashJoin</b><br><br>number of output rows: 119,954" tooltip="BroadcastHashJoin [worklistShardItemId#10215314L], [worklistShardItemId#10215538L], Inner, BuildLeft, false"];
42 [id="node42" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [worklistShardItemId#10215538L, orderProposalId#10215515L]"];
}
29 [id="node29" labelType="html" label="<b>BroadcastExchange</b><br><br>time to broadcast: 9 ms<br>time to build: 22 ms<br>time to collect: 103 ms<br>number of output rows: 119,954<br>data size: 8.0 MiB" tooltip="BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=3021186]"];
subgraph cluster30 {
isCluster="true";
id="cluster30";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n175 ms (0 ms, 7 ms, 8 ms (stage 1035091.0: task 2669697))";
tooltip="WholeStageCodegen (3)";
31 [id="node31" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [item#10215313L AS worklistShardItemId#10215314L]"];
32 [id="node32" labelType="html" label="<b>Generate</b><br><br>number of output rows: 119,954" tooltip="Generate explode(_extract_worklistShardItemId#10219310), false, [item#10215313L]"];
33 [id="node33" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [items#10219173.worklistShardItemId AS _extract_worklistShardItemId#10219310]"];
34 [id="node34" labelType="html" label="<b>Filter</b><br><br>number of output rows: 2,354" tooltip="Filter (((size(items#10219173.worklistShardItemId, true) > 0) AND isnotnull(items#10219173.worklistShardItemId)) AND (shardId#10219171 = 0_3_10000000540))"];
}
35 [id="node35" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 2,354" tooltip="InMemoryTableScan [items#10219173, shardId#10219171], [(size(items#10219173.worklistShardItemId, true) > 0), isnotnull(items#10219173.worklistShardItemId), (shardId#10219171 = 0_3_10000000540)]"];
subgraph cluster36 {
isCluster="true";
id="cluster36";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
37 [id="node37" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#10214802) AND (shardId#10214802 = 0_3_10000000540))"];
}
38 [id="node38" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#10214802, orderProposalId#10214803L, items#10214804, optimizationGroups#10214805, isOptimal#10214806, optimizationInsights#10214808], [isnotnull(shardId#10214802), (shardId#10214802 = 0_3_10000000540)]"];
subgraph cluster39 {
isCluster="true";
id="cluster39";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
40 [id="node40" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#10214802) AND (shardId#10214802 = 0_3_10000000540))"];
41 [id="node41" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#10214802,orderProposalId#10214803L,items#10214804,optimizationGroups#10214805,isOptimal#10214806,lastModified#10214807,optimizationInsights#10214808]"];
}
43 [id="node43" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 119,954<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 119,954<br>local bytes read total (min, med, max (stageId: taskId))<br>448.7 KiB (12.1 KiB, 15.3 KiB, 16.7 KiB (stage 1035248.0: task 2669815))<br>merged fetch fallback count: 0<br>local blocks read: 285<br>remote merged chunks fetched: 0<br>remote blocks read: 825<br>data size total (min, med, max (stageId: taskId))<br>2.7 MiB (73.3 KiB, 76.1 KiB, 79.2 KiB (stage 1035247.0: task 2669725))<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, 1 ms, 2 ms (stage 1035247.0: task 2669738))<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 1035248.0: task 2669806))<br>remote bytes read total (min, med, max (stageId: taskId))<br>1296.4 KiB (41.1 KiB, 43.0 KiB, 46.6 KiB (stage 1035248.0: task 2669805))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>301 ms (7 ms, 10 ms, 13 ms (stage 1035248.0: task 2669801))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>1745.1 KiB (45.6 KiB, 47.3 KiB, 48.9 KiB (stage 1035247.0: task 2669725))" tooltip="Exchange hashpartitioning(worklistShardItemId#10215538L, 30), REPARTITION_BY_NUM, [plan_id=3021193]"];
subgraph cluster44 {
isCluster="true";
id="cluster44";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n7.1 s (132 ms, 200 ms, 251 ms (stage 1035247.0: task 2669731))";
tooltip="WholeStageCodegen (4)";
45 [id="node45" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#10215515L, worklistShardItemId#10215538L]"];
46 [id="node46" labelType="html" label="<b>Filter</b><br><br>number of output rows: 119,954" tooltip="Filter ((isnotnull(worklistShardItemId#10215538L) AND NOT (isFallbackOrderOnly#10215532 <=> true)) AND isnotnull(orderProposalId#10215515L))"];
47 [id="node47" labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 119,954<br>number of input batches: 37" tooltip="ColumnarToRow"];
}
48 [id="node48" labelType="html" label="<b>Scan parquet </b><br><br>number of files read: 37<br>scan time total (min, med, max (stageId: taskId))<br>6.7 s (127 ms, 176 ms, 241 ms (stage 1035247.0: task 2669731))<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,954<br>number of partitions read: 1" tooltip="FileScan parquet [orderProposalId#10215515L,isFallbackOrderOnly#10215532,worklistShardItemId#10215538L,shardId#10215559,sequenceId#10215537] Batched: true, DataFilters: [isnotnull(worklistShardItemId#10215538L), NOT (isFallbackOrderOnly#10215532 <=> true), isnotnull..., Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://7da5304c-1f57-47fa-b75a-0f0b4349c280.files.hdl.prod-eu20...., PartitionFilters: [isnotnull(shardId#10215559), isnotnull(sequenceId#10215537), (shardId#10215559 = 0_3_10000000540..., 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;
10->8;
11->10;
13->11;
14->13;
16->14;
17->16;
19->17;
20->19;
22->8;
23->22;
24->23;
26->24;
27->26;
28->27;
29->28;
31->29;
32->31;
33->32;
34->33;
35->34;
37->35;
38->37;
40->38;
41->40;
42->28;
43->42;
45->43;
46->45;
47->46;
48->47;
}