digraph G {
subgraph cluster0 {
isCluster="true";
id="cluster0";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n35 ms (0 ms, 1 ms, 5 ms (stage 1300921.0: task 2424861))";
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>16 ms (0 ms, 0 ms, 5 ms (stage 1300921.0: task 2424857))<br>peak memory total (min, med, max (stageId: taskId))<br>9.5 MiB (256.0 KiB, 256.0 KiB, 2.3 MiB (stage 1300921.0: task 2424857))<br>number of output rows: 1<br>number of sort fallback tasks: 0<br>avg hash probes per key: 1" tooltip="HashAggregate(keys=[shardId#5451213], functions=[sum(CASE WHEN NOT (isFallbackOrderOnly#5452247 <=> true) THEN 1 ELSE 0 END), sum(CASE WHEN (isFallbackOrderOnly#5452247 <=> true) THEN 1 ELSE 0 END)])"];
}
2 [id="node2" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 3<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 3<br>local bytes read: 101.0 B<br>merged fetch fallback count: 0<br>local blocks read: 1<br>remote merged chunks fetched: 0<br>remote blocks read: 2<br>data size total (min, med, max (stageId: taskId))<br>144.0 B (48.0 B, 48.0 B, 48.0 B (stage 1300920.0: task 2424846))<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>1 ms (0 ms, 0 ms, 0 ms (stage 1300920.0: task 2424856))<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: 202.0 B<br>number of partitions: 30<br>remote reqs duration: 5 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>303.0 B (101.0 B, 101.0 B, 101.0 B (stage 1300920.0: task 2424846))" tooltip="Exchange hashpartitioning(shardId#5451213, 30), ENSURE_REQUIREMENTS, [plan_id=2831661]"];
subgraph cluster3 {
isCluster="true";
id="cluster3";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n1.1 s (0 ms, 31 ms, 143 ms (stage 1300920.0: task 2424841))";
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>34 ms (0 ms, 0 ms, 9 ms (stage 1300920.0: task 2424856))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 1300920.0: task 2424834))<br>number of output rows: 3<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[shardId#5451213], functions=[partial_sum(CASE WHEN NOT (isFallbackOrderOnly#5452247 <=> true) THEN 1 ELSE 0 END), partial_sum(CASE WHEN (isFallbackOrderOnly#5452247 <=> true) THEN 1 ELSE 0 END)])"];
5 [id="node5" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#5451213, isFallbackOrderOnly#5452247]"];
6 [id="node6" labelType="html" label="<b>BroadcastHashJoin</b><br><br>number of output rows: 9" tooltip="BroadcastHashJoin [worklistShardItemId#5451799L], [worklistShardItemId#5452253L], LeftOuter, BuildRight, (shardId#5451213 = 0_1_10000001444), false"];
7 [id="node7" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#5451213, item#5451798L AS worklistShardItemId#5451799L]"];
8 [id="node8" labelType="html" label="<b>Generate</b><br><br>number of output rows: 9" tooltip="Generate explode(_extract_worklistShardItemId#5470639), [shardId#5451213], false, [item#5451798L]"];
9 [id="node9" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#5451213, items#5451215.worklistShardItemId AS _extract_worklistShardItemId#5470639]"];
10 [id="node10" labelType="html" label="<b>Filter</b><br><br>number of output rows: 3" tooltip="Filter ((isnotnull(shardId#5451213) AND (shardId#5451213 = 0_1_10000001444)) AND ((size(items#5451215.worklistShardItemId, true) > 0) AND isnotnull(items#5451215.worklistShardItemId)))"];
11 [id="node11" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 3" tooltip="Scan ExistingRDD[shardId#5451213,orderProposalId#5451214L,items#5451215,optimizationGroups#5451216,isOptimal#5451217,lastModified#5451218,optimizationInsights#5451219]"];
}
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: 259 ms<br>number of output rows: 9<br>data size: 1028.1 KiB" tooltip="BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=2831655]"];
subgraph cluster13 {
isCluster="true";
id="cluster13";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n8 ms (0 ms, 0 ms, 2 ms (stage 1300733.0: task 2424799))";
tooltip="WholeStageCodegen (2)";
14 [id="node14" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [worklistShardItemId#5452253L, isFallbackOrderOnly#5452247]"];
}
15 [id="node15" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 9<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 9<br>local bytes read total (min, med, max (stageId: taskId))<br>711.0 B (79.0 B, 79.0 B, 79.0 B (stage 1300733.0: task 2424798))<br>merged fetch fallback count: 0<br>local blocks read: 9<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size total (min, med, max (stageId: taskId))<br>216.0 B (24.0 B, 24.0 B, 48.0 B (stage 1300732.0: task 2424789))<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>3 ms (0 ms, 0 ms, 0 ms (stage 1300732.0: task 2424791))<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 1300733.0: task 2424798))<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 total (min, med, max (stageId: taskId))<br>711.0 B (79.0 B, 79.0 B, 158.0 B (stage 1300732.0: task 2424789))" tooltip="Exchange hashpartitioning(worklistShardItemId#5452253L, 30), REPARTITION_BY_NUM, [plan_id=2831651]"];
subgraph cluster16 {
isCluster="true";
id="cluster16";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n832 ms (100 ms, 105 ms, 108 ms (stage 1300732.0: task 2424793))";
tooltip="WholeStageCodegen (1)";
17 [id="node17" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [isFallbackOrderOnly#5452247, worklistShardItemId#5452253L]"];
18 [id="node18" labelType="html" label="<b>Filter</b><br><br>number of output rows: 9" tooltip="Filter isnotnull(worklistShardItemId#5452253L)"];
19 [id="node19" labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 9<br>number of input batches: 8" tooltip="ColumnarToRow"];
}
20 [id="node20" labelType="html" label="<b>Scan parquet </b><br><br>number of files read: 8<br>scan time total (min, med, max (stageId: taskId))<br>803 ms (98 ms, 100 ms, 103 ms (stage 1300732.0: task 2424792))<br>dynamic partition pruning time: 0 ms<br>metadata time: 0 ms<br>size of files read: 147.0 KiB<br>number of output rows: 9<br>number of partitions read: 1" tooltip="FileScan parquet [isFallbackOrderOnly#5452247,worklistShardItemId#5452253L,shardId#5452274,sequenceId#5452252] Batched: true, DataFilters: [isnotnull(worklistShardItemId#5452253L)], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://332d7051-0d16-44f5-ae76-bf2dcf30365f.files.hdl.prod-eu20...., PartitionFilters: [isnotnull(shardId#5452274), isnotnull(sequenceId#5452252), (shardId#5452274 = 0_1_10000001444), ..., 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;
}