digraph G {
subgraph cluster0 {
isCluster="true";
id="cluster0";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n92 ms (1 ms, 2 ms, 6 ms (stage 2133634.0: task 5792256))";
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>21 ms (0 ms, 0 ms, 4 ms (stage 2133634.0: task 5792253))<br>peak memory total (min, med, max (stageId: taskId))<br>9.5 MiB (256.0 KiB, 256.0 KiB, 2.3 MiB (stage 2133634.0: task 5792255))<br>number of output rows: 1<br>number of sort fallback tasks: 0<br>avg hash probes per key: 1" tooltip="HashAggregate(keys=[shardId#22176599], functions=[sum(CASE WHEN NOT (isFallbackOrderOnly#22177329 <=> true) THEN 1 ELSE 0 END), sum(CASE WHEN (isFallbackOrderOnly#22177329 <=> 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: 306.0 B<br>merged fetch fallback count: 0<br>local blocks read: 3<br>remote merged chunks fetched: 0<br>remote blocks read: 27<br>data size total (min, med, max (stageId: taskId))<br>1440.0 B (48.0 B, 48.0 B, 48.0 B (stage 2133633.0: task 5792216))<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>17 ms (0 ms, 0 ms, 0 ms (stage 2133633.0: task 5792228))<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.7 KiB<br>number of partitions: 30<br>remote reqs duration: 19 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>3.0 KiB (102.0 B, 102.0 B, 102.0 B (stage 2133633.0: task 5792216))" tooltip="Exchange hashpartitioning(shardId#22176599, 30), ENSURE_REQUIREMENTS, [plan_id=6642149]"];
subgraph cluster3 {
isCluster="true";
id="cluster3";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n2.5 s (48 ms, 60 ms, 159 ms (stage 2133633.0: task 5792215))";
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>154 ms (3 ms, 5 ms, 8 ms (stage 2133633.0: task 5792215))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 2133633.0: task 5792216))<br>number of output rows: 30<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[shardId#22176599], functions=[partial_sum(CASE WHEN NOT (isFallbackOrderOnly#22177329 <=> true) THEN 1 ELSE 0 END), partial_sum(CASE WHEN (isFallbackOrderOnly#22177329 <=> true) THEN 1 ELSE 0 END)])"];
5 [id="node5" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#22176599, isFallbackOrderOnly#22177329]"];
6 [id="node6" labelType="html" label="<b>BroadcastHashJoin</b><br><br>number of output rows: 51,793" tooltip="BroadcastHashJoin [worklistShardItemId#22177111L], [worklistShardItemId#22177335L], LeftOuter, BuildRight, (shardId#22176599 = 0_7_10000000553), false"];
7 [id="node7" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#22176599, item#22177110L AS worklistShardItemId#22177111L]"];
8 [id="node8" labelType="html" label="<b>Generate</b><br><br>number of output rows: 51,793" tooltip="Generate explode(_extract_worklistShardItemId#22187875), [shardId#22176599], false, [item#22177110L]"];
9 [id="node9" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#22176599, items#22176601.worklistShardItemId AS _extract_worklistShardItemId#22187875]"];
10 [id="node10" labelType="html" label="<b>Filter</b><br><br>number of output rows: 1,023" tooltip="Filter ((size(items#22176601.worklistShardItemId, true) > 0) AND isnotnull(items#22176601.worklistShardItemId))"];
}
11 [id="node11" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 1,023" tooltip="InMemoryTableScan [items#22176601, shardId#22176599], [(size(items#22176601.worklistShardItemId, true) > 0), isnotnull(items#22176601.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#22176599) AND (shardId#22176599 = 0_7_10000000553))"];
}
14 [id="node14" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#22176599, orderProposalId#22176600L, items#22176601, optimizationGroups#22176602, isOptimal#22176603, optimizationInsights#22176605], [isnotnull(shardId#22176599), (shardId#22176599 = 0_7_10000000553)]"];
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#22176599) AND (shardId#22176599 = 0_7_10000000553))"];
17 [id="node17" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#22176599,orderProposalId#22176600L,items#22176601,optimizationGroups#22176602,isOptimal#22176603,lastModified#22176604,optimizationInsights#22176605]"];
}
18 [id="node18" labelType="html" label="<b>BroadcastExchange</b><br><br>time to broadcast: 4 ms<br>time to build: 8 ms<br>time to collect: 1.2 s<br>number of output rows: 51,793<br>data size: 4.0 MiB" tooltip="BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=6642143]"];
subgraph cluster19 {
isCluster="true";
id="cluster19";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n143 ms (3 ms, 5 ms, 7 ms (stage 2133551.0: task 5792183))";
tooltip="WholeStageCodegen (2)";
20 [id="node20" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [worklistShardItemId#22177335L, isFallbackOrderOnly#22177329]"];
}
21 [id="node21" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 51,793<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 51,793<br>local bytes read total (min, med, max (stageId: taskId))<br>40.5 KiB (1014.0 B, 1464.0 B, 1619.0 B (stage 2133551.0: task 5792206))<br>merged fetch fallback count: 0<br>local blocks read: 111<br>remote merged chunks fetched: 0<br>remote blocks read: 999<br>data size total (min, med, max (stageId: taskId))<br>1213.9 KiB (30.5 KiB, 32.9 KiB, 34.6 KiB (stage 2133550.0: task 5792146))<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>57 ms (1 ms, 1 ms, 2 ms (stage 2133550.0: task 5792170))<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 2133551.0: task 5792189))<br>remote bytes read total (min, med, max (stageId: taskId))<br>370.1 KiB (11.7 KiB, 12.3 KiB, 12.9 KiB (stage 2133551.0: task 5792190))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>669 ms (18 ms, 22 ms, 28 ms (stage 2133551.0: task 5792207))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>410.6 KiB (10.5 KiB, 11.1 KiB, 11.6 KiB (stage 2133550.0: task 5792146))" tooltip="Exchange hashpartitioning(worklistShardItemId#22177335L, 30), REPARTITION_BY_NUM, [plan_id=6642139]"];
subgraph cluster22 {
isCluster="true";
id="cluster22";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n7.9 s (118 ms, 154 ms, 1.1 s (stage 2133550.0: task 5792175))";
tooltip="WholeStageCodegen (1)";
23 [id="node23" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [isFallbackOrderOnly#22177329, worklistShardItemId#22177335L]"];
24 [id="node24" labelType="html" label="<b>Filter</b><br><br>number of output rows: 51,793" tooltip="Filter isnotnull(worklistShardItemId#22177335L)"];
25 [id="node25" labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 51,793<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>7.7 s (112 ms, 146 ms, 1.1 s (stage 2133550.0: task 5792175))<br>dynamic partition pruning time: 0 ms<br>metadata time: 0 ms<br>size of files read: 7.4 MiB<br>number of output rows: 51,793<br>number of partitions read: 1" tooltip="FileScan parquet [isFallbackOrderOnly#22177329,worklistShardItemId#22177335L,shardId#22177356,sequenceId#22177334] Batched: true, DataFilters: [isnotnull(worklistShardItemId#22177335L)], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://7da5304c-1f57-47fa-b75a-0f0b4349c280.files.hdl.prod-eu20...., PartitionFilters: [isnotnull(shardId#22177356), isnotnull(sequenceId#22177334), (shardId#22177356 = 0_7_10000000553..., 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;
}