digraph G {
subgraph cluster0 {
isCluster="true";
id="cluster0";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n352 ms (0 ms, 0 ms, 230 ms (stage 304793.0: task 881638))";
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>7 ms (0 ms, 0 ms, 6 ms (stage 304793.0: task 881635))<br>peak memory total (min, med, max (stageId: taskId))<br>9.5 MiB (256.0 KiB, 256.0 KiB, 2.3 MiB (stage 304793.0: task 881635))<br>number of output rows: 1<br>number of sort fallback tasks: 0<br>avg hash probes per key: 1" tooltip="HashAggregate(keys=[shardId#3385567], functions=[max(version#3385569)])"];
}
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 304792.0: task 881570))<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>16 ms (0 ms, 0 ms, 0 ms (stage 304792.0: task 881586))<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 304792.0: task 881570))" tooltip="Exchange hashpartitioning(shardId#3385567, 30), ENSURE_REQUIREMENTS, [plan_id=973025]"];
subgraph cluster3 {
isCluster="true";
id="cluster3";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n737 ms (10 ms, 12 ms, 96 ms (stage 304792.0: task 881571))";
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>484 ms (8 ms, 11 ms, 52 ms (stage 304792.0: task 881589))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 304792.0: task 881570))<br>number of output rows: 30<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[shardId#3385567], functions=[partial_max(version#3385569)])"];
}
5 [id="node5" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 445,104" tooltip="InMemoryTableScan [shardId#3385567, version#3385569]"];
6 [id="node6" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 445,104<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 445,104<br>local bytes read total (min, med, max (stageId: taskId))<br>15.2 MiB (500.5 KiB, 517.3 KiB, 540.1 KiB (stage 304792.0: task 881571))<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>286.1 MiB (9.4 MiB, 9.5 MiB, 9.6 MiB (stage 304791.0: task 881541))<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>101 ms (2 ms, 2 ms, 14 ms (stage 304791.0: task 881532))<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 304792.0: task 881570))<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>15.2 MiB (512.4 KiB, 518.4 KiB, 524.8 KiB (stage 304791.0: task 881541))" tooltip="Exchange hashpartitioning(worklistShardItemId#3385568L, 30), REPARTITION_BY_NUM, [plan_id=972996]"];
subgraph cluster7 {
isCluster="true";
id="cluster7";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n1.8 s (30 ms, 47 ms, 160 ms (stage 304791.0: task 881531))";
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>924 ms (17 ms, 29 ms, 55 ms (stage 304791.0: task 881532))<br>peak memory total (min, med, max (stageId: taskId))<br>315.0 MiB (10.5 MiB, 10.5 MiB, 10.5 MiB (stage 304791.0: task 881534))<br>number of output rows: 445,104<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 304791.0: task 881534))" tooltip="HashAggregate(keys=[demandChannel#3385571, shardId#3385567, kpis#3385573, version#3385569, qty#3385570, worklistShardItemId#3385568L, demandStream#3385572], functions=[])"];
}
9 [id="node9" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 445,104<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 445,104<br>local bytes read total (min, med, max (stageId: taskId))<br>5.0 MiB (163.0 KiB, 170.2 KiB, 173.0 KiB (stage 304791.0: task 881554))<br>merged fetch fallback count: 0<br>local blocks read: 300<br>remote merged chunks fetched: 0<br>remote blocks read: 600<br>data size total (min, med, max (stageId: taskId))<br>286.1 MiB (9.3 MiB, 9.5 MiB, 9.8 MiB (stage 304790.0: task 881502))<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>308 ms (2 ms, 3 ms, 95 ms (stage 304790.0: task 881511))<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 304791.0: task 881534))<br>remote bytes read total (min, med, max (stageId: taskId))<br>9.9 MiB (331.2 KiB, 339.4 KiB, 344.7 KiB (stage 304791.0: task 881530))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>187 ms (4 ms, 6 ms, 11 ms (stage 304791.0: task 881533))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>14.9 MiB (495.7 KiB, 508.8 KiB, 522.9 KiB (stage 304790.0: task 881502))" tooltip="Exchange hashpartitioning(demandChannel#3385571, shardId#3385567, kpis#3385573, version#3385569, qty#3385570, worklistShardItemId#3385568L, demandStream#3385572, 30), ENSURE_REQUIREMENTS, [plan_id=972992]"];
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 304790.0: task 881497))<br>time in aggregation build total (min, med, max (stageId: taskId))<br>13.5 s (173 ms, 540 ms, 853 ms (stage 304790.0: task 881496))<br>peak memory total (min, med, max (stageId: taskId))<br>317.0 MiB (10.5 MiB, 10.5 MiB, 12.5 MiB (stage 304790.0: task 881502))<br>number of output rows: 445,104<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 304790.0: task 881497))" tooltip="HashAggregate(keys=[demandChannel#3385571, shardId#3385567, knownfloatingpointnormalized(transform(kpis#3385573, lambdafunction(knownfloatingpointnormalized(if (isnull(lambda arg#3385681)) null else named_struct(label, lambda arg#3385681.label, dateTime, lambda arg#3385681.dateTime, value, knownfloatingpointnormalized(normalizenanandzero(lambda arg#3385681.value)))), lambda arg#3385681, false))) AS kpis#3385573, version#3385569, knownfloatingpointnormalized(normalizenanandzero(qty#3385570)) AS qty#3385570, worklistShardItemId#3385568L, demandStream#3385572], functions=[])"];
subgraph cluster11 {
isCluster="true";
id="cluster11";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n13.5 s (173 ms, 540 ms, 853 ms (stage 304790.0: task 881496))";
tooltip="WholeStageCodegen (1)";
12 [id="node12" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 445,104" tooltip="Scan ExistingRDD[shardId#3385567,worklistShardItemId#3385568L,version#3385569,qty#3385570,demandChannel#3385571,demandStream#3385572,kpis#3385573]"];
}
2->1;
4->2;
5->4;
6->5;
8->6;
9->8;
10->9;
12->10;
}