digraph G {
subgraph cluster0 {
isCluster="true";
id="cluster0";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n136 ms (0 ms, 0 ms, 130 ms (stage 326041.0: task 914680))";
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, 3 ms (stage 326041.0: task 914677))<br>peak memory total (min, med, max (stageId: taskId))<br>9.5 MiB (256.0 KiB, 256.0 KiB, 2.3 MiB (stage 326041.0: task 914677))<br>number of output rows: 1<br>number of sort fallback tasks: 0<br>avg hash probes per key: 1" tooltip="HashAggregate(keys=[shardId#3385610], functions=[max(version#3385612)])"];
}
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 326040.0: task 914637))<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 326040.0: task 914649))<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 326040.0: task 914637))" tooltip="Exchange hashpartitioning(shardId#3385610, 30), ENSURE_REQUIREMENTS, [plan_id=1004042]"];
subgraph cluster3 {
isCluster="true";
id="cluster3";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n463 ms (10 ms, 11 ms, 91 ms (stage 326040.0: task 914633))";
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>353 ms (9 ms, 9 ms, 25 ms (stage 326040.0: task 914633))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 326040.0: task 914637))<br>number of output rows: 30<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[shardId#3385610], functions=[partial_max(version#3385612)])"];
}
5 [id="node5" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 479,444" tooltip="InMemoryTableScan [shardId#3385610, version#3385612]"];
6 [id="node6" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 479,444<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 479,444<br>local bytes read total (min, med, max (stageId: taskId))<br>16.3 MiB (539.4 KiB, 557.6 KiB, 572.0 KiB (stage 326040.0: task 914662))<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>308.2 MiB (10.2 MiB, 10.3 MiB, 10.5 MiB (stage 326039.0: task 914599))<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>77 ms (2 ms, 2 ms, 2 ms (stage 326039.0: task 914604))<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 326040.0: task 914637))<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>16.3 MiB (549.9 KiB, 556.2 KiB, 564.2 KiB (stage 326039.0: task 914599))" tooltip="Exchange hashpartitioning(worklistShardItemId#3385611L, 30), REPARTITION_BY_NUM, [plan_id=1004013]"];
subgraph cluster7 {
isCluster="true";
id="cluster7";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n1.3 s (32 ms, 34 ms, 89 ms (stage 326039.0: task 914596))";
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>706 ms (19 ms, 20 ms, 52 ms (stage 326039.0: task 914596))<br>peak memory total (min, med, max (stageId: taskId))<br>375.0 MiB (12.5 MiB, 12.5 MiB, 12.5 MiB (stage 326039.0: task 914599))<br>number of output rows: 479,444<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 326039.0: task 914599))" tooltip="HashAggregate(keys=[demandChannel#3385614, shardId#3385610, kpis#3385616, version#3385612, qty#3385613, worklistShardItemId#3385611L, demandStream#3385615], functions=[])"];
}
9 [id="node9" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 479,444<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 479,444<br>local bytes read total (min, med, max (stageId: taskId))<br>6.4 MiB (211.2 KiB, 217.6 KiB, 222.3 KiB (stage 326039.0: task 914617))<br>merged fetch fallback count: 0<br>local blocks read: 360<br>remote merged chunks fetched: 0<br>remote blocks read: 540<br>data size total (min, med, max (stageId: taskId))<br>308.2 MiB (9.8 MiB, 10.3 MiB, 10.6 MiB (stage 326038.0: task 914550))<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>116 ms (2 ms, 3 ms, 27 ms (stage 326038.0: task 914563))<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 326039.0: task 914599))<br>remote bytes read total (min, med, max (stageId: taskId))<br>9.6 MiB (321.4 KiB, 327.4 KiB, 339.1 KiB (stage 326039.0: task 914599))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>151 ms (3 ms, 5 ms, 7 ms (stage 326039.0: task 914609))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>16.0 MiB (525.5 KiB, 545.8 KiB, 561.9 KiB (stage 326038.0: task 914550))" tooltip="Exchange hashpartitioning(demandChannel#3385614, shardId#3385610, kpis#3385616, version#3385612, qty#3385613, worklistShardItemId#3385611L, demandStream#3385615, 30), ENSURE_REQUIREMENTS, [plan_id=1004009]"];
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 326038.0: task 914552))<br>time in aggregation build total (min, med, max (stageId: taskId))<br>13.0 s (160 ms, 522 ms, 785 ms (stage 326038.0: task 914550))<br>peak memory total (min, med, max (stageId: taskId))<br>376.5 MiB (12.5 MiB, 12.5 MiB, 13.0 MiB (stage 326038.0: task 914549))<br>number of output rows: 479,444<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 326038.0: task 914552))" tooltip="HashAggregate(keys=[demandChannel#3385614, shardId#3385610, knownfloatingpointnormalized(transform(kpis#3385616, lambdafunction(knownfloatingpointnormalized(if (isnull(lambda arg#3502687)) null else named_struct(label, lambda arg#3502687.label, dateTime, lambda arg#3502687.dateTime, value, knownfloatingpointnormalized(normalizenanandzero(lambda arg#3502687.value)))), lambda arg#3502687, false))) AS kpis#3385616, version#3385612, knownfloatingpointnormalized(normalizenanandzero(qty#3385613)) AS qty#3385613, worklistShardItemId#3385611L, demandStream#3385615], functions=[])"];
subgraph cluster11 {
isCluster="true";
id="cluster11";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n13.0 s (160 ms, 522 ms, 785 ms (stage 326038.0: task 914550))";
tooltip="WholeStageCodegen (1)";
12 [id="node12" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 479,444" tooltip="Scan ExistingRDD[shardId#3385610,worklistShardItemId#3385611L,version#3385612,qty#3385613,demandChannel#3385614,demandStream#3385615,kpis#3385616]"];
}
2->1;
4->2;
5->4;
6->5;
8->6;
9->8;
10->9;
12->10;
}