digraph G {
subgraph cluster0 {
isCluster="true";
id="cluster0";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n640 ms (0 ms, 1 ms, 125 ms (stage 318505.0: task 903353))";
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>11 ms (0 ms, 0 ms, 5 ms (stage 318505.0: task 903350))<br>peak memory total (min, med, max (stageId: taskId))<br>9.5 MiB (256.0 KiB, 256.0 KiB, 2.3 MiB (stage 318505.0: task 903350))<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: 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 318504.0: task 903328))<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>17 ms (0 ms, 0 ms, 0 ms (stage 318504.0: task 903348))<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 318504.0: task 903328))" tooltip="Exchange hashpartitioning(shardId#3385610, 30), ENSURE_REQUIREMENTS, [plan_id=993403]"];
subgraph cluster3 {
isCluster="true";
id="cluster3";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n1.3 s (10 ms, 36 ms, 91 ms (stage 318504.0: task 903323))";
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>845 ms (9 ms, 34 ms, 55 ms (stage 318504.0: task 903323))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 318504.0: task 903328))<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>6.8 MiB (173.0 KiB, 270.6 KiB, 288.1 KiB (stage 318504.0: task 903342))<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>308.2 MiB (10.1 MiB, 10.3 MiB, 10.4 MiB (stage 318503.0: task 903301))<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>91 ms (2 ms, 2 ms, 4 ms (stage 318503.0: task 903312))<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 318504.0: task 903328))<br>remote bytes read total (min, med, max (stageId: taskId))<br>9.5 MiB (272.7 KiB, 353.3 KiB, 379.8 KiB (stage 318504.0: task 903323))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>238 ms (4 ms, 7 ms, 14 ms (stage 318504.0: task 903325))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>16.3 MiB (547.0 KiB, 556.9 KiB, 565.3 KiB (stage 318503.0: task 903301))" tooltip="Exchange hashpartitioning(worklistShardItemId#3385611L, 30), REPARTITION_BY_NUM, [plan_id=993374]"];
subgraph cluster7 {
isCluster="true";
id="cluster7";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n2.8 s (58 ms, 96 ms, 129 ms (stage 318503.0: task 903300))";
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.3 s (21 ms, 46 ms, 53 ms (stage 318503.0: task 903307))<br>peak memory total (min, med, max (stageId: taskId))<br>375.0 MiB (12.5 MiB, 12.5 MiB, 12.5 MiB (stage 318503.0: task 903292))<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 318503.0: task 903292))" 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>5.5 MiB (160.8 KiB, 196.5 KiB, 205.6 KiB (stage 318503.0: task 903301))<br>merged fetch fallback count: 0<br>local blocks read: 310<br>remote merged chunks fetched: 0<br>remote blocks read: 590<br>data size total (min, med, max (stageId: taskId))<br>308.2 MiB (10.0 MiB, 10.3 MiB, 10.5 MiB (stage 318502.0: task 903276))<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>111 ms (2 ms, 2 ms, 27 ms (stage 318502.0: task 903266))<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 318503.0: task 903292))<br>remote bytes read total (min, med, max (stageId: taskId))<br>10.4 MiB (340.0 KiB, 355.9 KiB, 383.3 KiB (stage 318503.0: task 903300))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>351 ms (4 ms, 13 ms, 22 ms (stage 318503.0: task 903294))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>15.9 MiB (529.2 KiB, 544.6 KiB, 557.1 KiB (stage 318502.0: task 903276))" tooltip="Exchange hashpartitioning(demandChannel#3385614, shardId#3385610, kpis#3385616, version#3385612, qty#3385613, worklistShardItemId#3385611L, demandStream#3385615, 30), ENSURE_REQUIREMENTS, [plan_id=993370]"];
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 318502.0: task 903269))<br>time in aggregation build total (min, med, max (stageId: taskId))<br>13.8 s (229 ms, 489 ms, 1.2 s (stage 318502.0: task 903268))<br>peak memory total (min, med, max (stageId: taskId))<br>375.5 MiB (12.5 MiB, 12.5 MiB, 13.0 MiB (stage 318502.0: task 903276))<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 318502.0: task 903269))" tooltip="HashAggregate(keys=[demandChannel#3385614, shardId#3385610, knownfloatingpointnormalized(transform(kpis#3385616, lambdafunction(knownfloatingpointnormalized(if (isnull(lambda arg#3459952)) null else named_struct(label, lambda arg#3459952.label, dateTime, lambda arg#3459952.dateTime, value, knownfloatingpointnormalized(normalizenanandzero(lambda arg#3459952.value)))), lambda arg#3459952, 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.8 s (229 ms, 489 ms, 1.2 s (stage 318502.0: task 903268))";
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;
}