digraph G {
subgraph cluster0 {
isCluster="true";
id="cluster0";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n1.1 s (0 ms, 0 ms, 225 ms (stage 304801.0: task 881892))";
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>12 ms (0 ms, 0 ms, 5 ms (stage 304801.0: task 881889))<br>peak memory total (min, med, max (stageId: taskId))<br>9.5 MiB (256.0 KiB, 256.0 KiB, 2.3 MiB (stage 304801.0: task 881882))<br>number of output rows: 1<br>number of sort fallback tasks: 0<br>avg hash probes per key: 1" tooltip="HashAggregate(keys=[shardId#3385871], functions=[max(version#3385873)])"];
}
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.5 KiB<br>merged fetch fallback count: 0<br>local blocks read: 27<br>remote merged chunks fetched: 0<br>remote blocks read: 3<br>data size total (min, med, max (stageId: taskId))<br>1200.0 B (40.0 B, 40.0 B, 40.0 B (stage 304800.0: task 881827))<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 304800.0: task 881828))<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: 288.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 304800.0: task 881827))" tooltip="Exchange hashpartitioning(shardId#3385871, 30), ENSURE_REQUIREMENTS, [plan_id=973185]"];
subgraph cluster3 {
isCluster="true";
id="cluster3";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n1.3 s (11 ms, 18 ms, 117 ms (stage 304800.0: task 881827))";
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>662 ms (9 ms, 15 ms, 45 ms (stage 304800.0: task 881827))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 304800.0: task 881827))<br>number of output rows: 30<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[shardId#3385871], functions=[partial_max(version#3385873)])"];
}
5 [id="node5" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 476,584" tooltip="InMemoryTableScan [shardId#3385871, version#3385873]"];
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>10.7 MiB (160.3 KiB, 386.5 KiB, 398.9 KiB (stage 304800.0: task 881872))<br>merged fetch fallback count: 0<br>local blocks read: 594<br>remote merged chunks fetched: 0<br>remote blocks read: 306<br>data size total (min, med, max (stageId: taskId))<br>306.3 MiB (10.1 MiB, 10.2 MiB, 10.3 MiB (stage 304799.0: task 881810))<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>103 ms (2 ms, 2 ms, 10 ms (stage 304799.0: task 881783))<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>2 ms (0 ms, 0 ms, 2 ms (stage 304800.0: task 881869))<br>remote bytes read total (min, med, max (stageId: taskId))<br>5.5 MiB (161.4 KiB, 167.2 KiB, 389.2 KiB (stage 304800.0: task 881869))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>75 ms (1 ms, 1 ms, 35 ms (stage 304800.0: task 881869))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>16.2 MiB (545.3 KiB, 553.9 KiB, 560.0 KiB (stage 304799.0: task 881810))" tooltip="Exchange hashpartitioning(worklistShardItemId#3385872L, 30), REPARTITION_BY_NUM, [plan_id=973156]"];
subgraph cluster7 {
isCluster="true";
id="cluster7";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n1.5 s (33 ms, 45 ms, 101 ms (stage 304799.0: task 881758))";
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>863 ms (20 ms, 29 ms, 54 ms (stage 304799.0: task 881769))<br>peak memory total (min, med, max (stageId: taskId))<br>375.0 MiB (12.5 MiB, 12.5 MiB, 12.5 MiB (stage 304799.0: task 881757))<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 304799.0: task 881757))" tooltip="HashAggregate(keys=[demandChannel#3385875, shardId#3385871, kpis#3385877, version#3385873, qty#3385874, worklistShardItemId#3385872L, demandStream#3385876], 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>8.4 MiB (106.7 KiB, 360.8 KiB, 368.6 KiB (stage 304799.0: task 881810))<br>merged fetch fallback count: 0<br>local blocks read: 474<br>remote merged chunks fetched: 0<br>remote blocks read: 426<br>data size total (min, med, max (stageId: taskId))<br>306.3 MiB (9.9 MiB, 10.2 MiB, 10.6 MiB (stage 304798.0: task 881535))<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>88 ms (2 ms, 2 ms, 3 ms (stage 304798.0: task 881535))<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 304799.0: task 881757))<br>remote bytes read total (min, med, max (stageId: taskId))<br>7.5 MiB (174.4 KiB, 180.8 KiB, 438.7 KiB (stage 304799.0: task 881776))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>178 ms (4 ms, 5 ms, 24 ms (stage 304799.0: task 881771))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>15.9 MiB (529.5 KiB, 540.3 KiB, 562.1 KiB (stage 304798.0: task 881535))" tooltip="Exchange hashpartitioning(demandChannel#3385875, shardId#3385871, kpis#3385877, version#3385873, qty#3385874, worklistShardItemId#3385872L, demandStream#3385876, 30), ENSURE_REQUIREMENTS, [plan_id=973152]"];
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 304798.0: task 881536))<br>time in aggregation build total (min, med, max (stageId: taskId))<br>10.9 s (163 ms, 316 ms, 781 ms (stage 304798.0: task 881627))<br>peak memory total (min, med, max (stageId: taskId))<br>375.5 MiB (12.5 MiB, 12.5 MiB, 13.0 MiB (stage 304798.0: task 881535))<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 304798.0: task 881536))" tooltip="HashAggregate(keys=[demandChannel#3385875, shardId#3385871, knownfloatingpointnormalized(transform(kpis#3385877, lambdafunction(knownfloatingpointnormalized(if (isnull(lambda arg#3386306)) null else named_struct(label, lambda arg#3386306.label, dateTime, lambda arg#3386306.dateTime, value, knownfloatingpointnormalized(normalizenanandzero(lambda arg#3386306.value)))), lambda arg#3386306, false))) AS kpis#3385877, version#3385873, knownfloatingpointnormalized(normalizenanandzero(qty#3385874)) AS qty#3385874, worklistShardItemId#3385872L, demandStream#3385876], functions=[])"];
subgraph cluster11 {
isCluster="true";
id="cluster11";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n10.9 s (163 ms, 316 ms, 781 ms (stage 304798.0: task 881627))";
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#3385871,worklistShardItemId#3385872L,version#3385873,qty#3385874,demandChannel#3385875,demandStream#3385876,kpis#3385877]"];
}
2->1;
4->2;
5->4;
6->5;
8->6;
9->8;
10->9;
12->10;
}