digraph G {
subgraph cluster0 {
isCluster="true";
id="cluster0";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n657 ms (0 ms, 1 ms, 128 ms (stage 312707.0: task 897796))";
tooltip="WholeStageCodegen (2)";
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>15 ms (0 ms, 0 ms, 5 ms (stage 312707.0: task 897802))<br>peak memory total (min, med, max (stageId: taskId))<br>9.5 MiB (256.0 KiB, 256.0 KiB, 2.3 MiB (stage 312707.0: task 897792))<br>number of output rows: 1<br>number of sort fallback tasks: 0<br>avg hash probes per key: 1" tooltip="HashAggregate(keys=[shardId#3385610], functions=[max(version#3385612)])"];
}
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: 1344.0 B<br>merged fetch fallback count: 0<br>local blocks read: 14<br>remote merged chunks fetched: 0<br>remote blocks read: 16<br>data size total (min, med, max (stageId: taskId))<br>1200.0 B (40.0 B, 40.0 B, 40.0 B (stage 312706.0: task 897764))<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>48 ms (0 ms, 0 ms, 19 ms (stage 312706.0: task 897783))<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: 1536.0 B<br>number of partitions: 30<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>2.8 KiB (96.0 B, 96.0 B, 96.0 B (stage 312706.0: task 897764))" tooltip="Exchange hashpartitioning(shardId#3385610, 30), ENSURE_REQUIREMENTS, [plan_id=988016]"];
subgraph cluster3 {
isCluster="true";
id="cluster3";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n1.6 s (11 ms, 40 ms, 121 ms (stage 312706.0: task 897763))";
tooltip="WholeStageCodegen (1)";
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>975 ms (9 ms, 38 ms, 52 ms (stage 312706.0: task 897773))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 312706.0: task 897764))<br>number of output rows: 30<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[shardId#3385610], functions=[partial_max(version#3385612)])"];
}
5 [id="node5" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 479,444" tooltip="InMemoryTableScan [shardId#3385610, version#3385612]"];
6 [id="node6" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 479,444<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 479,444<br>local bytes read total (min, med, max (stageId: taskId))<br>6.7 MiB (179.9 KiB, 192.3 KiB, 290.1 KiB (stage 312706.0: task 897763))<br>merged fetch fallback count: 0<br>local blocks read: 370<br>remote merged chunks fetched: 0<br>remote blocks read: 530<br>data size total (min, med, max (stageId: taskId))<br>308.2 MiB (10.1 MiB, 10.3 MiB, 10.4 MiB (stage 312705.0: task 897749))<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>112 ms (2 ms, 3 ms, 18 ms (stage 312705.0: task 897759))<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 312706.0: task 897764))<br>remote bytes read total (min, med, max (stageId: taskId))<br>9.6 MiB (269.5 KiB, 363.7 KiB, 377.1 KiB (stage 312706.0: task 897773))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>239 ms (4 ms, 7 ms, 22 ms (stage 312706.0: task 897791))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>16.3 MiB (545.5 KiB, 557.4 KiB, 565.6 KiB (stage 312705.0: task 897749))" tooltip="Exchange hashpartitioning(worklistShardItemId#3385611L, 30), REPARTITION_BY_NUM, [plan_id=987987]"];
subgraph cluster7 {
isCluster="true";
id="cluster7";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n3.4 s (34 ms, 118 ms, 235 ms (stage 312705.0: task 897746))";
tooltip="WholeStageCodegen (2)";
8 [id="node8" 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>1.3 s (20 ms, 47 ms, 58 ms (stage 312705.0: task 897746))<br>peak memory total (min, med, max (stageId: taskId))<br>375.0 MiB (12.5 MiB, 12.5 MiB, 12.5 MiB (stage 312705.0: task 897741))<br>number of output rows: 479,444<br>number of sort fallback tasks: 0<br>avg hash probes per key (min, med, max (stageId: taskId)):<br>(1.5, 1.5, 1.5 (stage 312705.0: task 897741))" tooltip="HashAggregate(keys=[demandChannel#3385614, shardId#3385610, kpis#3385616, version#3385612, qty#3385613, worklistShardItemId#3385611L, demandStream#3385615], functions=[])"];
}
9 [id="node9" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 479,444<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 479,444<br>local bytes read total (min, med, max (stageId: taskId))<br>5.7 MiB (143.9 KiB, 212.8 KiB, 221.7 KiB (stage 312705.0: task 897741))<br>merged fetch fallback count: 0<br>local blocks read: 320<br>remote merged chunks fetched: 0<br>remote blocks read: 580<br>data size total (min, med, max (stageId: taskId))<br>308.2 MiB (9.9 MiB, 10.3 MiB, 10.7 MiB (stage 312704.0: task 897729))<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>156 ms (2 ms, 2 ms, 27 ms (stage 312704.0: task 897714))<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 312705.0: task 897741))<br>remote bytes read total (min, med, max (stageId: taskId))<br>10.3 MiB (321.2 KiB, 358.0 KiB, 401.9 KiB (stage 312705.0: task 897746))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>315 ms (5 ms, 10 ms, 20 ms (stage 312705.0: task 897746))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>15.9 MiB (525.5 KiB, 544.5 KiB, 564.6 KiB (stage 312704.0: task 897729))" tooltip="Exchange hashpartitioning(demandChannel#3385614, shardId#3385610, kpis#3385616, version#3385612, qty#3385613, worklistShardItemId#3385611L, demandStream#3385615, 30), ENSURE_REQUIREMENTS, [plan_id=987983]"];
10 [id="node10" labelType="html" label="<b>HashAggregate</b><br><br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 312704.0: task 897710))<br>time in aggregation build total (min, med, max (stageId: taskId))<br>13.6 s (166 ms, 546 ms, 766 ms (stage 312704.0: task 897706))<br>peak memory total (min, med, max (stageId: taskId))<br>376.0 MiB (12.5 MiB, 12.5 MiB, 13.0 MiB (stage 312704.0: task 897702))<br>number of output rows: 479,444<br>number of sort fallback tasks: 0<br>avg hash probes per key (min, med, max (stageId: taskId)):<br>(1.5, 1.5, 1.5 (stage 312704.0: task 897710))" tooltip="HashAggregate(keys=[demandChannel#3385614, shardId#3385610, knownfloatingpointnormalized(transform(kpis#3385616, lambdafunction(knownfloatingpointnormalized(if (isnull(lambda arg#3438285)) null else named_struct(label, lambda arg#3438285.label, dateTime, lambda arg#3438285.dateTime, value, knownfloatingpointnormalized(normalizenanandzero(lambda arg#3438285.value)))), lambda arg#3438285, false))) AS kpis#3385616, version#3385612, knownfloatingpointnormalized(normalizenanandzero(qty#3385613)) AS qty#3385613, worklistShardItemId#3385611L, demandStream#3385615], functions=[])"];
subgraph cluster11 {
isCluster="true";
id="cluster11";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n13.6 s (166 ms, 546 ms, 766 ms (stage 312704.0: task 897706))";
tooltip="WholeStageCodegen (1)";
12 [id="node12" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 479,444" tooltip="Scan ExistingRDD[shardId#3385610,worklistShardItemId#3385611L,version#3385612,qty#3385613,demandChannel#3385614,demandStream#3385615,kpis#3385616]"];
}
2->1;
4->2;
5->4;
6->5;
8->6;
9->8;
10->9;
12->10;
}