digraph G {
subgraph cluster0 {
isCluster="true";
id="cluster0";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n16 ms (0 ms, 0 ms, 4 ms (stage 331977.0: task 932718))";
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>6 ms (0 ms, 0 ms, 3 ms (stage 331977.0: task 932718))<br>peak memory total (min, med, max (stageId: taskId))<br>9.5 MiB (256.0 KiB, 256.0 KiB, 2.3 MiB (stage 331977.0: task 932718))<br>number of output rows: 1<br>number of sort fallback tasks: 0<br>avg hash probes per key: 1" tooltip="HashAggregate(keys=[shardId#3571686], functions=[max(version#3571688)])"];
}
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: 1920.0 B<br>merged fetch fallback count: 0<br>local blocks read: 20<br>remote merged chunks fetched: 0<br>remote blocks read: 10<br>data size total (min, med, max (stageId: taskId))<br>1200.0 B (40.0 B, 40.0 B, 40.0 B (stage 331976.0: task 932668))<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>16 ms (0 ms, 0 ms, 0 ms (stage 331976.0: task 932669))<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: 960.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 331976.0: task 932668))" tooltip="Exchange hashpartitioning(shardId#3571686, 30), ENSURE_REQUIREMENTS, [plan_id=1021806]"];
subgraph cluster3 {
isCluster="true";
id="cluster3";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n1.3 s (10 ms, 17 ms, 129 ms (stage 331976.0: task 932682))";
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>621 ms (8 ms, 14 ms, 46 ms (stage 331976.0: task 932682))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 331976.0: task 932668))<br>number of output rows: 30<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[shardId#3571686], functions=[partial_max(version#3571688)])"];
}
5 [id="node5" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 445,104" tooltip="InMemoryTableScan [shardId#3571686, version#3571688]"];
6 [id="node6" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 445,104<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 445,104<br>local bytes read total (min, med, max (stageId: taskId))<br>7.1 MiB (200.3 KiB, 209.4 KiB, 319.7 KiB (stage 331976.0: task 932682))<br>merged fetch fallback count: 0<br>local blocks read: 420<br>remote merged chunks fetched: 0<br>remote blocks read: 480<br>data size total (min, med, max (stageId: taskId))<br>286.1 MiB (9.4 MiB, 9.5 MiB, 9.6 MiB (stage 331975.0: task 932634))<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>91 ms (2 ms, 3 ms, 3 ms (stage 331975.0: task 932655))<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 331976.0: task 932668))<br>remote bytes read total (min, med, max (stageId: taskId))<br>8.1 MiB (202.6 KiB, 305.0 KiB, 323.7 KiB (stage 331976.0: task 932669))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>60 ms (1 ms, 2 ms, 4 ms (stage 331976.0: task 932683))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>15.2 MiB (511.3 KiB, 518.1 KiB, 523.8 KiB (stage 331975.0: task 932634))" tooltip="Exchange hashpartitioning(worklistShardItemId#3571687L, 30), REPARTITION_BY_NUM, [plan_id=1021777]"];
subgraph cluster7 {
isCluster="true";
id="cluster7";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n2.1 s (32 ms, 55 ms, 134 ms (stage 331975.0: task 932629))";
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.0 s (19 ms, 36 ms, 61 ms (stage 331975.0: task 932656))<br>peak memory total (min, med, max (stageId: taskId))<br>315.0 MiB (10.5 MiB, 10.5 MiB, 10.5 MiB (stage 331975.0: task 932635))<br>number of output rows: 445,104<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 331975.0: task 932635))" tooltip="HashAggregate(keys=[demandChannel#3571690, shardId#3571686, kpis#3571692, version#3571688, qty#3571689, worklistShardItemId#3571687L, demandStream#3571691], functions=[])"];
}
9 [id="node9" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 445,104<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 445,104<br>local bytes read total (min, med, max (stageId: taskId))<br>6.4 MiB (167.7 KiB, 251.6 KiB, 257.1 KiB (stage 331975.0: task 932657))<br>merged fetch fallback count: 0<br>local blocks read: 390<br>remote merged chunks fetched: 0<br>remote blocks read: 510<br>data size total (min, med, max (stageId: taskId))<br>286.1 MiB (9.3 MiB, 9.5 MiB, 9.8 MiB (stage 331974.0: task 932603))<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>109 ms (2 ms, 2 ms, 24 ms (stage 331974.0: task 932597))<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>53 ms (0 ms, 0 ms, 38 ms (stage 331975.0: task 932656))<br>remote bytes read total (min, med, max (stageId: taskId))<br>8.4 MiB (251.3 KiB, 257.6 KiB, 344.7 KiB (stage 331975.0: task 932634))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>592 ms (4 ms, 11 ms, 77 ms (stage 331975.0: task 932654))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>14.9 MiB (495.8 KiB, 509.0 KiB, 523.1 KiB (stage 331974.0: task 932603))" tooltip="Exchange hashpartitioning(demandChannel#3571690, shardId#3571686, kpis#3571692, version#3571688, qty#3571689, worklistShardItemId#3571687L, demandStream#3571691, 30), ENSURE_REQUIREMENTS, [plan_id=1021773]"];
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 331974.0: task 932583))<br>time in aggregation build total (min, med, max (stageId: taskId))<br>14.1 s (224 ms, 517 ms, 804 ms (stage 331974.0: task 932585))<br>peak memory total (min, med, max (stageId: taskId))<br>317.0 MiB (10.5 MiB, 10.5 MiB, 12.5 MiB (stage 331974.0: task 932603))<br>number of output rows: 445,104<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 331974.0: task 932583))" tooltip="HashAggregate(keys=[demandChannel#3571690, shardId#3571686, knownfloatingpointnormalized(transform(kpis#3571692, lambdafunction(knownfloatingpointnormalized(if (isnull(lambda arg#3571800)) null else named_struct(label, lambda arg#3571800.label, dateTime, lambda arg#3571800.dateTime, value, knownfloatingpointnormalized(normalizenanandzero(lambda arg#3571800.value)))), lambda arg#3571800, false))) AS kpis#3571692, version#3571688, knownfloatingpointnormalized(normalizenanandzero(qty#3571689)) AS qty#3571689, worklistShardItemId#3571687L, demandStream#3571691], functions=[])"];
subgraph cluster11 {
isCluster="true";
id="cluster11";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n14.1 s (224 ms, 517 ms, 804 ms (stage 331974.0: task 932585))";
tooltip="WholeStageCodegen (1)";
12 [id="node12" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 445,104" tooltip="Scan ExistingRDD[shardId#3571686,worklistShardItemId#3571687L,version#3571688,qty#3571689,demandChannel#3571690,demandStream#3571691,kpis#3571692]"];
}
2->1;
4->2;
5->4;
6->5;
8->6;
9->8;
10->9;
12->10;
}