digraph G {
subgraph cluster0 {
isCluster="true";
id="cluster0";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n255 ms (0 ms, 0 ms, 49 ms (stage 1032499.0: task 2666503))";
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>20 ms (0 ms, 0 ms, 7 ms (stage 1032499.0: task 2666493))<br>peak memory total (min, med, max (stageId: taskId))<br>9.5 MiB (256.0 KiB, 256.0 KiB, 2.3 MiB (stage 1032499.0: task 2666493))<br>number of output rows: 1<br>number of sort fallback tasks: 0<br>avg hash probes per key: 1" tooltip="HashAggregate(keys=[shardId#9675733], functions=[max(version#9675735)])"];
}
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.8 KiB<br>merged fetch fallback count: 0<br>local blocks read: 30<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size total (min, med, max (stageId: taskId))<br>1200.0 B (40.0 B, 40.0 B, 40.0 B (stage 1032498.0: task 2666454))<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 1032498.0: task 2666453))<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: 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>2.8 KiB (96.0 B, 96.0 B, 96.0 B (stage 1032498.0: task 2666454))" tooltip="Exchange hashpartitioning(shardId#9675733, 30), ENSURE_REQUIREMENTS, [plan_id=3017766]"];
subgraph cluster3 {
isCluster="true";
id="cluster3";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n1.2 s (9 ms, 11 ms, 175 ms (stage 1032498.0: task 2666454))";
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>494 ms (8 ms, 9 ms, 51 ms (stage 1032498.0: task 2666455))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 1032498.0: task 2666454))<br>number of output rows: 30<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[shardId#9675733], functions=[partial_max(version#9675735)])"];
}
5 [id="node5" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 479,816" tooltip="InMemoryTableScan [shardId#9675733, version#9675735]"];
6 [id="node6" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 479,816<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 479,816<br>local bytes read total (min, med, max (stageId: taskId))<br>16.2 MiB (532.2 KiB, 555.0 KiB, 575.9 KiB (stage 1032498.0: task 2666477))<br>merged fetch fallback count: 0<br>local blocks read: 900<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size total (min, med, max (stageId: taskId))<br>308.4 MiB (10.1 MiB, 10.3 MiB, 10.5 MiB (stage 1032497.0: task 2666414))<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>98 ms (2 ms, 2 ms, 11 ms (stage 1032497.0: task 2666415))<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 1032498.0: task 2666454))<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>16.2 MiB (544.1 KiB, 554.2 KiB, 564.5 KiB (stage 1032497.0: task 2666414))" tooltip="Exchange hashpartitioning(worklistShardItemId#9675734L, 30), REPARTITION_BY_NUM, [plan_id=3017737]"];
subgraph cluster7 {
isCluster="true";
id="cluster7";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n1.7 s (31 ms, 45 ms, 137 ms (stage 1032497.0: task 2666415))";
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>858 ms (18 ms, 21 ms, 60 ms (stage 1032497.0: task 2666415))<br>peak memory total (min, med, max (stageId: taskId))<br>375.0 MiB (12.5 MiB, 12.5 MiB, 12.5 MiB (stage 1032497.0: task 2666413))<br>number of output rows: 479,816<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 1032497.0: task 2666413))" tooltip="HashAggregate(keys=[demandChannel#9675737, shardId#9675733, kpis#9675739, version#9675735, qty#9675736, worklistShardItemId#9675734L, demandStream#9675738], functions=[])"];
}
9 [id="node9" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 479,816<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 479,816<br>local bytes read total (min, med, max (stageId: taskId))<br>5.9 MiB (194.8 KiB, 200.6 KiB, 204.2 KiB (stage 1032497.0: task 2666414))<br>merged fetch fallback count: 0<br>local blocks read: 330<br>remote merged chunks fetched: 0<br>remote blocks read: 570<br>data size total (min, med, max (stageId: taskId))<br>308.4 MiB (9.9 MiB, 10.3 MiB, 10.6 MiB (stage 1032496.0: task 2666366))<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>90 ms (2 ms, 2 ms, 3 ms (stage 1032496.0: task 2666378))<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 1032497.0: task 2666413))<br>remote bytes read total (min, med, max (stageId: taskId))<br>10.1 MiB (337.3 KiB, 344.3 KiB, 353.1 KiB (stage 1032497.0: task 2666447))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>414 ms (8 ms, 10 ms, 33 ms (stage 1032497.0: task 2666423))<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, 545.1 KiB, 558.7 KiB (stage 1032496.0: task 2666366))" tooltip="Exchange hashpartitioning(demandChannel#9675737, shardId#9675733, kpis#9675739, version#9675735, qty#9675736, worklistShardItemId#9675734L, demandStream#9675738, 30), ENSURE_REQUIREMENTS, [plan_id=3017733]"];
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 1032496.0: task 2666371))<br>time in aggregation build total (min, med, max (stageId: taskId))<br>14.5 s (170 ms, 442 ms, 1.1 s (stage 1032496.0: task 2666383))<br>peak memory total (min, med, max (stageId: taskId))<br>376.0 MiB (12.5 MiB, 12.5 MiB, 13.0 MiB (stage 1032496.0: task 2666366))<br>number of output rows: 479,816<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 1032496.0: task 2666371))" tooltip="HashAggregate(keys=[demandChannel#9675737, shardId#9675733, knownfloatingpointnormalized(transform(kpis#9675739, lambdafunction(knownfloatingpointnormalized(if (isnull(lambda arg#10205592)) null else named_struct(label, lambda arg#10205592.label, dateTime, lambda arg#10205592.dateTime, value, knownfloatingpointnormalized(normalizenanandzero(lambda arg#10205592.value)))), lambda arg#10205592, false))) AS kpis#9675739, version#9675735, knownfloatingpointnormalized(normalizenanandzero(qty#9675736)) AS qty#9675736, worklistShardItemId#9675734L, demandStream#9675738], functions=[])"];
subgraph cluster11 {
isCluster="true";
id="cluster11";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n14.5 s (170 ms, 442 ms, 1.1 s (stage 1032496.0: task 2666383))";
tooltip="WholeStageCodegen (1)";
12 [id="node12" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 479,816" tooltip="Scan ExistingRDD[shardId#9675733,worklistShardItemId#9675734L,version#9675735,qty#9675736,demandChannel#9675737,demandStream#9675738,kpis#9675739]"];
}
2->1;
4->2;
5->4;
6->5;
8->6;
9->8;
10->9;
12->10;
}