digraph G {
subgraph cluster0 {
isCluster="true";
id="cluster0";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n7 ms (0 ms, 0 ms, 4 ms (stage 331981.0: task 932853))";
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 331981.0: task 932853))<br>peak memory total (min, med, max (stageId: taskId))<br>9.5 MiB (256.0 KiB, 256.0 KiB, 2.3 MiB (stage 331981.0: task 932853))<br>number of output rows: 1<br>number of sort fallback tasks: 0<br>avg hash probes per key: 1" tooltip="HashAggregate(keys=[shardId#3571714], functions=[max(version#3571716)])"];
}
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 331980.0: task 932809))<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>14 ms (0 ms, 0 ms, 0 ms (stage 331980.0: task 932833))<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: 4 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 331980.0: task 932809))" tooltip="Exchange hashpartitioning(shardId#3571714, 30), ENSURE_REQUIREMENTS, [plan_id=1021886]"];
subgraph cluster3 {
isCluster="true";
id="cluster3";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n1.1 s (10 ms, 13 ms, 381 ms (stage 331980.0: task 932807))";
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>413 ms (9 ms, 11 ms, 30 ms (stage 331980.0: task 932807))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 331980.0: task 932809))<br>number of output rows: 30<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[shardId#3571714], functions=[partial_max(version#3571716)])"];
}
5 [id="node5" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 476,584" tooltip="InMemoryTableScan [shardId#3571714, version#3571716]"];
6 [id="node6" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 476,584<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 476,584<br>local bytes read total (min, med, max (stageId: taskId))<br>5.9 MiB (128.0 KiB, 232.5 KiB, 244.3 KiB (stage 331980.0: task 932809))<br>merged fetch fallback count: 0<br>local blocks read: 330<br>remote merged chunks fetched: 0<br>remote blocks read: 570<br>data size total (min, med, max (stageId: taskId))<br>306.3 MiB (10.1 MiB, 10.2 MiB, 10.3 MiB (stage 331979.0: task 932754))<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>96 ms (2 ms, 3 ms, 4 ms (stage 331979.0: task 932714))<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 331980.0: task 932809))<br>remote bytes read total (min, med, max (stageId: taskId))<br>10.3 MiB (304.3 KiB, 364.0 KiB, 437.3 KiB (stage 331980.0: task 932839))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>178 ms (4 ms, 6 ms, 11 ms (stage 331980.0: task 932823))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>16.2 MiB (544.2 KiB, 554.0 KiB, 561.0 KiB (stage 331979.0: task 932796))" tooltip="Exchange hashpartitioning(worklistShardItemId#3571715L, 30), REPARTITION_BY_NUM, [plan_id=1021857]"];
subgraph cluster7 {
isCluster="true";
id="cluster7";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n3.3 s (37 ms, 134 ms, 204 ms (stage 331979.0: task 932706))";
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 (21 ms, 40 ms, 69 ms (stage 331979.0: task 932705))<br>peak memory total (min, med, max (stageId: taskId))<br>375.0 MiB (12.5 MiB, 12.5 MiB, 12.5 MiB (stage 331979.0: task 932713))<br>number of output rows: 476,584<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 331979.0: task 932713))" tooltip="HashAggregate(keys=[demandChannel#3571718, shardId#3571714, kpis#3571720, version#3571716, qty#3571717, worklistShardItemId#3571715L, demandStream#3571719], functions=[])"];
}
9 [id="node9" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 476,584<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 476,584<br>local bytes read total (min, med, max (stageId: taskId))<br>5.3 MiB (174.3 KiB, 180.0 KiB, 183.9 KiB (stage 331979.0: task 932705))<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>306.3 MiB (9.9 MiB, 10.2 MiB, 10.6 MiB (stage 331978.0: task 932613))<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>113 ms (2 ms, 2 ms, 22 ms (stage 331978.0: task 932618))<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 331979.0: task 932713))<br>remote bytes read total (min, med, max (stageId: taskId))<br>10.6 MiB (354.6 KiB, 361.9 KiB, 368.5 KiB (stage 331979.0: task 932754))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>274 ms (4 ms, 7 ms, 25 ms (stage 331979.0: task 932759))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>15.9 MiB (529.7 KiB, 540.5 KiB, 562.4 KiB (stage 331978.0: task 932613))" tooltip="Exchange hashpartitioning(demandChannel#3571718, shardId#3571714, kpis#3571720, version#3571716, qty#3571717, worklistShardItemId#3571715L, demandStream#3571719, 30), ENSURE_REQUIREMENTS, [plan_id=1021853]"];
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 331978.0: task 932614))<br>time in aggregation build total (min, med, max (stageId: taskId))<br>14.5 s (227 ms, 501 ms, 916 ms (stage 331978.0: task 932625))<br>peak memory total (min, med, max (stageId: taskId))<br>375.5 MiB (12.5 MiB, 12.5 MiB, 13.0 MiB (stage 331978.0: task 932613))<br>number of output rows: 476,584<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 331978.0: task 932614))" tooltip="HashAggregate(keys=[demandChannel#3571718, shardId#3571714, knownfloatingpointnormalized(transform(kpis#3571720, lambdafunction(knownfloatingpointnormalized(if (isnull(lambda arg#3572123)) null else named_struct(label, lambda arg#3572123.label, dateTime, lambda arg#3572123.dateTime, value, knownfloatingpointnormalized(normalizenanandzero(lambda arg#3572123.value)))), lambda arg#3572123, false))) AS kpis#3571720, version#3571716, knownfloatingpointnormalized(normalizenanandzero(qty#3571717)) AS qty#3571717, worklistShardItemId#3571715L, demandStream#3571719], functions=[])"];
subgraph cluster11 {
isCluster="true";
id="cluster11";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n14.5 s (227 ms, 501 ms, 916 ms (stage 331978.0: task 932625))";
tooltip="WholeStageCodegen (1)";
12 [id="node12" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 476,584" tooltip="Scan ExistingRDD[shardId#3571714,worklistShardItemId#3571715L,version#3571716,qty#3571717,demandChannel#3571718,demandStream#3571719,kpis#3571720]"];
}
2->1;
4->2;
5->4;
6->5;
8->6;
9->8;
10->9;
12->10;
}