digraph G {
subgraph cluster0 {
isCluster="true";
id="cluster0";
label="WholeStageCodegen (8)\n \nduration: total (min, med, max (stageId: taskId))\n285 ms (0 ms, 15 ms, 21 ms (stage 307846.0: task 890649))";
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>13 ms (0 ms, 0 ms, 5 ms (stage 307846.0: task 890644))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 307846.0: task 890649))<br>number of output rows: 0<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[shardId#3394574], 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#3394574, 30), ENSURE_REQUIREMENTS, [plan_id=981214]"];
subgraph cluster3 {
isCluster="true";
id="cluster3";
label="WholeStageCodegen (7)\n \nduration: total (min, med, max (stageId: taskId))\n855 ms (0 ms, 0 ms, 171 ms (stage 307845.0: task 890520))";
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>39 ms (0 ms, 0 ms, 11 ms (stage 307845.0: task 890522))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 307845.0: task 890520))<br>number of output rows: 0<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[shardId#3394574], functions=[])"];
5 [id="node5" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3394574]"];
6 [id="node6" labelType="html" label="<b>Generate</b><br><br>number of output rows: 0" tooltip="Generate explode(optimizationInsights#3394580), [shardId#3394574], false, [insight#3406556]"];
7 [id="node7" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3394574, optimizationInsights#3394580]"];
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 307845.0: task 890520))" tooltip="SortMergeJoin [orderProposalId#3394575L], [orderProposalId#3395976L], Inner"];
}
subgraph cluster9 {
isCluster="true";
id="cluster9";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n4.8 s (1 ms, 1 ms, 961 ms (stage 307845.0: task 890520))";
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 307845.0: task 890520))<br>peak memory total (min, med, max (stageId: taskId))<br>1920.0 KiB (64.0 KiB, 64.0 KiB, 64.0 KiB (stage 307845.0: task 890520))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 307845.0: task 890520))" tooltip="Sort [orderProposalId#3394575L 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#3394575L, 30), ENSURE_REQUIREMENTS, [plan_id=981177]"];
subgraph cluster12 {
isCluster="true";
id="cluster12";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n109 ms (0 ms, 0 ms, 23 ms (stage 307844.0: task 890275))";
tooltip="WholeStageCodegen (1)";
13 [id="node13" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter ((isnotnull(orderProposalId#3394575L) AND (size(optimizationInsights#3394580, true) > 0)) AND isnotnull(optimizationInsights#3394580))"];
}
14 [id="node14" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 792" tooltip="InMemoryTableScan [shardId#3394574, orderProposalId#3394575L, optimizationInsights#3394580], [isnotnull(orderProposalId#3394575L), (size(optimizationInsights#3394580, true) > 0), isnotnull(optimizationInsights#3394580)]"];
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#3394574) AND (shardId#3394574 = 0_7_10000000532))"];
}
17 [id="node17" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#3394574, orderProposalId#3394575L, items#3394576, optimizationGroups#3394577, isOptimal#3394578, optimizationInsights#3394580], [isnotnull(shardId#3394574), (shardId#3394574 = 0_7_10000000532)]"];
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#3394574) AND (shardId#3394574 = 0_7_10000000532))"];
20 [id="node20" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#3394574,orderProposalId#3394575L,items#3394576,optimizationGroups#3394577,isOptimal#3394578,lastModified#3394579,optimizationInsights#3394580]"];
}
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#3395976L 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#3395976L], functions=[])"];
}
24 [id="node24" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 19,399<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>194.0 KiB (4.5 KiB, 6.4 KiB, 8.8 KiB (stage 307845.0: task 890643))<br>merged fetch fallback count: 0<br>local blocks read: 660<br>remote merged chunks fetched: 0<br>remote blocks read: 40<br>data size total (min, med, max (stageId: taskId))<br>303.1 KiB (9.9 KiB, 10.1 KiB, 10.4 KiB (stage 307843.0: task 890447))<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 307843.0: task 890456))<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>11.3 KiB (2.0 KiB, 2.1 KiB, 2.7 KiB (stage 307845.0: task 890521))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>31 ms (6 ms, 6 ms, 7 ms (stage 307845.0: task 890521))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>264.7 KiB (8.6 KiB, 8.8 KiB, 9.0 KiB (stage 307843.0: task 890447))" tooltip="Exchange hashpartitioning(orderProposalId#3395976L, 30), ENSURE_REQUIREMENTS, [plan_id=981202]"];
subgraph cluster25 {
isCluster="true";
id="cluster25";
label="WholeStageCodegen (5)\n \nduration: total (min, med, max (stageId: taskId))\n2.2 s (8 ms, 38 ms, 265 ms (stage 307843.0: task 890385))";
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>324 ms (4 ms, 6 ms, 31 ms (stage 307843.0: task 890454))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 307843.0: task 890385))<br>number of output rows: 19,399<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[orderProposalId#3395976L], functions=[])"];
27 [id="node27" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#3395976L]"];
28 [id="node28" labelType="html" label="<b>BroadcastHashJoin</b><br><br>number of output rows: 39,968" tooltip="BroadcastHashJoin [worklistShardItemId#3395327L], [worklistShardItemId#3395999L], Inner, BuildLeft, false"];
42 [id="node42" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [worklistShardItemId#3395999L, orderProposalId#3395976L]"];
}
29 [id="node29" labelType="html" label="<b>BroadcastExchange</b><br><br>time to broadcast: 4 ms<br>time to build: 8 ms<br>time to collect: 465 ms<br>number of output rows: 39,968<br>data size: 3.0 MiB" tooltip="BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=981188]"];
subgraph cluster30 {
isCluster="true";
id="cluster30";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n27 ms (0 ms, 0 ms, 3 ms (stage 307841.0: task 890196))";
tooltip="WholeStageCodegen (3)";
31 [id="node31" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [item#3395326L AS worklistShardItemId#3395327L]"];
32 [id="node32" labelType="html" label="<b>Generate</b><br><br>number of output rows: 39,968" tooltip="Generate explode(_extract_worklistShardItemId#3406687), false, [item#3395326L]"];
33 [id="node33" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [items#3406550.worklistShardItemId AS _extract_worklistShardItemId#3406687]"];
34 [id="node34" labelType="html" label="<b>Filter</b><br><br>number of output rows: 792" tooltip="Filter (((size(items#3406550.worklistShardItemId, true) > 0) AND isnotnull(items#3406550.worklistShardItemId)) AND (shardId#3406548 = 0_7_10000000532))"];
}
35 [id="node35" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 792" tooltip="InMemoryTableScan [items#3406550, shardId#3406548], [(size(items#3406550.worklistShardItemId, true) > 0), isnotnull(items#3406550.worklistShardItemId), (shardId#3406548 = 0_7_10000000532)]"];
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#3394574) AND (shardId#3394574 = 0_7_10000000532))"];
}
38 [id="node38" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#3394574, orderProposalId#3394575L, items#3394576, optimizationGroups#3394577, isOptimal#3394578, optimizationInsights#3394580], [isnotnull(shardId#3394574), (shardId#3394574 = 0_7_10000000532)]"];
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#3394574) AND (shardId#3394574 = 0_7_10000000532))"];
41 [id="node41" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#3394574,orderProposalId#3394575L,items#3394576,optimizationGroups#3394577,isOptimal#3394578,lastModified#3394579,optimizationInsights#3394580]"];
}
43 [id="node43" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 39,968<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 39,968<br>local bytes read total (min, med, max (stageId: taskId))<br>253.5 KiB (5.5 KiB, 9.3 KiB, 10.1 KiB (stage 307843.0: task 890443))<br>merged fetch fallback count: 0<br>local blocks read: 454<br>remote merged chunks fetched: 0<br>remote blocks read: 656<br>data size total (min, med, max (stageId: taskId))<br>936.8 KiB (24.1 KiB, 25.3 KiB, 26.7 KiB (stage 307842.0: task 890247))<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>60 ms (1 ms, 1 ms, 2 ms (stage 307842.0: task 890370))<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>169 ms (0 ms, 0 ms, 26 ms (stage 307843.0: task 890454))<br>remote bytes read total (min, med, max (stageId: taskId))<br>374.9 KiB (10.7 KiB, 11.7 KiB, 16.0 KiB (stage 307843.0: task 890428))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>392 ms (3 ms, 8 ms, 34 ms (stage 307843.0: task 890454))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>628.5 KiB (16.3 KiB, 16.9 KiB, 17.8 KiB (stage 307842.0: task 890247))" tooltip="Exchange hashpartitioning(worklistShardItemId#3395999L, 30), REPARTITION_BY_NUM, [plan_id=981195]"];
subgraph cluster44 {
isCluster="true";
id="cluster44";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n6.4 s (106 ms, 151 ms, 324 ms (stage 307842.0: task 890243))";
tooltip="WholeStageCodegen (4)";
45 [id="node45" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#3395976L, worklistShardItemId#3395999L]"];
46 [id="node46" labelType="html" label="<b>Filter</b><br><br>number of output rows: 39,968" tooltip="Filter ((isnotnull(worklistShardItemId#3395999L) AND NOT (isFallbackOrderOnly#3395993 <=> true)) AND isnotnull(orderProposalId#3395976L))"];
47 [id="node47" labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 39,968<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>5.6 s (100 ms, 144 ms, 287 ms (stage 307842.0: task 890243))<br>dynamic partition pruning time: 0 ms<br>metadata time: 1 ms<br>size of files read: 5.9 MiB<br>number of output rows: 39,968<br>number of partitions read: 1" tooltip="FileScan parquet [orderProposalId#3395976L,isFallbackOrderOnly#3395993,worklistShardItemId#3395999L,shardId#3396020,sequenceId#3395998] Batched: true, DataFilters: [isnotnull(worklistShardItemId#3395999L), NOT (isFallbackOrderOnly#3395993 <=> true), isnotnull(o..., Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://7da5304c-1f57-47fa-b75a-0f0b4349c280.files.hdl.prod-eu20...., PartitionFilters: [isnotnull(shardId#3396020), isnotnull(sequenceId#3395998), (shardId#3396020 = 0_7_10000000532), ..., 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;
}