digraph G {
subgraph cluster0 {
isCluster="true";
id="cluster0";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n287 ms (0 ms, 0 ms, 142 ms (stage 332343.0: task 933550))";
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 332343.0: task 933546))<br>peak memory total (min, med, max (stageId: taskId))<br>9.5 MiB (256.0 KiB, 256.0 KiB, 2.3 MiB (stage 332343.0: task 933546))<br>number of output rows: 1<br>number of sort fallback tasks: 0<br>avg hash probes per key: 1" tooltip="HashAggregate(keys=[shardId#3571686], functions=[max(version#3571688)])"];
}
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 332342.0: task 933499))<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, 1 ms (stage 332342.0: task 933496))<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 332342.0: task 933499))" tooltip="Exchange hashpartitioning(shardId#3571686, 30), ENSURE_REQUIREMENTS, [plan_id=1022427]"];
subgraph cluster3 {
isCluster="true";
id="cluster3";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n133 ms (4 ms, 4 ms, 8 ms (stage 332342.0: task 933496))";
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>93 ms (3 ms, 3 ms, 5 ms (stage 332342.0: task 933496))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 332342.0: task 933499))<br>number of output rows: 30<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[shardId#3571686], functions=[partial_max(version#3571688)])"];
}
5 [id="node5" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 159,872" tooltip="InMemoryTableScan [shardId#3571686, version#3571688]"];
6 [id="node6" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 159,872<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 159,872<br>local bytes read total (min, med, max (stageId: taskId))<br>4.1 MiB (132.6 KiB, 138.9 KiB, 146.7 KiB (stage 332342.0: task 933510))<br>merged fetch fallback count: 0<br>local blocks read: 660<br>remote merged chunks fetched: 0<br>remote blocks read: 240<br>data size total (min, med, max (stageId: taskId))<br>102.8 MiB (3.3 MiB, 3.4 MiB, 3.5 MiB (stage 332341.0: task 933447))<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>65 ms (1 ms, 1 ms, 3 ms (stage 332341.0: task 933480))<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 332342.0: task 933499))<br>remote bytes read total (min, med, max (stageId: taskId))<br>1519.3 KiB (47.1 KiB, 50.2 KiB, 54.1 KiB (stage 332342.0: task 933524))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>111 ms (3 ms, 4 ms, 6 ms (stage 332342.0: task 933525))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>5.5 MiB (182.1 KiB, 189.4 KiB, 193.7 KiB (stage 332341.0: task 933447))" tooltip="Exchange hashpartitioning(worklistShardItemId#3571687L, 30), REPARTITION_BY_NUM, [plan_id=1022398]"];
subgraph cluster7 {
isCluster="true";
id="cluster7";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n2.7 s (15 ms, 21 ms, 698 ms (stage 332341.0: task 933438))";
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.2 s (7 ms, 11 ms, 321 ms (stage 332341.0: task 933437))<br>peak memory total (min, med, max (stageId: taskId))<br>127.5 MiB (4.3 MiB, 4.3 MiB, 4.3 MiB (stage 332341.0: task 933436))<br>number of output rows: 159,872<br>number of sort fallback tasks: 0<br>avg hash probes per key (min, med, max (stageId: taskId)):<br>(1.2, 1.2, 1.2 (stage 332341.0: task 933436))" tooltip="HashAggregate(keys=[demandChannel#3571690, shardId#3571686, kpis#3571692, version#3571688, qty#3571689, worklistShardItemId#3571687L, demandStream#3571691], functions=[])"];
}
9 [id="node9" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 159,872<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 159,872<br>local bytes read total (min, med, max (stageId: taskId))<br>2.3 MiB (37.9 KiB, 87.4 KiB, 93.8 KiB (stage 332341.0: task 933482))<br>merged fetch fallback count: 0<br>local blocks read: 368<br>remote merged chunks fetched: 0<br>remote blocks read: 532<br>data size total (min, med, max (stageId: taskId))<br>102.8 MiB (3.3 MiB, 3.4 MiB, 3.6 MiB (stage 332340.0: task 933388))<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>58 ms (1 ms, 1 ms, 2 ms (stage 332340.0: task 933371))<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>935 ms (0 ms, 0 ms, 311 ms (stage 332341.0: task 933436))<br>remote bytes read total (min, med, max (stageId: taskId))<br>3.3 MiB (98.3 KiB, 101.3 KiB, 154.0 KiB (stage 332341.0: task 933463))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>1.1 s (4 ms, 5 ms, 325 ms (stage 332341.0: task 933437))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>5.6 MiB (181.2 KiB, 189.9 KiB, 195.6 KiB (stage 332340.0: task 933406))" tooltip="Exchange hashpartitioning(demandChannel#3571690, shardId#3571686, kpis#3571692, version#3571688, qty#3571689, worklistShardItemId#3571687L, demandStream#3571691, 30), ENSURE_REQUIREMENTS, [plan_id=1022394]"];
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 332340.0: task 933361))<br>time in aggregation build total (min, med, max (stageId: taskId))<br>5.0 s (114 ms, 151 ms, 288 ms (stage 332340.0: task 933367))<br>peak memory total (min, med, max (stageId: taskId))<br>127.5 MiB (4.3 MiB, 4.3 MiB, 4.3 MiB (stage 332340.0: task 933361))<br>number of output rows: 159,872<br>number of sort fallback tasks: 0<br>avg hash probes per key (min, med, max (stageId: taskId)):<br>(1.2, 1.2, 1.2 (stage 332340.0: task 933361))" tooltip="HashAggregate(keys=[demandChannel#3571690, shardId#3571686, knownfloatingpointnormalized(transform(kpis#3571692, lambdafunction(knownfloatingpointnormalized(if (isnull(lambda arg#3573722)) null else named_struct(label, lambda arg#3573722.label, dateTime, lambda arg#3573722.dateTime, value, knownfloatingpointnormalized(normalizenanandzero(lambda arg#3573722.value)))), lambda arg#3573722, false))) AS kpis#3571692, version#3571688, knownfloatingpointnormalized(normalizenanandzero(qty#3571689)) AS qty#3571689, worklistShardItemId#3571687L, demandStream#3571691], functions=[])"];
subgraph cluster11 {
isCluster="true";
id="cluster11";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n5.0 s (114 ms, 151 ms, 288 ms (stage 332340.0: task 933367))";
tooltip="WholeStageCodegen (1)";
12 [id="node12" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 159,872" tooltip="Scan ExistingRDD[shardId#3571686,worklistShardItemId#3571687L,version#3571688,qty#3571689,demandChannel#3571690,demandStream#3571691,kpis#3571692]"];
}
2->1;
4->2;
5->4;
6->5;
8->6;
9->8;
10->9;
12->10;
}