digraph G {
subgraph cluster0 {
isCluster="true";
id="cluster0";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n80 ms (0 ms, 0 ms, 57 ms (stage 341145.0: task 947417))";
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, 4 ms (stage 341145.0: task 947418))<br>peak memory total (min, med, max (stageId: taskId))<br>9.5 MiB (256.0 KiB, 256.0 KiB, 2.3 MiB (stage 341145.0: task 947418))<br>number of output rows: 1<br>number of sort fallback tasks: 0<br>avg hash probes per key: 1" tooltip="HashAggregate(keys=[shardId#3615106], functions=[max(version#3615108)])"];
}
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: 2.8 KiB<br>merged fetch fallback count: 0<br>local blocks read: 30<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size total (min, med, max (stageId: taskId))<br>1200.0 B (40.0 B, 40.0 B, 40.0 B (stage 341144.0: task 947373))<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 341144.0: task 947397))<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: 0.0 B<br>number of partitions: 30<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>2.8 KiB (96.0 B, 96.0 B, 96.0 B (stage 341144.0: task 947373))" tooltip="Exchange hashpartitioning(shardId#3615106, 30), ENSURE_REQUIREMENTS, [plan_id=1034814]"];
subgraph cluster3 {
isCluster="true";
id="cluster3";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n390 ms (8 ms, 8 ms, 98 ms (stage 341144.0: task 947373))";
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>256 ms (6 ms, 7 ms, 29 ms (stage 341144.0: task 947377))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 341144.0: task 947373))<br>number of output rows: 30<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[shardId#3615106], functions=[partial_max(version#3615108)])"];
}
5 [id="node5" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 351,756" tooltip="InMemoryTableScan [shardId#3615106, version#3615108]"];
6 [id="node6" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 351,756<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 351,756<br>local bytes read total (min, med, max (stageId: taskId))<br>12.0 MiB (398.2 KiB, 411.3 KiB, 423.8 KiB (stage 341144.0: task 947391))<br>merged fetch fallback count: 0<br>local blocks read: 900<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size total (min, med, max (stageId: taskId))<br>226.1 MiB (7.4 MiB, 7.6 MiB, 7.7 MiB (stage 341143.0: task 947357))<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>75 ms (2 ms, 2 ms, 3 ms (stage 341143.0: task 947317))<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 341144.0: task 947373))<br>remote bytes read: 0.0 B<br>number of partitions: 30<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>12.0 MiB (401.9 KiB, 411.3 KiB, 417.1 KiB (stage 341143.0: task 947350))" tooltip="Exchange hashpartitioning(worklistShardItemId#3615107L, 30), REPARTITION_BY_NUM, [plan_id=1034785]"];
subgraph cluster7 {
isCluster="true";
id="cluster7";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n1.5 s (25 ms, 49 ms, 101 ms (stage 341143.0: task 947296))";
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>892 ms (14 ms, 25 ms, 63 ms (stage 341143.0: task 947304))<br>peak memory total (min, med, max (stageId: taskId))<br>255.0 MiB (8.5 MiB, 8.5 MiB, 8.5 MiB (stage 341143.0: task 947296))<br>number of output rows: 351,756<br>number of sort fallback tasks: 0<br>avg hash probes per key (min, med, max (stageId: taskId)):<br>(1.4, 1.4, 1.4 (stage 341143.0: task 947296))" tooltip="HashAggregate(keys=[demandChannel#3615110, shardId#3615106, kpis#3615112, version#3615108, qty#3615109, worklistShardItemId#3615107L, demandStream#3615111], functions=[])"];
}
9 [id="node9" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 351,756<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 351,756<br>local bytes read total (min, med, max (stageId: taskId))<br>4.0 MiB (129.4 KiB, 135.4 KiB, 140.4 KiB (stage 341143.0: task 947350))<br>merged fetch fallback count: 0<br>local blocks read: 300<br>remote merged chunks fetched: 0<br>remote blocks read: 600<br>data size total (min, med, max (stageId: taskId))<br>226.1 MiB (7.3 MiB, 7.5 MiB, 7.7 MiB (stage 341142.0: task 947151))<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>69 ms (1 ms, 2 ms, 2 ms (stage 341142.0: task 947217))<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>51 ms (0 ms, 0 ms, 21 ms (stage 341143.0: task 947307))<br>remote bytes read total (min, med, max (stageId: taskId))<br>7.9 MiB (263.6 KiB, 269.9 KiB, 275.4 KiB (stage 341143.0: task 947356))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>290 ms (4 ms, 5 ms, 40 ms (stage 341143.0: task 947307))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>11.9 MiB (389.8 KiB, 405.3 KiB, 416.2 KiB (stage 341142.0: task 947151))" tooltip="Exchange hashpartitioning(demandChannel#3615110, shardId#3615106, kpis#3615112, version#3615108, qty#3615109, worklistShardItemId#3615107L, demandStream#3615111, 30), ENSURE_REQUIREMENTS, [plan_id=1034781]"];
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 341142.0: task 947151))<br>time in aggregation build total (min, med, max (stageId: taskId))<br>11.3 s (161 ms, 411 ms, 730 ms (stage 341142.0: task 947224))<br>peak memory total (min, med, max (stageId: taskId))<br>255.0 MiB (8.5 MiB, 8.5 MiB, 8.5 MiB (stage 341142.0: task 947151))<br>number of output rows: 351,756<br>number of sort fallback tasks: 0<br>avg hash probes per key (min, med, max (stageId: taskId)):<br>(1.4, 1.4, 1.4 (stage 341142.0: task 947151))" tooltip="HashAggregate(keys=[demandChannel#3615110, shardId#3615106, knownfloatingpointnormalized(transform(kpis#3615112, lambdafunction(knownfloatingpointnormalized(if (isnull(lambda arg#3615199)) null else named_struct(label, lambda arg#3615199.label, dateTime, lambda arg#3615199.dateTime, value, knownfloatingpointnormalized(normalizenanandzero(lambda arg#3615199.value)))), lambda arg#3615199, false))) AS kpis#3615112, version#3615108, knownfloatingpointnormalized(normalizenanandzero(qty#3615109)) AS qty#3615109, worklistShardItemId#3615107L, demandStream#3615111], functions=[])"];
subgraph cluster11 {
isCluster="true";
id="cluster11";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n11.3 s (161 ms, 411 ms, 730 ms (stage 341142.0: task 947224))";
tooltip="WholeStageCodegen (1)";
12 [id="node12" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 351,756" tooltip="Scan ExistingRDD[shardId#3615106,worklistShardItemId#3615107L,version#3615108,qty#3615109,demandChannel#3615110,demandStream#3615111,kpis#3615112]"];
}
2->1;
4->2;
5->4;
6->5;
8->6;
9->8;
10->9;
12->10;
}