digraph G {
subgraph cluster0 {
isCluster="true";
id="cluster0";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n10 ms (0 ms, 0 ms, 5 ms (stage 332812.0: task 934105))";
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, 2 ms (stage 332812.0: task 934168))<br>peak memory total (min, med, max (stageId: taskId))<br>9.5 MiB (256.0 KiB, 256.0 KiB, 2.3 MiB (stage 332812.0: task 934168))<br>number of output rows: 1<br>number of sort fallback tasks: 0<br>avg hash probes per key: 1" tooltip="HashAggregate(keys=[shardId#3572037], functions=[max(version#3572039)])"];
}
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.6 KiB<br>merged fetch fallback count: 0<br>local blocks read: 28<br>remote merged chunks fetched: 0<br>remote blocks read: 2<br>data size total (min, med, max (stageId: taskId))<br>1200.0 B (40.0 B, 40.0 B, 40.0 B (stage 332811.0: task 934058))<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 332811.0: task 934085))<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: 3 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 332811.0: task 934058))" tooltip="Exchange hashpartitioning(shardId#3572037, 30), ENSURE_REQUIREMENTS, [plan_id=1022955]"];
subgraph cluster3 {
isCluster="true";
id="cluster3";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n777 ms (10 ms, 11 ms, 199 ms (stage 332811.0: task 934092))";
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>359 ms (9 ms, 9 ms, 32 ms (stage 332811.0: task 934092))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 332811.0: task 934058))<br>number of output rows: 30<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[shardId#3572037], functions=[partial_max(version#3572039)])"];
}
5 [id="node5" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 475,632" tooltip="InMemoryTableScan [shardId#3572037, version#3572039]"];
6 [id="node6" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 475,632<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 475,632<br>local bytes read total (min, med, max (stageId: taskId))<br>7.9 MiB (178.4 KiB, 277.0 KiB, 284.8 KiB (stage 332811.0: task 934076))<br>merged fetch fallback count: 0<br>local blocks read: 440<br>remote merged chunks fetched: 0<br>remote blocks read: 460<br>data size total (min, med, max (stageId: taskId))<br>305.7 MiB (10.1 MiB, 10.2 MiB, 10.4 MiB (stage 332810.0: task 934019))<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, 4 ms (stage 332810.0: task 934014))<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>162 ms (0 ms, 0 ms, 162 ms (stage 332811.0: task 934058))<br>remote bytes read total (min, med, max (stageId: taskId))<br>8.2 MiB (264.7 KiB, 275.5 KiB, 370.9 KiB (stage 332811.0: task 934092))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>661 ms (4 ms, 5 ms, 200 ms (stage 332811.0: task 934092))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>16.2 MiB (541.9 KiB, 551.3 KiB, 562.7 KiB (stage 332810.0: task 934027))" tooltip="Exchange hashpartitioning(worklistShardItemId#3572038L, 30), REPARTITION_BY_NUM, [plan_id=1022926]"];
subgraph cluster7 {
isCluster="true";
id="cluster7";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n2.8 s (32 ms, 67 ms, 227 ms (stage 332810.0: task 934024))";
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.1 s (19 ms, 42 ms, 54 ms (stage 332810.0: task 934019))<br>peak memory total (min, med, max (stageId: taskId))<br>375.0 MiB (12.5 MiB, 12.5 MiB, 12.5 MiB (stage 332810.0: task 934017))<br>number of output rows: 475,632<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 332810.0: task 934017))" tooltip="HashAggregate(keys=[demandChannel#3572041, shardId#3572037, kpis#3572043, version#3572039, qty#3572040, worklistShardItemId#3572038L, demandStream#3572042], functions=[])"];
}
9 [id="node9" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 475,632<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 475,632<br>local bytes read total (min, med, max (stageId: taskId))<br>5.3 MiB (159.0 KiB, 193.5 KiB, 201.8 KiB (stage 332810.0: task 934036))<br>merged fetch fallback count: 0<br>local blocks read: 305<br>remote merged chunks fetched: 0<br>remote blocks read: 595<br>data size total (min, med, max (stageId: taskId))<br>305.7 MiB (9.9 MiB, 10.2 MiB, 10.5 MiB (stage 332809.0: task 933832))<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>80 ms (2 ms, 2 ms, 3 ms (stage 332809.0: task 933918))<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 332810.0: task 934017))<br>remote bytes read total (min, med, max (stageId: taskId))<br>10.4 MiB (332.5 KiB, 357.2 KiB, 383.2 KiB (stage 332810.0: task 934048))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>351 ms (4 ms, 13 ms, 22 ms (stage 332810.0: task 934047))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>15.8 MiB (523.1 KiB, 538.0 KiB, 554.4 KiB (stage 332809.0: task 933832))" tooltip="Exchange hashpartitioning(demandChannel#3572041, shardId#3572037, kpis#3572043, version#3572039, qty#3572040, worklistShardItemId#3572038L, demandStream#3572042, 30), ENSURE_REQUIREMENTS, [plan_id=1022922]"];
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 332809.0: task 933832))<br>time in aggregation build total (min, med, max (stageId: taskId))<br>6.3 s (160 ms, 198 ms, 307 ms (stage 332809.0: task 933833))<br>peak memory total (min, med, max (stageId: taskId))<br>375.0 MiB (12.5 MiB, 12.5 MiB, 12.5 MiB (stage 332809.0: task 933832))<br>number of output rows: 475,632<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 332809.0: task 933832))" tooltip="HashAggregate(keys=[demandChannel#3572041, shardId#3572037, knownfloatingpointnormalized(transform(kpis#3572043, lambdafunction(knownfloatingpointnormalized(if (isnull(lambda arg#3575089)) null else named_struct(label, lambda arg#3575089.label, dateTime, lambda arg#3575089.dateTime, value, knownfloatingpointnormalized(normalizenanandzero(lambda arg#3575089.value)))), lambda arg#3575089, false))) AS kpis#3572043, version#3572039, knownfloatingpointnormalized(normalizenanandzero(qty#3572040)) AS qty#3572040, worklistShardItemId#3572038L, demandStream#3572042], functions=[])"];
subgraph cluster11 {
isCluster="true";
id="cluster11";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n6.3 s (160 ms, 198 ms, 307 ms (stage 332809.0: task 933833))";
tooltip="WholeStageCodegen (1)";
12 [id="node12" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 475,632" tooltip="Scan ExistingRDD[shardId#3572037,worklistShardItemId#3572038L,version#3572039,qty#3572040,demandChannel#3572041,demandStream#3572042,kpis#3572043]"];
}
2->1;
4->2;
5->4;
6->5;
8->6;
9->8;
10->9;
12->10;
}