digraph G {
subgraph cluster0 {
isCluster="true";
id="cluster0";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n5 ms (0 ms, 0 ms, 1 ms (stage 1316858.0: task 2455712))";
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, 1 ms (stage 1316858.0: task 2455705))<br>peak memory total (min, med, max (stageId: taskId))<br>9.5 MiB (256.0 KiB, 256.0 KiB, 2.3 MiB (stage 1316858.0: task 2455705))<br>number of output rows: 1<br>number of sort fallback tasks: 0<br>avg hash probes per key: 1" tooltip="HashAggregate(keys=[shardId#4883821], functions=[max(version#4883823)])"];
}
2 [id="node2" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 3<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 3<br>local bytes read: 96.0 B<br>merged fetch fallback count: 0<br>local blocks read: 1<br>remote merged chunks fetched: 0<br>remote blocks read: 2<br>data size total (min, med, max (stageId: taskId))<br>120.0 B (40.0 B, 40.0 B, 40.0 B (stage 1316857.0: task 2455677))<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>1 ms (0 ms, 0 ms, 0 ms (stage 1316857.0: task 2455677))<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: 192.0 B<br>number of partitions: 30<br>remote reqs duration: 2 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>288.0 B (96.0 B, 96.0 B, 96.0 B (stage 1316857.0: task 2455677))" tooltip="Exchange hashpartitioning(shardId#4883821, 30), ENSURE_REQUIREMENTS, [plan_id=2864545]"];
subgraph cluster3 {
isCluster="true";
id="cluster3";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n419 ms (0 ms, 1 ms, 58 ms (stage 1316857.0: task 2455681))";
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>0 ms (0 ms, 0 ms, 0 ms (stage 1316857.0: task 2455686))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 1316857.0: task 2455686))<br>number of output rows: 3<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[shardId#4883821], functions=[partial_max(version#4883823)])"];
}
5 [id="node5" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 10" tooltip="InMemoryTableScan [shardId#4883821, version#4883823]"];
6 [id="node6" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 10<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 10<br>local bytes read total (min, med, max (stageId: taskId))<br>3.0 KiB (610.0 B, 1221.0 B, 1221.0 B (stage 1316857.0: task 2455676))<br>merged fetch fallback count: 0<br>local blocks read: 5<br>remote merged chunks fetched: 0<br>remote blocks read: 5<br>data size total (min, med, max (stageId: taskId))<br>9.4 KiB (960.0 B, 960.0 B, 1920.0 B (stage 1316856.0: task 2455650))<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>4 ms (0 ms, 0 ms, 0 ms (stage 1316856.0: task 2455647))<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 1316857.0: task 2455675))<br>remote bytes read total (min, med, max (stageId: taskId))<br>3.0 KiB (610.0 B, 1222.0 B, 1222.0 B (stage 1316857.0: task 2455676))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>6 ms (0 ms, 1 ms, 5 ms (stage 1316857.0: task 2455675))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>6.0 KiB (610.0 B, 611.0 B, 1221.0 B (stage 1316856.0: task 2455650))" tooltip="Exchange hashpartitioning(worklistShardItemId#4883822L, 30), REPARTITION_BY_NUM, [plan_id=2864516]"];
subgraph cluster7 {
isCluster="true";
id="cluster7";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n24 ms (0 ms, 1 ms, 2 ms (stage 1316856.0: task 2455652))";
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>4 ms (0 ms, 0 ms, 1 ms (stage 1316856.0: task 2455649))<br>peak memory total (min, med, max (stageId: taskId))<br>25.5 MiB (256.0 KiB, 256.0 KiB, 2.3 MiB (stage 1316856.0: task 2455652))<br>number of output rows: 10<br>number of sort fallback tasks: 0<br>avg hash probes per key (min, med, max (stageId: taskId)):<br>(1, 1, 1 (stage 1316856.0: task 2455652))" tooltip="HashAggregate(keys=[demandChannel#4883825, shardId#4883821, kpis#4883827, version#4883823, qty#4883824, worklistShardItemId#4883822L, demandStream#4883826], functions=[])"];
}
9 [id="node9" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 10<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 10<br>local bytes read total (min, med, max (stageId: taskId))<br>5.8 KiB (591.0 B, 595.0 B, 1190.0 B (stage 1316856.0: task 2455650))<br>merged fetch fallback count: 0<br>local blocks read: 10<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size total (min, med, max (stageId: taskId))<br>9.4 KiB (960.0 B, 960.0 B, 1920.0 B (stage 1316855.0: task 2455638))<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>4 ms (0 ms, 0 ms, 0 ms (stage 1316855.0: task 2455637))<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 1316856.0: task 2455652))<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>5.8 KiB (591.0 B, 595.0 B, 1190.0 B (stage 1316855.0: task 2455638))" tooltip="Exchange hashpartitioning(demandChannel#4883825, shardId#4883821, kpis#4883827, version#4883823, qty#4883824, worklistShardItemId#4883822L, demandStream#4883826, 30), ENSURE_REQUIREMENTS, [plan_id=2864512]"];
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 1316855.0: task 2455638))<br>time in aggregation build total (min, med, max (stageId: taskId))<br>1.4 s (111 ms, 162 ms, 246 ms (stage 1316855.0: task 2455639))<br>peak memory total (min, med, max (stageId: taskId))<br>18.0 MiB (2.3 MiB, 2.3 MiB, 2.3 MiB (stage 1316855.0: task 2455638))<br>number of output rows: 10<br>number of sort fallback tasks: 0<br>avg hash probes per key (min, med, max (stageId: taskId)):<br>(1, 1, 1 (stage 1316855.0: task 2455638))" tooltip="HashAggregate(keys=[demandChannel#4883825, shardId#4883821, knownfloatingpointnormalized(transform(kpis#4883827, lambdafunction(knownfloatingpointnormalized(if (isnull(lambda arg#5528155)) null else named_struct(label, lambda arg#5528155.label, dateTime, lambda arg#5528155.dateTime, value, knownfloatingpointnormalized(normalizenanandzero(lambda arg#5528155.value)))), lambda arg#5528155, false))) AS kpis#4883827, version#4883823, knownfloatingpointnormalized(normalizenanandzero(qty#4883824)) AS qty#4883824, worklistShardItemId#4883822L, demandStream#4883826], functions=[])"];
subgraph cluster11 {
isCluster="true";
id="cluster11";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n1.4 s (111 ms, 162 ms, 246 ms (stage 1316855.0: task 2455639))";
tooltip="WholeStageCodegen (1)";
12 [id="node12" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 10" tooltip="Scan ExistingRDD[shardId#4883821,worklistShardItemId#4883822L,version#4883823,qty#4883824,demandChannel#4883825,demandStream#4883826,kpis#4883827]"];
}
2->1;
4->2;
5->4;
6->5;
8->6;
9->8;
10->9;
12->10;
}