digraph G {
subgraph cluster0 {
isCluster="true";
id="cluster0";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n228 ms (0 ms, 0 ms, 220 ms (stage 304797.0: task 881820))";
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>4 ms (0 ms, 0 ms, 3 ms (stage 304797.0: task 881821))<br>peak memory total (min, med, max (stageId: taskId))<br>9.5 MiB (256.0 KiB, 256.0 KiB, 2.3 MiB (stage 304797.0: task 881821))<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: 2016.0 B<br>merged fetch fallback count: 0<br>local blocks read: 21<br>remote merged chunks fetched: 0<br>remote blocks read: 9<br>data size total (min, med, max (stageId: taskId))<br>1200.0 B (40.0 B, 40.0 B, 40.0 B (stage 304796.0: task 881748))<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 304796.0: task 881789))<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: 864.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 304796.0: task 881748))" tooltip="Exchange hashpartitioning(shardId#3385610, 30), ENSURE_REQUIREMENTS, [plan_id=973105]"];
subgraph cluster3 {
isCluster="true";
id="cluster3";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n1.1 s (11 ms, 15 ms, 121 ms (stage 304796.0: task 881746))";
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>569 ms (9 ms, 13 ms, 46 ms (stage 304796.0: task 881744))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 304796.0: task 881748))<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: 475,632" tooltip="InMemoryTableScan [shardId#3385610, version#3385612]"];
6 [id="node6" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 475,632<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 475,632<br>local bytes read total (min, med, max (stageId: taskId))<br>7.3 MiB (213.9 KiB, 223.1 KiB, 318.5 KiB (stage 304796.0: task 881803))<br>merged fetch fallback count: 0<br>local blocks read: 405<br>remote merged chunks fetched: 0<br>remote blocks read: 495<br>data size total (min, med, max (stageId: taskId))<br>305.7 MiB (10.1 MiB, 10.2 MiB, 10.4 MiB (stage 304795.0: task 881668))<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>139 ms (2 ms, 2 ms, 26 ms (stage 304795.0: task 881675))<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>12 ms (0 ms, 0 ms, 12 ms (stage 304796.0: task 881780))<br>remote bytes read total (min, med, max (stageId: taskId))<br>8.9 MiB (234.6 KiB, 328.9 KiB, 340.8 KiB (stage 304796.0: task 881767))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>413 ms (4 ms, 11 ms, 37 ms (stage 304796.0: task 881747))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>16.2 MiB (543.9 KiB, 551.1 KiB, 561.2 KiB (stage 304795.0: task 881668))" tooltip="Exchange hashpartitioning(worklistShardItemId#3385611L, 30), REPARTITION_BY_NUM, [plan_id=973076]"];
subgraph cluster7 {
isCluster="true";
id="cluster7";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n2.1 s (34 ms, 62 ms, 153 ms (stage 304795.0: task 881689))";
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.2 s (21 ms, 35 ms, 66 ms (stage 304795.0: task 881681))<br>peak memory total (min, med, max (stageId: taskId))<br>375.0 MiB (12.5 MiB, 12.5 MiB, 12.5 MiB (stage 304795.0: task 881640))<br>number of output rows: 475,632<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 304795.0: task 881640))" 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: 475,632<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 475,632<br>local bytes read total (min, med, max (stageId: taskId))<br>3.9 MiB (106.3 KiB, 142.1 KiB, 287.0 KiB (stage 304795.0: task 881689))<br>merged fetch fallback count: 0<br>local blocks read: 224<br>remote merged chunks fetched: 0<br>remote blocks read: 676<br>data size total (min, med, max (stageId: taskId))<br>305.7 MiB (9.9 MiB, 10.2 MiB, 10.5 MiB (stage 304794.0: task 881606))<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>155 ms (2 ms, 2 ms, 27 ms (stage 304794.0: task 881516))<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>8 ms (0 ms, 0 ms, 8 ms (stage 304795.0: task 881672))<br>remote bytes read total (min, med, max (stageId: taskId))<br>11.8 MiB (248.8 KiB, 396.1 KiB, 439.6 KiB (stage 304795.0: task 881668))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>299 ms (4 ms, 7 ms, 58 ms (stage 304795.0: task 881678))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>15.8 MiB (523.2 KiB, 538.2 KiB, 554.4 KiB (stage 304794.0: task 881606))" tooltip="Exchange hashpartitioning(demandChannel#3385614, shardId#3385610, kpis#3385616, version#3385612, qty#3385613, worklistShardItemId#3385611L, demandStream#3385615, 30), ENSURE_REQUIREMENTS, [plan_id=973072]"];
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 304794.0: task 881515))<br>time in aggregation build total (min, med, max (stageId: taskId))<br>11.1 s (159 ms, 299 ms, 774 ms (stage 304794.0: task 881523))<br>peak memory total (min, med, max (stageId: taskId))<br>375.0 MiB (12.5 MiB, 12.5 MiB, 12.5 MiB (stage 304794.0: task 881515))<br>number of output rows: 475,632<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 304794.0: task 881515))" tooltip="HashAggregate(keys=[demandChannel#3385614, shardId#3385610, knownfloatingpointnormalized(transform(kpis#3385616, lambdafunction(knownfloatingpointnormalized(if (isnull(lambda arg#3386011)) null else named_struct(label, lambda arg#3386011.label, dateTime, lambda arg#3386011.dateTime, value, knownfloatingpointnormalized(normalizenanandzero(lambda arg#3386011.value)))), lambda arg#3386011, 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))\n11.1 s (159 ms, 299 ms, 774 ms (stage 304794.0: task 881523))";
tooltip="WholeStageCodegen (1)";
12 [id="node12" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 475,632" 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;
}