digraph G {
subgraph cluster0 {
isCluster="true";
id="cluster0";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n20 ms (0 ms, 2 ms, 2 ms (stage 68653.0: task 173464))";
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>7 ms (0 ms, 0 ms, 2 ms (stage 68653.0: task 173463))<br>peak memory total (min, med, max (stageId: taskId))<br>7.0 MiB (256.0 KiB, 256.0 KiB, 2.3 MiB (stage 68653.0: task 173462))<br>number of output rows: 1<br>number of sort fallback tasks: 0<br>avg hash probes per key: 1" tooltip="HashAggregate(keys=[shardId#825003], functions=[max(version#825005)])"];
}
2 [id="node2" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 2<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 2<br>local bytes read: 96.0 B<br>merged fetch fallback count: 0<br>local blocks read: 1<br>remote merged chunks fetched: 0<br>remote blocks read: 1<br>data size total (min, med, max (stageId: taskId))<br>80.0 B (40.0 B, 40.0 B, 40.0 B (stage 68652.0: task 173442))<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, 1 ms, 1 ms (stage 68652.0: task 173442))<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: 96.0 B<br>number of partitions: 20<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>192.0 B (96.0 B, 96.0 B, 96.0 B (stage 68652.0: task 173442))" tooltip="Exchange hashpartitioning(shardId#825003, 20), ENSURE_REQUIREMENTS, [plan_id=334548]"];
subgraph cluster3 {
isCluster="true";
id="cluster3";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n463 ms (0 ms, 46 ms, 47 ms (stage 68652.0: task 173443))";
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>10 ms (0 ms, 0 ms, 2 ms (stage 68652.0: task 173442))<br>peak memory total (min, med, max (stageId: taskId))<br>5.0 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 68652.0: task 173450))<br>number of output rows: 2<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[shardId#825003], functions=[partial_max(version#825005)])"];
}
5 [id="node5" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 2" tooltip="InMemoryTableScan [shardId#825003, version#825005]"];
6 [id="node6" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 2<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 2<br>local bytes read total (min, med, max (stageId: taskId))<br>886.0 B (441.0 B, 445.0 B, 445.0 B (stage 68652.0: task 173442))<br>merged fetch fallback count: 0<br>local blocks read: 2<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size total (min, med, max (stageId: taskId))<br>1216.0 B (608.0 B, 608.0 B, 608.0 B (stage 68651.0: task 173423))<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>0 ms (0 ms, 0 ms, 0 ms (stage 68651.0: task 173423))<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 68652.0: task 173442))<br>remote bytes read: 0.0 B<br>number of partitions: 20<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>886.0 B (441.0 B, 445.0 B, 445.0 B (stage 68651.0: task 173423))" tooltip="Exchange hashpartitioning(worklistShardItemId#825004L, 20), REPARTITION_BY_NUM, [plan_id=334519]"];
subgraph cluster7 {
isCluster="true";
id="cluster7";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n156 ms (0 ms, 2 ms, 29 ms (stage 68651.0: task 173422))";
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>5 ms (0 ms, 0 ms, 1 ms (stage 68651.0: task 173427))<br>peak memory total (min, med, max (stageId: taskId))<br>9.0 MiB (256.0 KiB, 256.0 KiB, 2.3 MiB (stage 68651.0: task 173423))<br>number of output rows: 2<br>number of sort fallback tasks: 0<br>avg hash probes per key (min, med, max (stageId: taskId)):<br>(1, 1, 1 (stage 68651.0: task 173423))" tooltip="HashAggregate(keys=[demandChannel#825007, shardId#825003, kpis#825009, version#825005, qty#825006, worklistShardItemId#825004L, demandStream#825008], functions=[])"];
}
9 [id="node9" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 2<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 2<br>local bytes read total (min, med, max (stageId: taskId))<br>873.0 B (436.0 B, 437.0 B, 437.0 B (stage 68651.0: task 173422))<br>merged fetch fallback count: 0<br>local blocks read: 2<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size total (min, med, max (stageId: taskId))<br>1216.0 B (608.0 B, 608.0 B, 608.0 B (stage 68650.0: task 173421))<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>0 ms (0 ms, 0 ms, 0 ms (stage 68650.0: task 173420))<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 68651.0: task 173423))<br>remote bytes read: 0.0 B<br>number of partitions: 20<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>873.0 B (436.0 B, 437.0 B, 437.0 B (stage 68650.0: task 173420))" tooltip="Exchange hashpartitioning(demandChannel#825007, shardId#825003, kpis#825009, version#825005, qty#825006, worklistShardItemId#825004L, demandStream#825008, 20), ENSURE_REQUIREMENTS, [plan_id=334515]"];
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 68650.0: task 173421))<br>time in aggregation build total (min, med, max (stageId: taskId))<br>389 ms (193 ms, 196 ms, 196 ms (stage 68650.0: task 173420))<br>peak memory total (min, med, max (stageId: taskId))<br>4.5 MiB (2.3 MiB, 2.3 MiB, 2.3 MiB (stage 68650.0: task 173421))<br>number of output rows: 2<br>number of sort fallback tasks: 0<br>avg hash probes per key (min, med, max (stageId: taskId)):<br>(1, 1, 1 (stage 68650.0: task 173421))" tooltip="HashAggregate(keys=[demandChannel#825007, shardId#825003, knownfloatingpointnormalized(transform(kpis#825009, lambdafunction(knownfloatingpointnormalized(if (isnull(lambda arg#846109)) null else named_struct(label, lambda arg#846109.label, dateTime, lambda arg#846109.dateTime, value, knownfloatingpointnormalized(normalizenanandzero(lambda arg#846109.value)))), lambda arg#846109, false))) AS kpis#825009, version#825005, knownfloatingpointnormalized(normalizenanandzero(qty#825006)) AS qty#825006, worklistShardItemId#825004L, demandStream#825008], functions=[])"];
subgraph cluster11 {
isCluster="true";
id="cluster11";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n389 ms (193 ms, 196 ms, 196 ms (stage 68650.0: task 173420))";
tooltip="WholeStageCodegen (1)";
12 [id="node12" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 2" tooltip="Scan ExistingRDD[shardId#825003,worklistShardItemId#825004L,version#825005,qty#825006,demandChannel#825007,demandStream#825008,kpis#825009]"];
}
2->1;
4->2;
5->4;
6->5;
8->6;
9->8;
10->9;
12->10;
}