digraph G {
subgraph cluster0 {
isCluster="true";
id="cluster0";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n20 ms (0 ms, 0 ms, 16 ms (stage 311371.0: task 896198))";
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>3 ms (0 ms, 0 ms, 3 ms (stage 311371.0: task 896190))<br>peak memory total (min, med, max (stageId: taskId))<br>9.5 MiB (256.0 KiB, 256.0 KiB, 2.3 MiB (stage 311371.0: task 896190))<br>number of output rows: 1<br>number of sort fallback tasks: 0<br>avg hash probes per key: 1" tooltip="HashAggregate(keys=[shardId#3427956], functions=[max(version#3427958)])"];
}
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: 1056.0 B<br>merged fetch fallback count: 0<br>local blocks read: 11<br>remote merged chunks fetched: 0<br>remote blocks read: 19<br>data size total (min, med, max (stageId: taskId))<br>1200.0 B (40.0 B, 40.0 B, 40.0 B (stage 311370.0: task 896149))<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 311370.0: task 896163))<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: 1824.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 311370.0: task 896149))" tooltip="Exchange hashpartitioning(shardId#3427956, 30), ENSURE_REQUIREMENTS, [plan_id=985654]"];
subgraph cluster3 {
isCluster="true";
id="cluster3";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n872 ms (8 ms, 10 ms, 127 ms (stage 311370.0: task 896149))";
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>380 ms (6 ms, 8 ms, 36 ms (stage 311370.0: task 896152))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 311370.0: task 896149))<br>number of output rows: 30<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[shardId#3427956], functions=[partial_max(version#3427958)])"];
}
5 [id="node5" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 351,756" tooltip="InMemoryTableScan [shardId#3427956, version#3427958]"];
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>6.0 MiB (194.9 KiB, 205.7 KiB, 213.5 KiB (stage 311370.0: task 896181))<br>merged fetch fallback count: 0<br>local blocks read: 450<br>remote merged chunks fetched: 0<br>remote blocks read: 450<br>data size total (min, med, max (stageId: taskId))<br>226.1 MiB (7.4 MiB, 7.6 MiB, 7.7 MiB (stage 311369.0: task 896125))<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>132 ms (1 ms, 2 ms, 26 ms (stage 311369.0: task 896120))<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>4 ms (0 ms, 0 ms, 4 ms (stage 311370.0: task 896180))<br>remote bytes read total (min, med, max (stageId: taskId))<br>6.0 MiB (199.6 KiB, 205.0 KiB, 211.9 KiB (stage 311370.0: task 896153))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>109 ms (1 ms, 2 ms, 22 ms (stage 311370.0: task 896163))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>12.0 MiB (401.5 KiB, 411.9 KiB, 417.6 KiB (stage 311369.0: task 896117))" tooltip="Exchange hashpartitioning(worklistShardItemId#3427957L, 30), REPARTITION_BY_NUM, [plan_id=985625]"];
subgraph cluster7 {
isCluster="true";
id="cluster7";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n1.7 s (26 ms, 49 ms, 133 ms (stage 311369.0: task 896109))";
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>911 ms (14 ms, 31 ms, 50 ms (stage 311369.0: task 896129))<br>peak memory total (min, med, max (stageId: taskId))<br>255.0 MiB (8.5 MiB, 8.5 MiB, 8.5 MiB (stage 311369.0: task 896105))<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 311369.0: task 896105))" tooltip="HashAggregate(keys=[demandChannel#3427960, shardId#3427956, kpis#3427962, version#3427958, qty#3427959, worklistShardItemId#3427957L, demandStream#3427961], 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.9 MiB (157.2 KiB, 171.8 KiB, 183.9 KiB (stage 311369.0: task 896117))<br>merged fetch fallback count: 0<br>local blocks read: 375<br>remote merged chunks fetched: 0<br>remote blocks read: 525<br>data size total (min, med, max (stageId: taskId))<br>226.1 MiB (7.3 MiB, 7.5 MiB, 7.7 MiB (stage 311368.0: task 895967))<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>73 ms (2 ms, 2 ms, 3 ms (stage 311368.0: task 896059))<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>13 ms (0 ms, 0 ms, 11 ms (stage 311369.0: task 896128))<br>remote bytes read total (min, med, max (stageId: taskId))<br>6.9 MiB (222.9 KiB, 239.3 KiB, 248.2 KiB (stage 311369.0: task 896132))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>260 ms (4 ms, 5 ms, 31 ms (stage 311369.0: task 896115))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>11.9 MiB (389.7 KiB, 405.1 KiB, 416.2 KiB (stage 311368.0: task 895967))" tooltip="Exchange hashpartitioning(demandChannel#3427960, shardId#3427956, kpis#3427962, version#3427958, qty#3427959, worklistShardItemId#3427957L, demandStream#3427961, 30), ENSURE_REQUIREMENTS, [plan_id=985621]"];
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 311368.0: task 895968))<br>time in aggregation build total (min, med, max (stageId: taskId))<br>12.8 s (156 ms, 368 ms, 1.8 s (stage 311368.0: task 896020))<br>peak memory total (min, med, max (stageId: taskId))<br>255.0 MiB (8.5 MiB, 8.5 MiB, 8.5 MiB (stage 311368.0: task 895968))<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 311368.0: task 895968))" tooltip="HashAggregate(keys=[demandChannel#3427960, shardId#3427956, knownfloatingpointnormalized(transform(kpis#3427962, lambdafunction(knownfloatingpointnormalized(if (isnull(lambda arg#3428344)) null else named_struct(label, lambda arg#3428344.label, dateTime, lambda arg#3428344.dateTime, value, knownfloatingpointnormalized(normalizenanandzero(lambda arg#3428344.value)))), lambda arg#3428344, false))) AS kpis#3427962, version#3427958, knownfloatingpointnormalized(normalizenanandzero(qty#3427959)) AS qty#3427959, worklistShardItemId#3427957L, demandStream#3427961], functions=[])"];
subgraph cluster11 {
isCluster="true";
id="cluster11";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n12.8 s (156 ms, 368 ms, 1.8 s (stage 311368.0: task 896020))";
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#3427956,worklistShardItemId#3427957L,version#3427958,qty#3427959,demandChannel#3427960,demandStream#3427961,kpis#3427962]"];
}
2->1;
4->2;
5->4;
6->5;
8->6;
9->8;
10->9;
12->10;
}