digraph G {
subgraph cluster0 {
isCluster="true";
id="cluster0";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n21 ms (0 ms, 2 ms, 3 ms (stage 58072.0: task 147270))";
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 58072.0: task 147270))<br>peak memory total (min, med, max (stageId: taskId))<br>7.0 MiB (256.0 KiB, 256.0 KiB, 2.3 MiB (stage 58072.0: task 147270))<br>number of output rows: 1<br>number of sort fallback tasks: 0<br>avg hash probes per key: 1" tooltip="HashAggregate(keys=[shardId#485078], functions=[max(version#485080)])"];
}
2 [id="node2" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 20<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 20<br>local bytes read: 960.0 B<br>merged fetch fallback count: 0<br>local blocks read: 10<br>remote merged chunks fetched: 0<br>remote blocks read: 10<br>data size total (min, med, max (stageId: taskId))<br>800.0 B (40.0 B, 40.0 B, 40.0 B (stage 58071.0: task 147255))<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>8 ms (0 ms, 0 ms, 0 ms (stage 58071.0: task 147254))<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: 20<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>1920.0 B (96.0 B, 96.0 B, 96.0 B (stage 58071.0: task 147255))" tooltip="Exchange hashpartitioning(shardId#485078, 20), ENSURE_REQUIREMENTS, [plan_id=282189]"];
subgraph cluster3 {
isCluster="true";
id="cluster3";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n516 ms (1 ms, 50 ms, 51 ms (stage 58071.0: task 147255))";
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>18 ms (0 ms, 1 ms, 2 ms (stage 58071.0: task 147257))<br>peak memory total (min, med, max (stageId: taskId))<br>5.0 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 58071.0: task 147255))<br>number of output rows: 20<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[shardId#485078], functions=[partial_max(version#485080)])"];
}
5 [id="node5" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 817" tooltip="InMemoryTableScan [shardId#485078, version#485080]"];
6 [id="node6" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 817<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 817<br>local bytes read total (min, med, max (stageId: taskId))<br>106.1 KiB (3.0 KiB, 5.3 KiB, 7.6 KiB (stage 58071.0: task 147253))<br>merged fetch fallback count: 0<br>local blocks read: 165<br>remote merged chunks fetched: 0<br>remote blocks read: 167<br>data size total (min, med, max (stageId: taskId))<br>538.6 KiB (17.5 KiB, 27.8 KiB, 40.4 KiB (stage 58070.0: task 147247))<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>22 ms (0 ms, 1 ms, 1 ms (stage 58070.0: task 147230))<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 58071.0: task 147255))<br>remote bytes read total (min, med, max (stageId: taskId))<br>111.2 KiB (3.6 KiB, 5.6 KiB, 7.9 KiB (stage 58071.0: task 147255))<br>number of partitions: 20<br>remote reqs duration total (min, med, max (stageId: taskId))<br>21 ms (0 ms, 1 ms, 2 ms (stage 58071.0: task 147251))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>217.3 KiB (8.6 KiB, 11.1 KiB, 14.2 KiB (stage 58070.0: task 147230))" tooltip="Exchange hashpartitioning(worklistShardItemId#485079L, 20), REPARTITION_BY_NUM, [plan_id=282160]"];
subgraph cluster7 {
isCluster="true";
id="cluster7";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n126 ms (4 ms, 6 ms, 8 ms (stage 58070.0: task 147234))";
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>48 ms (1 ms, 2 ms, 3 ms (stage 58070.0: task 147232))<br>peak memory total (min, med, max (stageId: taskId))<br>45.0 MiB (2.3 MiB, 2.3 MiB, 2.3 MiB (stage 58070.0: task 147232))<br>number of output rows: 817<br>number of sort fallback tasks: 0<br>avg hash probes per key (min, med, max (stageId: taskId)):<br>(1, 1, 1 (stage 58070.0: task 147232))" tooltip="HashAggregate(keys=[demandChannel#485082, shardId#485078, kpis#485084, version#485080, qty#485081, worklistShardItemId#485079L, demandStream#485083], functions=[])"];
}
9 [id="node9" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 817<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 817<br>local bytes read total (min, med, max (stageId: taskId))<br>113.4 KiB (3.9 KiB, 6.0 KiB, 7.0 KiB (stage 58070.0: task 147249))<br>merged fetch fallback count: 0<br>local blocks read: 173<br>remote merged chunks fetched: 0<br>remote blocks read: 175<br>data size total (min, med, max (stageId: taskId))<br>538.6 KiB (19.5 KiB, 27.7 KiB, 32.4 KiB (stage 58069.0: task 147215))<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>19 ms (0 ms, 0 ms, 1 ms (stage 58069.0: task 147211))<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 58070.0: task 147232))<br>remote bytes read total (min, med, max (stageId: taskId))<br>109.5 KiB (3.3 KiB, 5.6 KiB, 8.4 KiB (stage 58070.0: task 147247))<br>number of partitions: 20<br>remote reqs duration total (min, med, max (stageId: taskId))<br>20 ms (0 ms, 1 ms, 2 ms (stage 58070.0: task 147231))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>222.8 KiB (8.8 KiB, 11.2 KiB, 13.2 KiB (stage 58069.0: task 147213))" tooltip="Exchange hashpartitioning(demandChannel#485082, shardId#485078, kpis#485084, version#485080, qty#485081, worklistShardItemId#485079L, demandStream#485083, 20), ENSURE_REQUIREMENTS, [plan_id=282156]"];
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 58069.0: task 147218))<br>time in aggregation build total (min, med, max (stageId: taskId))<br>2.9 s (67 ms, 188 ms, 238 ms (stage 58069.0: task 147217))<br>peak memory total (min, med, max (stageId: taskId))<br>45.0 MiB (2.3 MiB, 2.3 MiB, 2.3 MiB (stage 58069.0: task 147218))<br>number of output rows: 817<br>number of sort fallback tasks: 0<br>avg hash probes per key (min, med, max (stageId: taskId)):<br>(1, 1, 1 (stage 58069.0: task 147218))" tooltip="HashAggregate(keys=[demandChannel#485082, shardId#485078, knownfloatingpointnormalized(transform(kpis#485084, lambdafunction(knownfloatingpointnormalized(if (isnull(lambda arg#711219)) null else named_struct(label, lambda arg#711219.label, dateTime, lambda arg#711219.dateTime, value, knownfloatingpointnormalized(normalizenanandzero(lambda arg#711219.value)))), lambda arg#711219, false))) AS kpis#485084, version#485080, knownfloatingpointnormalized(normalizenanandzero(qty#485081)) AS qty#485081, worklistShardItemId#485079L, demandStream#485083], functions=[])"];
subgraph cluster11 {
isCluster="true";
id="cluster11";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n2.9 s (67 ms, 188 ms, 238 ms (stage 58069.0: task 147217))";
tooltip="WholeStageCodegen (1)";
12 [id="node12" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 817" tooltip="Scan ExistingRDD[shardId#485078,worklistShardItemId#485079L,version#485080,qty#485081,demandChannel#485082,demandStream#485083,kpis#485084]"];
}
2->1;
4->2;
5->4;
6->5;
8->6;
9->8;
10->9;
12->10;
}