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 66219.0: task 165443))";
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, 3 ms (stage 66219.0: task 165443))<br>peak memory total (min, med, max (stageId: taskId))<br>7.0 MiB (256.0 KiB, 256.0 KiB, 2.3 MiB (stage 66219.0: task 165443))<br>number of output rows: 1<br>number of sort fallback tasks: 0<br>avg hash probes per key: 1" tooltip="HashAggregate(keys=[shardId#731324], functions=[max(version#731326)])"];
}
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: 768.0 B<br>merged fetch fallback count: 0<br>local blocks read: 8<br>remote merged chunks fetched: 0<br>remote blocks read: 12<br>data size total (min, med, max (stageId: taskId))<br>800.0 B (40.0 B, 40.0 B, 40.0 B (stage 66218.0: task 165427))<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>7 ms (0 ms, 0 ms, 0 ms (stage 66218.0: task 165431))<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: 1152.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 66218.0: task 165427))" tooltip="Exchange hashpartitioning(shardId#731324, 20), ENSURE_REQUIREMENTS, [plan_id=314547]"];
subgraph cluster3 {
isCluster="true";
id="cluster3";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n516 ms (1 ms, 48 ms, 53 ms (stage 66218.0: task 165432))";
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>15 ms (0 ms, 1 ms, 2 ms (stage 66218.0: task 165429))<br>peak memory total (min, med, max (stageId: taskId))<br>5.0 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 66218.0: task 165427))<br>number of output rows: 20<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[shardId#731324], functions=[partial_max(version#731326)])"];
}
5 [id="node5" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 223" tooltip="InMemoryTableScan [shardId#731324, version#731326]"];
6 [id="node6" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 223<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 223<br>local bytes read total (min, med, max (stageId: taskId))<br>46.1 KiB (882.0 B, 2.8 KiB, 3.9 KiB (stage 66218.0: task 165427))<br>merged fetch fallback count: 0<br>local blocks read: 102<br>remote merged chunks fetched: 0<br>remote blocks read: 67<br>data size total (min, med, max (stageId: taskId))<br>132.4 KiB (3.0 KiB, 5.9 KiB, 11.9 KiB (stage 66217.0: task 165405))<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>13 ms (0 ms, 0 ms, 1 ms (stage 66217.0: task 165408))<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 66218.0: task 165427))<br>remote bytes read total (min, med, max (stageId: taskId))<br>30.8 KiB (550.0 B, 1779.0 B, 4.3 KiB (stage 66218.0: task 165438))<br>number of partitions: 20<br>remote reqs duration total (min, med, max (stageId: taskId))<br>13 ms (0 ms, 1 ms, 1 ms (stage 66218.0: task 165427))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>76.9 KiB (2.2 KiB, 3.6 KiB, 6.4 KiB (stage 66217.0: task 165405))" tooltip="Exchange hashpartitioning(worklistShardItemId#731325L, 20), REPARTITION_BY_NUM, [plan_id=314518]"];
subgraph cluster7 {
isCluster="true";
id="cluster7";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n362 ms (2 ms, 5 ms, 62 ms (stage 66217.0: task 165410))";
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>21 ms (0 ms, 1 ms, 3 ms (stage 66217.0: task 165405))<br>peak memory total (min, med, max (stageId: taskId))<br>45.0 MiB (2.3 MiB, 2.3 MiB, 2.3 MiB (stage 66217.0: task 165409))<br>number of output rows: 223<br>number of sort fallback tasks: 0<br>avg hash probes per key (min, med, max (stageId: taskId)):<br>(1, 1, 1 (stage 66217.0: task 165409))" tooltip="HashAggregate(keys=[demandChannel#731328, shardId#731324, kpis#731330, version#731326, qty#731327, worklistShardItemId#731325L, demandStream#731329], functions=[])"];
}
9 [id="node9" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 223<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 223<br>local bytes read total (min, med, max (stageId: taskId))<br>40.1 KiB (870.0 B, 2.2 KiB, 3.7 KiB (stage 66217.0: task 165405))<br>merged fetch fallback count: 0<br>local blocks read: 91<br>remote merged chunks fetched: 0<br>remote blocks read: 86<br>data size total (min, med, max (stageId: taskId))<br>132.4 KiB (3.6 KiB, 6.5 KiB, 9.5 KiB (stage 66216.0: task 165383))<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>13 ms (0 ms, 0 ms, 1 ms (stage 66216.0: task 165385))<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 66217.0: task 165409))<br>remote bytes read total (min, med, max (stageId: taskId))<br>38.1 KiB (876.0 B, 1826.0 B, 3.2 KiB (stage 66217.0: task 165407))<br>number of partitions: 20<br>remote reqs duration total (min, med, max (stageId: taskId))<br>260 ms (0 ms, 25 ms, 26 ms (stage 66217.0: task 165409))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>78.2 KiB (1849.0 B, 3.9 KiB, 5.4 KiB (stage 66216.0: task 165383))" tooltip="Exchange hashpartitioning(demandChannel#731328, shardId#731324, kpis#731330, version#731326, qty#731327, worklistShardItemId#731325L, demandStream#731329, 20), ENSURE_REQUIREMENTS, [plan_id=314514]"];
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 66216.0: task 165392))<br>time in aggregation build total (min, med, max (stageId: taskId))<br>2.4 s (65 ms, 148 ms, 193 ms (stage 66216.0: task 165388))<br>peak memory total (min, med, max (stageId: taskId))<br>45.0 MiB (2.3 MiB, 2.3 MiB, 2.3 MiB (stage 66216.0: task 165392))<br>number of output rows: 223<br>number of sort fallback tasks: 0<br>avg hash probes per key (min, med, max (stageId: taskId)):<br>(1, 1, 1 (stage 66216.0: task 165392))" tooltip="HashAggregate(keys=[demandChannel#731328, shardId#731324, knownfloatingpointnormalized(transform(kpis#731330, lambdafunction(knownfloatingpointnormalized(if (isnull(lambda arg#801564)) null else named_struct(label, lambda arg#801564.label, dateTime, lambda arg#801564.dateTime, value, knownfloatingpointnormalized(normalizenanandzero(lambda arg#801564.value)))), lambda arg#801564, false))) AS kpis#731330, version#731326, knownfloatingpointnormalized(normalizenanandzero(qty#731327)) AS qty#731327, worklistShardItemId#731325L, demandStream#731329], functions=[])"];
subgraph cluster11 {
isCluster="true";
id="cluster11";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n2.4 s (65 ms, 148 ms, 193 ms (stage 66216.0: task 165388))";
tooltip="WholeStageCodegen (1)";
12 [id="node12" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 223" tooltip="Scan ExistingRDD[shardId#731324,worklistShardItemId#731325L,version#731326,qty#731327,demandChannel#731328,demandStream#731329,kpis#731330]"];
}
2->1;
4->2;
5->4;
6->5;
8->6;
9->8;
10->9;
12->10;
}