digraph G {
subgraph cluster0 {
isCluster="true";
id="cluster0";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n44 ms (0 ms, 1 ms, 5 ms (stage 325611.0: task 913280))";
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>14 ms (0 ms, 0 ms, 5 ms (stage 325611.0: task 913286))<br>peak memory total (min, med, max (stageId: taskId))<br>9.5 MiB (256.0 KiB, 256.0 KiB, 2.3 MiB (stage 325611.0: task 913280))<br>number of output rows: 1<br>number of sort fallback tasks: 0<br>avg hash probes per key: 1" tooltip="HashAggregate(keys=[shardId#3483106], functions=[sum(CASE WHEN NOT (isFallbackOrderOnly#3483836 <=> true) THEN 1 ELSE 0 END), sum(CASE WHEN (isFallbackOrderOnly#3483836 <=> 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: 1191.0 B<br>merged fetch fallback count: 0<br>local blocks read: 12<br>remote merged chunks fetched: 0<br>remote blocks read: 18<br>data size total (min, med, max (stageId: taskId))<br>1440.0 B (48.0 B, 48.0 B, 48.0 B (stage 325610.0: task 913260))<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>16 ms (0 ms, 0 ms, 0 ms (stage 325610.0: task 913254))<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: 1786.0 B<br>number of partitions: 30<br>remote reqs duration: 4 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, 99.0 B, 100.0 B (stage 325610.0: task 913257))" tooltip="Exchange hashpartitioning(shardId#3483106, 30), ENSURE_REQUIREMENTS, [plan_id=1002382]"];
subgraph cluster3 {
isCluster="true";
id="cluster3";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n1.8 s (6 ms, 73 ms, 184 ms (stage 325610.0: task 913253))";
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>382 ms (4 ms, 14 ms, 18 ms (stage 325610.0: task 913250))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 325610.0: task 913260))<br>number of output rows: 30<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[shardId#3483106], functions=[partial_sum(CASE WHEN NOT (isFallbackOrderOnly#3483836 <=> true) THEN 1 ELSE 0 END), partial_sum(CASE WHEN (isFallbackOrderOnly#3483836 <=> true) THEN 1 ELSE 0 END)])"];
5 [id="node5" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3483106, isFallbackOrderOnly#3483836]"];
6 [id="node6" labelType="html" label="<b>BroadcastHashJoin</b><br><br>number of output rows: 119,861" tooltip="BroadcastHashJoin [worklistShardItemId#3483618L], [worklistShardItemId#3483842L], LeftOuter, BuildRight, (shardId#3483106 = 0_5_10000000532), false"];
7 [id="node7" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3483106, item#3483617L AS worklistShardItemId#3483618L]"];
8 [id="node8" labelType="html" label="<b>Generate</b><br><br>number of output rows: 119,861" tooltip="Generate explode(_extract_worklistShardItemId#3494314), [shardId#3483106], false, [item#3483617L]"];
9 [id="node9" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3483106, items#3483108.worklistShardItemId AS _extract_worklistShardItemId#3494314]"];
10 [id="node10" labelType="html" label="<b>Filter</b><br><br>number of output rows: 2,360" tooltip="Filter ((size(items#3483108.worklistShardItemId, true) > 0) AND isnotnull(items#3483108.worklistShardItemId))"];
}
11 [id="node11" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 2,360" tooltip="InMemoryTableScan [items#3483108, shardId#3483106], [(size(items#3483108.worklistShardItemId, true) > 0), isnotnull(items#3483108.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#3483106) AND (shardId#3483106 = 0_5_10000000532))"];
}
14 [id="node14" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#3483106, orderProposalId#3483107L, items#3483108, optimizationGroups#3483109, isOptimal#3483110, optimizationInsights#3483112], [isnotnull(shardId#3483106), (shardId#3483106 = 0_5_10000000532)]"];
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#3483106) AND (shardId#3483106 = 0_5_10000000532))"];
17 [id="node17" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#3483106,orderProposalId#3483107L,items#3483108,optimizationGroups#3483109,isOptimal#3483110,lastModified#3483111,optimizationInsights#3483112]"];
}
18 [id="node18" labelType="html" label="<b>BroadcastExchange</b><br><br>time to broadcast: 10 ms<br>time to build: 23 ms<br>time to collect: 629 ms<br>number of output rows: 119,861<br>data size: 8.0 MiB" tooltip="BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=1002376]"];
subgraph cluster19 {
isCluster="true";
id="cluster19";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n226 ms (5 ms, 7 ms, 12 ms (stage 325568.0: task 913232))";
tooltip="WholeStageCodegen (2)";
20 [id="node20" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [worklistShardItemId#3483842L, isFallbackOrderOnly#3483836]"];
}
21 [id="node21" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 119,861<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 119,861<br>local bytes read total (min, med, max (stageId: taskId))<br>316.7 KiB (9.8 KiB, 10.4 KiB, 11.7 KiB (stage 325568.0: task 913237))<br>merged fetch fallback count: 0<br>local blocks read: 372<br>remote merged chunks fetched: 0<br>remote blocks read: 738<br>data size total (min, med, max (stageId: taskId))<br>2.7 MiB (71.2 KiB, 76.1 KiB, 78.4 KiB (stage 325567.0: task 913183))<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 325567.0: task 913200))<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>3 ms (0 ms, 0 ms, 1 ms (stage 325568.0: task 913239))<br>remote bytes read total (min, med, max (stageId: taskId))<br>630.8 KiB (19.9 KiB, 21.2 KiB, 22.0 KiB (stage 325568.0: task 913243))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>180 ms (4 ms, 6 ms, 10 ms (stage 325568.0: task 913232))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>947.5 KiB (24.2 KiB, 25.7 KiB, 26.2 KiB (stage 325567.0: task 913187))" tooltip="Exchange hashpartitioning(worklistShardItemId#3483842L, 30), REPARTITION_BY_NUM, [plan_id=1002372]"];
subgraph cluster22 {
isCluster="true";
id="cluster22";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n6.0 s (102 ms, 156 ms, 253 ms (stage 325567.0: task 913185))";
tooltip="WholeStageCodegen (1)";
23 [id="node23" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [isFallbackOrderOnly#3483836, worklistShardItemId#3483842L]"];
24 [id="node24" labelType="html" label="<b>Filter</b><br><br>number of output rows: 119,861" tooltip="Filter isnotnull(worklistShardItemId#3483842L)"];
25 [id="node25" labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 119,861<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>5.7 s (98 ms, 150 ms, 230 ms (stage 325567.0: task 913185))<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,861<br>number of partitions read: 1" tooltip="FileScan parquet [isFallbackOrderOnly#3483836,worklistShardItemId#3483842L,shardId#3483863,sequenceId#3483841] Batched: true, DataFilters: [isnotnull(worklistShardItemId#3483842L)], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://7da5304c-1f57-47fa-b75a-0f0b4349c280.files.hdl.prod-eu20...., PartitionFilters: [isnotnull(shardId#3483863), isnotnull(sequenceId#3483841), (shardId#3483863 = 0_5_10000000532), ..., 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;
}