digraph G {
subgraph cluster0 {
isCluster="true";
id="cluster0";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n1.0 s (0 ms, 1 ms, 205 ms (stage 327117.0: task 918118))";
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>6 ms (0 ms, 0 ms, 3 ms (stage 327117.0: task 918112))<br>peak memory total (min, med, max (stageId: taskId))<br>9.5 MiB (256.0 KiB, 256.0 KiB, 2.3 MiB (stage 327117.0: task 918112))<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: 1440.0 B<br>merged fetch fallback count: 0<br>local blocks read: 15<br>remote merged chunks fetched: 0<br>remote blocks read: 15<br>data size total (min, med, max (stageId: taskId))<br>1200.0 B (40.0 B, 40.0 B, 40.0 B (stage 327116.0: task 918089))<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 327116.0: task 918105))<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: 1440.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 327116.0: task 918089))" tooltip="Exchange hashpartitioning(shardId#3427956, 30), ENSURE_REQUIREMENTS, [plan_id=1007975]"];
subgraph cluster3 {
isCluster="true";
id="cluster3";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n1.9 s (10 ms, 38 ms, 123 ms (stage 327116.0: task 918089))";
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>1.1 s (9 ms, 36 ms, 66 ms (stage 327116.0: task 918093))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 327116.0: task 918089))<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: 476,584" tooltip="InMemoryTableScan [shardId#3427956, version#3427958]"];
6 [id="node6" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 476,584<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 476,584<br>local bytes read total (min, med, max (stageId: taskId))<br>8.1 MiB (249.0 KiB, 290.3 KiB, 300.8 KiB (stage 327116.0: task 918099))<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>306.3 MiB (10.1 MiB, 10.2 MiB, 10.3 MiB (stage 327115.0: task 918073))<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>131 ms (2 ms, 3 ms, 24 ms (stage 327115.0: task 918076))<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>14 ms (0 ms, 0 ms, 14 ms (stage 327116.0: task 918106))<br>remote bytes read total (min, med, max (stageId: taskId))<br>8.1 MiB (250.1 KiB, 288.9 KiB, 304.5 KiB (stage 327116.0: task 918083))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>167 ms (1 ms, 4 ms, 37 ms (stage 327116.0: task 918106))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>16.2 MiB (546.0 KiB, 554.5 KiB, 559.5 KiB (stage 327115.0: task 918081))" tooltip="Exchange hashpartitioning(worklistShardItemId#3427957L, 30), REPARTITION_BY_NUM, [plan_id=1007946]"];
subgraph cluster7 {
isCluster="true";
id="cluster7";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n2.2 s (34 ms, 68 ms, 129 ms (stage 327115.0: task 918053))";
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.1 s (20 ms, 39 ms, 64 ms (stage 327115.0: task 918070))<br>peak memory total (min, med, max (stageId: taskId))<br>375.0 MiB (12.5 MiB, 12.5 MiB, 12.5 MiB (stage 327115.0: task 918052))<br>number of output rows: 476,584<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 327115.0: task 918052))" 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: 476,584<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 476,584<br>local bytes read total (min, med, max (stageId: taskId))<br>6.7 MiB (176.1 KiB, 265.8 KiB, 276.1 KiB (stage 327115.0: task 918073))<br>merged fetch fallback count: 0<br>local blocks read: 380<br>remote merged chunks fetched: 0<br>remote blocks read: 520<br>data size total (min, med, max (stageId: taskId))<br>306.3 MiB (9.9 MiB, 10.2 MiB, 10.6 MiB (stage 327114.0: task 918022))<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>102 ms (2 ms, 2 ms, 18 ms (stage 327114.0: task 918043))<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>5 ms (0 ms, 0 ms, 3 ms (stage 327115.0: task 918071))<br>remote bytes read total (min, med, max (stageId: taskId))<br>9.2 MiB (264.2 KiB, 276.9 KiB, 370.9 KiB (stage 327115.0: task 918061))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>279 ms (4 ms, 6 ms, 27 ms (stage 327115.0: task 918071))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>15.9 MiB (529.7 KiB, 540.5 KiB, 562.4 KiB (stage 327114.0: task 918022))" tooltip="Exchange hashpartitioning(demandChannel#3427960, shardId#3427956, kpis#3427962, version#3427958, qty#3427959, worklistShardItemId#3427957L, demandStream#3427961, 30), ENSURE_REQUIREMENTS, [plan_id=1007942]"];
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 327114.0: task 918026))<br>time in aggregation build total (min, med, max (stageId: taskId))<br>12.4 s (158 ms, 431 ms, 810 ms (stage 327114.0: task 918034))<br>peak memory total (min, med, max (stageId: taskId))<br>375.5 MiB (12.5 MiB, 12.5 MiB, 13.0 MiB (stage 327114.0: task 918022))<br>number of output rows: 476,584<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 327114.0: task 918026))" tooltip="HashAggregate(keys=[demandChannel#3427960, shardId#3427956, knownfloatingpointnormalized(transform(kpis#3427962, lambdafunction(knownfloatingpointnormalized(if (isnull(lambda arg#3516901)) null else named_struct(label, lambda arg#3516901.label, dateTime, lambda arg#3516901.dateTime, value, knownfloatingpointnormalized(normalizenanandzero(lambda arg#3516901.value)))), lambda arg#3516901, 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.4 s (158 ms, 431 ms, 810 ms (stage 327114.0: task 918034))";
tooltip="WholeStageCodegen (1)";
12 [id="node12" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 476,584" 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;
}