digraph G {
subgraph cluster0 {
isCluster="true";
id="cluster0";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n64 ms (0 ms, 1 ms, 5 ms (stage 1031850.0: task 2665922))";
tooltip="WholeStageCodegen (4)";
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>24 ms (0 ms, 0 ms, 5 ms (stage 1031850.0: task 2665922))<br>peak memory total (min, med, max (stageId: taskId))<br>9.5 MiB (256.0 KiB, 256.0 KiB, 2.3 MiB (stage 1031850.0: task 2665922))<br>number of output rows: 1<br>number of sort fallback tasks: 0<br>avg hash probes per key: 1" tooltip="HashAggregate(keys=[shardId#10193744], functions=[sum(CASE WHEN NOT (isFallbackOrderOnly#10194474 <=> true) THEN 1 ELSE 0 END), sum(CASE WHEN (isFallbackOrderOnly#10194474 <=> true) THEN 1 ELSE 0 END)])"];
}
2 [id="node2" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 30<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 30<br>local bytes read: 899.0 B<br>merged fetch fallback count: 0<br>local blocks read: 9<br>remote merged chunks fetched: 0<br>remote blocks read: 21<br>data size total (min, med, max (stageId: taskId))<br>1440.0 B (48.0 B, 48.0 B, 48.0 B (stage 1031849.0: task 2665900))<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 1031849.0: task 2665909))<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: 2.1 KiB<br>number of partitions: 30<br>remote reqs duration: 7 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>2.9 KiB (99.0 B, 100.0 B, 100.0 B (stage 1031849.0: task 2665900))" tooltip="Exchange hashpartitioning(shardId#10193744, 30), ENSURE_REQUIREMENTS, [plan_id=3017239]"];
subgraph cluster3 {
isCluster="true";
id="cluster3";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n2.5 s (3 ms, 74 ms, 174 ms (stage 1031849.0: task 2665911))";
tooltip="WholeStageCodegen (3)";
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>355 ms (1 ms, 13 ms, 15 ms (stage 1031849.0: task 2665908))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 1031849.0: task 2665900))<br>number of output rows: 30<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[shardId#10193744], functions=[partial_sum(CASE WHEN NOT (isFallbackOrderOnly#10194474 <=> true) THEN 1 ELSE 0 END), partial_sum(CASE WHEN (isFallbackOrderOnly#10194474 <=> true) THEN 1 ELSE 0 END)])"];
5 [id="node5" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#10193744, isFallbackOrderOnly#10194474]"];
6 [id="node6" labelType="html" label="<b>BroadcastHashJoin</b><br><br>number of output rows: 102,638" tooltip="BroadcastHashJoin [worklistShardItemId#10194256L], [worklistShardItemId#10194480L], LeftOuter, BuildRight, (shardId#10193744 = 0_4_10000000540), false"];
7 [id="node7" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#10193744, item#10194255L AS worklistShardItemId#10194256L]"];
8 [id="node8" labelType="html" label="<b>Generate</b><br><br>number of output rows: 102,638" tooltip="Generate explode(_extract_worklistShardItemId#10205020), [shardId#10193744], false, [item#10194255L]"];
9 [id="node9" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#10193744, items#10193746.worklistShardItemId AS _extract_worklistShardItemId#10205020]"];
10 [id="node10" labelType="html" label="<b>Filter</b><br><br>number of output rows: 2,049" tooltip="Filter ((size(items#10193746.worklistShardItemId, true) > 0) AND isnotnull(items#10193746.worklistShardItemId))"];
}
11 [id="node11" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 2,049" tooltip="InMemoryTableScan [items#10193746, shardId#10193744], [(size(items#10193746.worklistShardItemId, true) > 0), isnotnull(items#10193746.worklistShardItemId)]"];
subgraph cluster12 {
isCluster="true";
id="cluster12";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
13 [id="node13" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#10193744) AND (shardId#10193744 = 0_4_10000000540))"];
}
14 [id="node14" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#10193744, orderProposalId#10193745L, items#10193746, optimizationGroups#10193747, isOptimal#10193748, optimizationInsights#10193750], [isnotnull(shardId#10193744), (shardId#10193744 = 0_4_10000000540)]"];
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#10193744) AND (shardId#10193744 = 0_4_10000000540))"];
17 [id="node17" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#10193744,orderProposalId#10193745L,items#10193746,optimizationGroups#10193747,isOptimal#10193748,lastModified#10193749,optimizationInsights#10193750]"];
}
18 [id="node18" labelType="html" label="<b>BroadcastExchange</b><br><br>time to broadcast: 9 ms<br>time to build: 21 ms<br>time to collect: 586 ms<br>number of output rows: 102,638<br>data size: 8.0 MiB" tooltip="BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=3017233]"];
subgraph cluster19 {
isCluster="true";
id="cluster19";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n187 ms (4 ms, 7 ms, 10 ms (stage 1031713.0: task 2665864))";
tooltip="WholeStageCodegen (2)";
20 [id="node20" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [worklistShardItemId#10194480L, isFallbackOrderOnly#10194474]"];
}
21 [id="node21" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 102,638<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 102,638<br>local bytes read total (min, med, max (stageId: taskId))<br>219.0 KiB (6.9 KiB, 7.3 KiB, 7.7 KiB (stage 1031713.0: task 2665877))<br>merged fetch fallback count: 0<br>local blocks read: 300<br>remote merged chunks fetched: 0<br>remote blocks read: 810<br>data size total (min, med, max (stageId: taskId))<br>2.3 MiB (61.5 KiB, 65.4 KiB, 68.2 KiB (stage 1031712.0: task 2665825))<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>58 ms (1 ms, 1 ms, 2 ms (stage 1031712.0: task 2665835))<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>2 ms (0 ms, 0 ms, 1 ms (stage 1031713.0: task 2665877))<br>remote bytes read total (min, med, max (stageId: taskId))<br>585.3 KiB (19.2 KiB, 19.5 KiB, 20.2 KiB (stage 1031713.0: task 2665875))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>249 ms (6 ms, 8 ms, 11 ms (stage 1031713.0: task 2665863))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>804.4 KiB (20.8 KiB, 21.8 KiB, 22.6 KiB (stage 1031712.0: task 2665825))" tooltip="Exchange hashpartitioning(worklistShardItemId#10194480L, 30), REPARTITION_BY_NUM, [plan_id=3017229]"];
subgraph cluster22 {
isCluster="true";
id="cluster22";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n6.8 s (124 ms, 184 ms, 286 ms (stage 1031712.0: task 2665836))";
tooltip="WholeStageCodegen (1)";
23 [id="node23" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [isFallbackOrderOnly#10194474, worklistShardItemId#10194480L]"];
24 [id="node24" labelType="html" label="<b>Filter</b><br><br>number of output rows: 102,638" tooltip="Filter isnotnull(worklistShardItemId#10194480L)"];
25 [id="node25" labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 102,638<br>number of input batches: 37" tooltip="ColumnarToRow"];
}
26 [id="node26" 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.5 s (120 ms, 177 ms, 276 ms (stage 1031712.0: task 2665836))<br>dynamic partition pruning time: 0 ms<br>metadata time: 0 ms<br>size of files read: 13.5 MiB<br>number of output rows: 102,638<br>number of partitions read: 1" tooltip="FileScan parquet [isFallbackOrderOnly#10194474,worklistShardItemId#10194480L,shardId#10194501,sequenceId#10194479] Batched: true, DataFilters: [isnotnull(worklistShardItemId#10194480L)], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://7da5304c-1f57-47fa-b75a-0f0b4349c280.files.hdl.prod-eu20...., PartitionFilters: [isnotnull(shardId#10194501), isnotnull(sequenceId#10194479), (shardId#10194501 = 0_4_10000000540..., PushedFilters: [IsNotNull(worklistShardItemId)], ReadSchema: struct<isFallbackOrderOnly:boolean,worklistShardItemId:bigint>"];
2->1;
4->2;
5->4;
6->5;
7->6;
8->7;
9->8;
10->9;
11->10;
13->11;
14->13;
16->14;
17->16;
18->6;
20->18;
21->20;
23->21;
24->23;
25->24;
26->25;
}