digraph G {
subgraph cluster0 {
isCluster="true";
id="cluster0";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n22 ms (0 ms, 2 ms, 4 ms (stage 46169.0: task 129473))";
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 46169.0: task 129473))<br>peak memory total (min, med, max (stageId: taskId))<br>7.0 MiB (256.0 KiB, 256.0 KiB, 2.3 MiB (stage 46169.0: task 129473))<br>number of output rows: 1<br>number of sort fallback tasks: 0<br>avg hash probes per key: 1" tooltip="HashAggregate(keys=[shardId#477721], functions=[max(version#477723)])"];
}
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 46168.0: task 129453))<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 46168.0: task 129455))<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: 0 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 46168.0: task 129453))" tooltip="Exchange hashpartitioning(shardId#477721, 20), ENSURE_REQUIREMENTS, [plan_id=257950]"];
subgraph cluster3 {
isCluster="true";
id="cluster3";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n951 ms (1 ms, 94 ms, 94 ms (stage 46168.0: task 129453))";
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>25 ms (0 ms, 2 ms, 3 ms (stage 46168.0: task 129460))<br>peak memory total (min, med, max (stageId: taskId))<br>5.0 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 46168.0: task 129453))<br>number of output rows: 20<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[shardId#477721], functions=[partial_max(version#477723)])"];
}
5 [id="node5" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 3,906" tooltip="InMemoryTableScan [shardId#477721, version#477723]"];
6 [id="node6" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 3,906<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 3,906<br>local bytes read total (min, med, max (stageId: taskId))<br>283.4 KiB (12.2 KiB, 14.1 KiB, 16.9 KiB (stage 46168.0: task 129459))<br>merged fetch fallback count: 0<br>local blocks read: 200<br>remote merged chunks fetched: 0<br>remote blocks read: 200<br>data size total (min, med, max (stageId: taskId))<br>2.5 MiB (113.2 KiB, 126.8 KiB, 144.6 KiB (stage 46167.0: task 129435))<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>26 ms (1 ms, 1 ms, 1 ms (stage 46167.0: task 129438))<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 46168.0: task 129453))<br>remote bytes read total (min, med, max (stageId: taskId))<br>276.1 KiB (11.3 KiB, 14.1 KiB, 15.8 KiB (stage 46168.0: task 129467))<br>number of partitions: 20<br>remote reqs duration total (min, med, max (stageId: taskId))<br>34 ms (1 ms, 2 ms, 3 ms (stage 46168.0: task 129453))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>559.4 KiB (26.1 KiB, 28.2 KiB, 29.8 KiB (stage 46167.0: task 129443))" tooltip="Exchange hashpartitioning(worklistShardItemId#477722L, 20), REPARTITION_BY_NUM, [plan_id=257921]"];
subgraph cluster7 {
isCluster="true";
id="cluster7";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n427 ms (6 ms, 34 ms, 37 ms (stage 46167.0: task 129437))";
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>66 ms (2 ms, 3 ms, 5 ms (stage 46167.0: task 129439))<br>peak memory total (min, med, max (stageId: taskId))<br>45.0 MiB (2.3 MiB, 2.3 MiB, 2.3 MiB (stage 46167.0: task 129440))<br>number of output rows: 3,906<br>number of sort fallback tasks: 0<br>avg hash probes per key (min, med, max (stageId: taskId)):<br>(1, 1, 1 (stage 46167.0: task 129440))" tooltip="HashAggregate(keys=[demandChannel#477725, shardId#477721, kpis#477727, version#477723, qty#477724, worklistShardItemId#477722L, demandStream#477726], functions=[])"];
}
9 [id="node9" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 3,906<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 3,906<br>local bytes read total (min, med, max (stageId: taskId))<br>268.2 KiB (12.0 KiB, 13.5 KiB, 14.9 KiB (stage 46167.0: task 129445))<br>merged fetch fallback count: 0<br>local blocks read: 200<br>remote merged chunks fetched: 0<br>remote blocks read: 200<br>data size total (min, med, max (stageId: taskId))<br>2.5 MiB (113.9 KiB, 130.1 KiB, 143.3 KiB (stage 46166.0: task 129418))<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>24 ms (0 ms, 1 ms, 1 ms (stage 46166.0: task 129432))<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 46167.0: task 129440))<br>remote bytes read total (min, med, max (stageId: taskId))<br>270.6 KiB (12.4 KiB, 13.3 KiB, 15.2 KiB (stage 46167.0: task 129435))<br>number of partitions: 20<br>remote reqs duration total (min, med, max (stageId: taskId))<br>23 ms (1 ms, 1 ms, 2 ms (stage 46167.0: task 129437))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>538.7 KiB (25.2 KiB, 26.8 KiB, 28.9 KiB (stage 46166.0: task 129415))" tooltip="Exchange hashpartitioning(demandChannel#477725, shardId#477721, kpis#477727, version#477723, qty#477724, worklistShardItemId#477722L, demandStream#477726, 20), ENSURE_REQUIREMENTS, [plan_id=257917]"];
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 46166.0: task 129421))<br>time in aggregation build total (min, med, max (stageId: taskId))<br>2.8 s (67 ms, 197 ms, 206 ms (stage 46166.0: task 129418))<br>peak memory total (min, med, max (stageId: taskId))<br>45.0 MiB (2.3 MiB, 2.3 MiB, 2.3 MiB (stage 46166.0: task 129421))<br>number of output rows: 3,906<br>number of sort fallback tasks: 0<br>avg hash probes per key (min, med, max (stageId: taskId)):<br>(1, 1, 1 (stage 46166.0: task 129421))" tooltip="HashAggregate(keys=[demandChannel#477725, shardId#477721, knownfloatingpointnormalized(transform(kpis#477727, lambdafunction(knownfloatingpointnormalized(if (isnull(lambda arg#628928)) null else named_struct(label, lambda arg#628928.label, dateTime, lambda arg#628928.dateTime, value, knownfloatingpointnormalized(normalizenanandzero(lambda arg#628928.value)))), lambda arg#628928, false))) AS kpis#477727, version#477723, knownfloatingpointnormalized(normalizenanandzero(qty#477724)) AS qty#477724, worklistShardItemId#477722L, demandStream#477726], functions=[])"];
subgraph cluster11 {
isCluster="true";
id="cluster11";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n2.8 s (67 ms, 197 ms, 206 ms (stage 46166.0: task 129418))";
tooltip="WholeStageCodegen (1)";
12 [id="node12" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 3,906" tooltip="Scan ExistingRDD[shardId#477721,worklistShardItemId#477722L,version#477723,qty#477724,demandChannel#477725,demandStream#477726,kpis#477727]"];
}
2->1;
4->2;
5->4;
6->5;
8->6;
9->8;
10->9;
12->10;
}