digraph G {
subgraph cluster0 {
isCluster="true";
id="cluster0";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n32 ms (0 ms, 0 ms, 6 ms (stage 310335.0: task 894887))";
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>7 ms (0 ms, 0 ms, 3 ms (stage 310335.0: task 894880))<br>peak memory total (min, med, max (stageId: taskId))<br>9.5 MiB (256.0 KiB, 256.0 KiB, 2.3 MiB (stage 310335.0: task 894880))<br>number of output rows: 1<br>number of sort fallback tasks: 0<br>avg hash probes per key: 1" tooltip="HashAggregate(keys=[shardId#3392655], functions=[sum(CASE WHEN NOT (isFallbackOrderOnly#3393633 <=> true) THEN 1 ELSE 0 END), sum(CASE WHEN (isFallbackOrderOnly#3393633 <=> 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: 2.2 KiB<br>merged fetch fallback count: 0<br>local blocks read: 23<br>remote merged chunks fetched: 0<br>remote blocks read: 7<br>data size total (min, med, max (stageId: taskId))<br>1440.0 B (48.0 B, 48.0 B, 48.0 B (stage 310334.0: task 894843))<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>15 ms (0 ms, 0 ms, 0 ms (stage 310334.0: task 894877))<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: 700.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, 100.0 B, 100.0 B (stage 310334.0: task 894843))" tooltip="Exchange hashpartitioning(shardId#3392655, 30), ENSURE_REQUIREMENTS, [plan_id=985023]"];
subgraph cluster3 {
isCluster="true";
id="cluster3";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n1.2 s (2 ms, 5 ms, 184 ms (stage 310334.0: task 894834))";
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>136 ms (1 ms, 3 ms, 15 ms (stage 310334.0: task 894834))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 310334.0: task 894843))<br>number of output rows: 30<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[shardId#3392655], functions=[partial_sum(CASE WHEN NOT (isFallbackOrderOnly#3393633 <=> true) THEN 1 ELSE 0 END), partial_sum(CASE WHEN (isFallbackOrderOnly#3393633 <=> true) THEN 1 ELSE 0 END)])"];
5 [id="node5" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3392655, isFallbackOrderOnly#3393633]"];
6 [id="node6" labelType="html" label="<b>BroadcastHashJoin</b><br><br>number of output rows: 87,939" tooltip="BroadcastHashJoin [worklistShardItemId#3393237L], [worklistShardItemId#3393639L], LeftOuter, BuildRight, (shardId#3392655 = 0_1_10000000532), false"];
7 [id="node7" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3392655, item#3393236L AS worklistShardItemId#3393237L]"];
8 [id="node8" labelType="html" label="<b>Generate</b><br><br>number of output rows: 87,939" tooltip="Generate explode(_extract_worklistShardItemId#3426576), [shardId#3392655], false, [item#3393236L]"];
9 [id="node9" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3392655, items#3392657.worklistShardItemId AS _extract_worklistShardItemId#3426576]"];
10 [id="node10" labelType="html" label="<b>Filter</b><br><br>number of output rows: 1,748" tooltip="Filter ((size(items#3392657.worklistShardItemId, true) > 0) AND isnotnull(items#3392657.worklistShardItemId))"];
}
11 [id="node11" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 1,748" tooltip="InMemoryTableScan [items#3392657, shardId#3392655], [(size(items#3392657.worklistShardItemId, true) > 0), isnotnull(items#3392657.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#3392655) AND (shardId#3392655 = 0_1_10000000532))"];
}
14 [id="node14" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#3392655, orderProposalId#3392656L, items#3392657, optimizationGroups#3392658, isOptimal#3392659, optimizationInsights#3392661], [isnotnull(shardId#3392655), (shardId#3392655 = 0_1_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#3392655) AND (shardId#3392655 = 0_1_10000000532))"];
17 [id="node17" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#3392655,orderProposalId#3392656L,items#3392657,optimizationGroups#3392658,isOptimal#3392659,lastModified#3392660,optimizationInsights#3392661]"];
}
18 [id="node18" labelType="html" label="<b>BroadcastExchange</b><br><br>time to broadcast: 8 ms<br>time to build: 18 ms<br>time to collect: 1.5 s<br>number of output rows: 87,939<br>data size: 8.0 MiB" tooltip="BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=985017]"];
subgraph cluster19 {
isCluster="true";
id="cluster19";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n133 ms (3 ms, 4 ms, 8 ms (stage 310069.0: task 894824))";
tooltip="WholeStageCodegen (2)";
20 [id="node20" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [worklistShardItemId#3393639L, isFallbackOrderOnly#3393633]"];
}
21 [id="node21" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 87,939<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 87,939<br>local bytes read total (min, med, max (stageId: taskId))<br>354.8 KiB (9.3 KiB, 10.4 KiB, 14.6 KiB (stage 310069.0: task 894824))<br>merged fetch fallback count: 0<br>local blocks read: 534<br>remote merged chunks fetched: 0<br>remote blocks read: 576<br>data size total (min, med, max (stageId: taskId))<br>2.0 MiB (53.2 KiB, 55.8 KiB, 58.6 KiB (stage 310068.0: task 894656))<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 310068.0: task 894785))<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 310069.0: task 894802))<br>remote bytes read total (min, med, max (stageId: taskId))<br>377.7 KiB (10.1 KiB, 14.1 KiB, 15.0 KiB (stage 310069.0: task 894828))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>116 ms (3 ms, 4 ms, 6 ms (stage 310069.0: task 894800))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>732.5 KiB (19.1 KiB, 19.8 KiB, 20.7 KiB (stage 310068.0: task 894656))" tooltip="Exchange hashpartitioning(worklistShardItemId#3393639L, 30), REPARTITION_BY_NUM, [plan_id=985013]"];
subgraph cluster22 {
isCluster="true";
id="cluster22";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n5.4 s (103 ms, 130 ms, 254 ms (stage 310068.0: task 894774))";
tooltip="WholeStageCodegen (1)";
23 [id="node23" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [isFallbackOrderOnly#3393633, worklistShardItemId#3393639L]"];
24 [id="node24" labelType="html" label="<b>Filter</b><br><br>number of output rows: 87,939" tooltip="Filter isnotnull(worklistShardItemId#3393639L)"];
25 [id="node25" labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 87,939<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.0 s (99 ms, 127 ms, 198 ms (stage 310068.0: task 894658))<br>dynamic partition pruning time: 0 ms<br>metadata time: 0 ms<br>size of files read: 11.9 MiB<br>number of output rows: 87,939<br>number of partitions read: 1" tooltip="FileScan parquet [isFallbackOrderOnly#3393633,worklistShardItemId#3393639L,shardId#3393660,sequenceId#3393638] Batched: true, DataFilters: [isnotnull(worklistShardItemId#3393639L)], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://7da5304c-1f57-47fa-b75a-0f0b4349c280.files.hdl.prod-eu20...., PartitionFilters: [isnotnull(shardId#3393660), isnotnull(sequenceId#3393638), (shardId#3393660 = 0_1_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;
}