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 81431.0: task 198488))";
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>5 ms (0 ms, 0 ms, 2 ms (stage 81431.0: task 198485))<br>peak memory total (min, med, max (stageId: taskId))<br>7.0 MiB (256.0 KiB, 256.0 KiB, 2.3 MiB (stage 81431.0: task 198485))<br>number of output rows: 1<br>number of sort fallback tasks: 0<br>avg hash probes per key: 1" tooltip="HashAggregate(keys=[shardId#912737], functions=[max(version#912739)])"];
}
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 81430.0: task 198466))<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 81430.0: task 198466))<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 81430.0: task 198466))" tooltip="Exchange hashpartitioning(shardId#912737, 20), ENSURE_REQUIREMENTS, [plan_id=380428]"];
subgraph cluster3 {
isCluster="true";
id="cluster3";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n454 ms (0 ms, 44 ms, 47 ms (stage 81430.0: task 198465))";
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>13 ms (0 ms, 1 ms, 3 ms (stage 81430.0: task 198465))<br>peak memory total (min, med, max (stageId: taskId))<br>5.0 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 81430.0: task 198472))<br>number of output rows: 2<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[shardId#912737], functions=[partial_max(version#912739)])"];
}
5 [id="node5" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 2" tooltip="InMemoryTableScan [shardId#912737, version#912739]"];
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>884.0 B (439.0 B, 445.0 B, 445.0 B (stage 81430.0: task 198465))<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 81429.0: task 198446))<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 81429.0: task 198446))<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 81430.0: task 198466))<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>884.0 B (439.0 B, 445.0 B, 445.0 B (stage 81429.0: task 198446))" tooltip="Exchange hashpartitioning(worklistShardItemId#912738L, 20), REPARTITION_BY_NUM, [plan_id=380399]"];
subgraph cluster7 {
isCluster="true";
id="cluster7";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n20 ms (0 ms, 1 ms, 3 ms (stage 81429.0: task 198445))";
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>2 ms (0 ms, 0 ms, 1 ms (stage 81429.0: task 198447))<br>peak memory total (min, med, max (stageId: taskId))<br>9.0 MiB (256.0 KiB, 256.0 KiB, 2.3 MiB (stage 81429.0: task 198446))<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 81429.0: task 198446))" tooltip="HashAggregate(keys=[demandChannel#912741, shardId#912737, kpis#912743, version#912739, qty#912740, worklistShardItemId#912738L, demandStream#912742], 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>870.0 B (432.0 B, 438.0 B, 438.0 B (stage 81429.0: task 198446))<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 81428.0: task 198443))<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 81428.0: task 198444))<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 81429.0: task 198446))<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>870.0 B (432.0 B, 438.0 B, 438.0 B (stage 81428.0: task 198443))" tooltip="Exchange hashpartitioning(demandChannel#912741, shardId#912737, kpis#912743, version#912739, qty#912740, worklistShardItemId#912738L, demandStream#912742, 20), ENSURE_REQUIREMENTS, [plan_id=380395]"];
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 81428.0: task 198443))<br>time in aggregation build total (min, med, max (stageId: taskId))<br>358 ms (176 ms, 182 ms, 182 ms (stage 81428.0: task 198443))<br>peak memory total (min, med, max (stageId: taskId))<br>4.5 MiB (2.3 MiB, 2.3 MiB, 2.3 MiB (stage 81428.0: task 198443))<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 81428.0: task 198443))" tooltip="HashAggregate(keys=[demandChannel#912741, shardId#912737, knownfloatingpointnormalized(transform(kpis#912743, lambdafunction(knownfloatingpointnormalized(if (isnull(lambda arg#979761)) null else named_struct(label, lambda arg#979761.label, dateTime, lambda arg#979761.dateTime, value, knownfloatingpointnormalized(normalizenanandzero(lambda arg#979761.value)))), lambda arg#979761, false))) AS kpis#912743, version#912739, knownfloatingpointnormalized(normalizenanandzero(qty#912740)) AS qty#912740, worklistShardItemId#912738L, demandStream#912742], functions=[])"];
subgraph cluster11 {
isCluster="true";
id="cluster11";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n358 ms (176 ms, 182 ms, 182 ms (stage 81428.0: task 198443))";
tooltip="WholeStageCodegen (1)";
12 [id="node12" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 2" tooltip="Scan ExistingRDD[shardId#912737,worklistShardItemId#912738L,version#912739,qty#912740,demandChannel#912741,demandStream#912742,kpis#912743]"];
}
2->1;
4->2;
5->4;
6->5;
8->6;
9->8;
10->9;
12->10;
}