digraph G {
subgraph cluster0 {
isCluster="true";
id="cluster0";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n6 ms (0 ms, 0 ms, 4 ms (stage 341141.0: task 947318))";
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 341141.0: task 947318))<br>peak memory total (min, med, max (stageId: taskId))<br>9.5 MiB (256.0 KiB, 256.0 KiB, 2.3 MiB (stage 341141.0: task 947318))<br>number of output rows: 1<br>number of sort fallback tasks: 0<br>avg hash probes per key: 1" tooltip="HashAggregate(keys=[shardId#3614460], functions=[max(version#3614462)])"];
}
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 341140.0: task 947270))<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 341140.0: task 947313))<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 341140.0: task 947270))" tooltip="Exchange hashpartitioning(shardId#3614460, 30), ENSURE_REQUIREMENTS, [plan_id=1034734]"];
subgraph cluster3 {
isCluster="true";
id="cluster3";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n854 ms (10 ms, 13 ms, 95 ms (stage 341140.0: task 947268))";
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>566 ms (9 ms, 11 ms, 45 ms (stage 341140.0: task 947313))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 341140.0: task 947270))<br>number of output rows: 30<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[shardId#3614460], functions=[partial_max(version#3614462)])"];
}
5 [id="node5" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 475,632" tooltip="InMemoryTableScan [shardId#3614460, version#3614462]"];
6 [id="node6" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 475,632<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 475,632<br>local bytes read total (min, med, max (stageId: taskId))<br>8.1 MiB (266.3 KiB, 276.5 KiB, 291.0 KiB (stage 341140.0: task 947286))<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>305.7 MiB (10.1 MiB, 10.2 MiB, 10.4 MiB (stage 341139.0: task 947232))<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>95 ms (2 ms, 3 ms, 4 ms (stage 341139.0: task 947261))<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>137 ms (0 ms, 0 ms, 109 ms (stage 341140.0: task 947289))<br>remote bytes read total (min, med, max (stageId: taskId))<br>8.1 MiB (265.8 KiB, 276.0 KiB, 286.5 KiB (stage 341140.0: task 947288))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>423 ms (1 ms, 2 ms, 240 ms (stage 341140.0: task 947289))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>16.2 MiB (541.9 KiB, 550.9 KiB, 563.5 KiB (stage 341139.0: task 947246))" tooltip="Exchange hashpartitioning(worklistShardItemId#3614461L, 30), REPARTITION_BY_NUM, [plan_id=1034705]"];
subgraph cluster7 {
isCluster="true";
id="cluster7";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n2.2 s (35 ms, 60 ms, 140 ms (stage 341139.0: task 947226))";
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>913 ms (19 ms, 28 ms, 47 ms (stage 341139.0: task 947254))<br>peak memory total (min, med, max (stageId: taskId))<br>375.0 MiB (12.5 MiB, 12.5 MiB, 12.5 MiB (stage 341139.0: task 947228))<br>number of output rows: 475,632<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 341139.0: task 947228))" tooltip="HashAggregate(keys=[demandChannel#3614464, shardId#3614460, kpis#3614466, version#3614462, qty#3614463, worklistShardItemId#3614461L, demandStream#3614465], functions=[])"];
}
9 [id="node9" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 475,632<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 475,632<br>local bytes read total (min, med, max (stageId: taskId))<br>6.6 MiB (177.1 KiB, 262.2 KiB, 273.9 KiB (stage 341139.0: task 947246))<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>305.7 MiB (9.9 MiB, 10.2 MiB, 10.5 MiB (stage 341138.0: task 947071))<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>93 ms (2 ms, 3 ms, 4 ms (stage 341138.0: task 947096))<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, 4 ms (stage 341139.0: task 947257))<br>remote bytes read total (min, med, max (stageId: taskId))<br>9.2 MiB (264.0 KiB, 354.8 KiB, 368.8 KiB (stage 341139.0: task 947232))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>199 ms (4 ms, 5 ms, 23 ms (stage 341139.0: task 947257))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>15.8 MiB (523.1 KiB, 538.0 KiB, 554.4 KiB (stage 341138.0: task 947071))" tooltip="Exchange hashpartitioning(demandChannel#3614464, shardId#3614460, kpis#3614466, version#3614462, qty#3614463, worklistShardItemId#3614461L, demandStream#3614465, 30), ENSURE_REQUIREMENTS, [plan_id=1034701]"];
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 341138.0: task 947075))<br>time in aggregation build total (min, med, max (stageId: taskId))<br>11.3 s (170 ms, 254 ms, 843 ms (stage 341138.0: task 947107))<br>peak memory total (min, med, max (stageId: taskId))<br>375.0 MiB (12.5 MiB, 12.5 MiB, 12.5 MiB (stage 341138.0: task 947075))<br>number of output rows: 475,632<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 341138.0: task 947075))" tooltip="HashAggregate(keys=[demandChannel#3614464, shardId#3614460, knownfloatingpointnormalized(transform(kpis#3614466, lambdafunction(knownfloatingpointnormalized(if (isnull(lambda arg#3614876)) null else named_struct(label, lambda arg#3614876.label, dateTime, lambda arg#3614876.dateTime, value, knownfloatingpointnormalized(normalizenanandzero(lambda arg#3614876.value)))), lambda arg#3614876, false))) AS kpis#3614466, version#3614462, knownfloatingpointnormalized(normalizenanandzero(qty#3614463)) AS qty#3614463, worklistShardItemId#3614461L, demandStream#3614465], functions=[])"];
subgraph cluster11 {
isCluster="true";
id="cluster11";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n11.3 s (170 ms, 254 ms, 843 ms (stage 341138.0: task 947107))";
tooltip="WholeStageCodegen (1)";
12 [id="node12" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 475,632" tooltip="Scan ExistingRDD[shardId#3614460,worklistShardItemId#3614461L,version#3614462,qty#3614463,demandChannel#3614464,demandStream#3614465,kpis#3614466]"];
}
2->1;
4->2;
5->4;
6->5;
8->6;
9->8;
10->9;
12->10;
}