digraph G {
subgraph cluster0 {
isCluster="true";
id="cluster0";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n32 ms (0 ms, 3 ms, 5 ms (stage 52747.0: task 139981))";
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, 4 ms (stage 52747.0: task 139981))<br>peak memory total (min, med, max (stageId: taskId))<br>7.0 MiB (256.0 KiB, 256.0 KiB, 2.3 MiB (stage 52747.0: task 139981))<br>number of output rows: 1<br>number of sort fallback tasks: 0<br>avg hash probes per key: 1" tooltip="HashAggregate(keys=[shardId#643168], functions=[sum(CASE WHEN NOT (isFallbackOrderOnly#645054 <=> true) THEN 1 ELSE 0 END), sum(CASE WHEN (isFallbackOrderOnly#645054 <=> true) THEN 1 ELSE 0 END)])"];
}
2 [id="node2" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 19<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 19<br>local bytes read: 887.0 B<br>merged fetch fallback count: 0<br>local blocks read: 9<br>remote merged chunks fetched: 0<br>remote blocks read: 10<br>data size total (min, med, max (stageId: taskId))<br>912.0 B (48.0 B, 48.0 B, 48.0 B (stage 52746.0: task 139969))<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>8 ms (0 ms, 0 ms, 0 ms (stage 52746.0: task 139964))<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: 990.0 B<br>number of partitions: 20<br>remote reqs duration: 1 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>1877.0 B (95.0 B, 99.0 B, 99.0 B (stage 52746.0: task 139969))" tooltip="Exchange hashpartitioning(shardId#643168, 20), ENSURE_REQUIREMENTS, [plan_id=271212]"];
subgraph cluster3 {
isCluster="true";
id="cluster3";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n1.1 s (9 ms, 85 ms, 100 ms (stage 52746.0: task 139968))";
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>179 ms (0 ms, 9 ms, 16 ms (stage 52746.0: task 139972))<br>peak memory total (min, med, max (stageId: taskId))<br>5.0 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 52746.0: task 139963))<br>number of output rows: 19<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[shardId#643168], functions=[partial_sum(CASE WHEN NOT (isFallbackOrderOnly#645054 <=> true) THEN 1 ELSE 0 END), partial_sum(CASE WHEN (isFallbackOrderOnly#645054 <=> true) THEN 1 ELSE 0 END)])"];
5 [id="node5" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#643168, isFallbackOrderOnly#645054]"];
6 [id="node6" labelType="html" label="<b>BroadcastHashJoin</b><br><br>number of output rows: 980" tooltip="BroadcastHashJoin [worklistShardItemId#643816L], [worklistShardItemId#645060L], LeftOuter, BuildRight, (shardId#643168 = 0_1_10000002106), false"];
7 [id="node7" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#643168, item#643815L AS worklistShardItemId#643816L]"];
8 [id="node8" labelType="html" label="<b>Generate</b><br><br>number of output rows: 980" tooltip="Generate explode(_extract_worklistShardItemId#663595), [shardId#643168], false, [item#643815L]"];
9 [id="node9" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#643168, items#643170.worklistShardItemId AS _extract_worklistShardItemId#663595]"];
10 [id="node10" labelType="html" label="<b>Filter</b><br><br>number of output rows: 59" tooltip="Filter ((isnotnull(shardId#643168) AND (shardId#643168 = 0_1_10000002106)) AND ((size(items#643170.worklistShardItemId, true) > 0) AND isnotnull(items#643170.worklistShardItemId)))"];
11 [id="node11" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 59" tooltip="Scan ExistingRDD[shardId#643168,orderProposalId#643169L,items#643170,optimizationGroups#643171,isOptimal#643172,lastModified#643173,optimizationInsights#643174]"];
}
12 [id="node12" labelType="html" label="<b>BroadcastExchange</b><br><br>time to broadcast: 0 ms<br>time to build: 0 ms<br>time to collect: 400 ms<br>number of output rows: 980<br>data size: 1056.0 KiB" tooltip="BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=271206]"];
subgraph cluster13 {
isCluster="true";
id="cluster13";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n46 ms (1 ms, 2 ms, 3 ms (stage 52660.0: task 139941))";
tooltip="WholeStageCodegen (2)";
14 [id="node14" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [worklistShardItemId#645060L, isFallbackOrderOnly#645054]"];
}
15 [id="node15" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 980<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 980<br>local bytes read total (min, med, max (stageId: taskId))<br>17.9 KiB (613.0 B, 987.0 B, 1205.0 B (stage 52660.0: task 139957))<br>merged fetch fallback count: 0<br>local blocks read: 217<br>remote merged chunks fetched: 0<br>remote blocks read: 219<br>data size total (min, med, max (stageId: taskId))<br>23.0 KiB (648.0 B, 960.0 B, 1152.0 B (stage 52659.0: task 139918))<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>25 ms (0 ms, 0 ms, 2 ms (stage 52659.0: task 139919))<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 52660.0: task 139949))<br>remote bytes read total (min, med, max (stageId: taskId))<br>17.9 KiB (639.0 B, 891.0 B, 1267.0 B (stage 52660.0: task 139947))<br>number of partitions: 20<br>remote reqs duration total (min, med, max (stageId: taskId))<br>20 ms (1 ms, 1 ms, 1 ms (stage 52660.0: task 139949))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>35.7 KiB (1242.0 B, 1474.0 B, 1688.0 B (stage 52659.0: task 139918))" tooltip="Exchange hashpartitioning(worklistShardItemId#645060L, 20), REPARTITION_BY_NUM, [plan_id=271202]"];
subgraph cluster16 {
isCluster="true";
id="cluster16";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n2.5 s (75 ms, 88 ms, 139 ms (stage 52659.0: task 139923))";
tooltip="WholeStageCodegen (1)";
17 [id="node17" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [isFallbackOrderOnly#645054, worklistShardItemId#645060L]"];
18 [id="node18" labelType="html" label="<b>Filter</b><br><br>number of output rows: 980" tooltip="Filter isnotnull(worklistShardItemId#645060L)"];
19 [id="node19" labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 980<br>number of input batches: 25" tooltip="ColumnarToRow"];
}
20 [id="node20" labelType="html" label="<b>Scan parquet </b><br><br>number of files read: 25<br>scan time total (min, med, max (stageId: taskId))<br>2.2 s (73 ms, 86 ms, 107 ms (stage 52659.0: task 139923))<br>dynamic partition pruning time: 0 ms<br>metadata time: 0 ms<br>size of files read: 674.1 KiB<br>number of output rows: 980<br>number of partitions read: 1" tooltip="FileScan parquet [isFallbackOrderOnly#645054,worklistShardItemId#645060L,shardId#645081,sequenceId#645059] Batched: true, DataFilters: [isnotnull(worklistShardItemId#645060L)], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [isnotnull(shardId#645081), isnotnull(sequenceId#645059), (shardId#645081 = 0_1_10000002106), (se..., 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;
12->6;
14->12;
15->14;
17->15;
18->17;
19->18;
20->19;
}