digraph G {
0 [labelType="html" label="<br><b>AdaptiveSparkPlan</b><br><br>"];
1 [labelType="html" label="<br><b>TakeOrderedAndProject</b><br><br>"];
subgraph cluster2 {
isCluster="true";
label="WholeStageCodegen (2)\n \nduration: 8 ms";
3 [labelType="html" label="<b>HashAggregate</b><br><br>spill size: 0.0 B<br>time in aggregation build: 1 ms<br>peak memory: 16.3 MiB<br>number of output rows: 7<br>number of sort fallback tasks: 0<br>avg hash probes per key: 1"];
}
4 [labelType="html" label="<b>AQEShuffleRead</b><br><br>number of partitions: 1<br>partition data size: 2.7 KiB<br>number of coalesced partitions: 1"];
5 [labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 39<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>16 ms (1 ms, 1 ms, 8 ms (stage 1274.0: task 1793))<br>remote merged bytes read: 0.0 B<br>local merged blocks fetched: 0<br>corrupt merged block chunks: 0<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 39<br>local bytes read: 2.7 KiB<br>fetch wait time: 0 ms<br>remote bytes read: 0.0 B<br>merged fetch fallback count: 0<br>local blocks read: 6<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size total (min, med, max (stageId: taskId))<br>1200.0 B (184.0 B, 216.0 B, 216.0 B (stage 1274.0: task 1794))<br>local merged bytes read: 0.0 B<br>number of partitions: 10<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.7 KiB (418.0 B, 489.0 B, 490.0 B (stage 1274.0: task 1794))"];
subgraph cluster6 {
isCluster="true";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n969 ms (135 ms, 168 ms, 177 ms (stage 1274.0: task 1793))";
7 [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>690 ms (87 ms, 119 ms, 136 ms (stage 1274.0: task 1793))<br>peak memory total (min, med, max (stageId: taskId))<br>97.5 MiB (16.3 MiB, 16.3 MiB, 16.3 MiB (stage 1274.0: task 1794))<br>number of output rows: 39<br>number of sort fallback tasks: 0<br>avg hash probes per key (min, med, max (stageId: taskId)):<br>(1, 1, 1 (stage 1274.0: task 1794))"];
8 [labelType="html" label="<br><b>Project</b><br><br>"];
9 [labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 81,008<br>number of input batches: 25"];
}
10 [labelType="html" label="<b>Scan parquet </b><br><br>number of files read: 12<br>scan time total (min, med, max (stageId: taskId))<br>88 ms (6 ms, 17 ms, 21 ms (stage 1274.0: task 1791))<br>metadata time: 0 ms<br>size of files read: 5.2 MiB<br>number of output rows: 81,008"];
1->0;
3->1;
4->3;
5->4;
7->5;
8->7;
9->8;
10->9;
}
11
AdaptiveSparkPlan isFinalPlan=true
TakeOrderedAndProject(limit=500000, orderBy=[COL_8DAE19AB_0904_4A68_95A6_410742CD8DA7#225978 ASC NULLS FIRST], output=[COL_8DAE19AB_0904_4A68_95A6_410742CD8DA7#225978,COL_4F47AF12_BA5E_4DB1_ABD9_7E4535F8F778#226035L])
HashAggregate(keys=[COL_E4AA963F_A605_47BD_8A40_1C829CAC15F7#225826], functions=[count(1)])
WholeStageCodegen (2)
AQEShuffleRead coalesced
Exchange hashpartitioning(COL_E4AA963F_A605_47BD_8A40_1C829CAC15F7#225826, 10), ENSURE_REQUIREMENTS, [plan_id=21092]
HashAggregate(keys=[COL_E4AA963F_A605_47BD_8A40_1C829CAC15F7#225826], functions=[partial_count(1)])
Project [COL_B42FF024_5975_4B8D_AE6C_366548FA935F#225442 AS COL_E4AA963F_A605_47BD_8A40_1C829CAC15F7#225826]
ColumnarToRow
WholeStageCodegen (1)
FileScan parquet [COL_B42FF024_5975_4B8D_AE6C_366548FA935F#225442] Batched: true, DataFilters: [], Format: Parquet, Location: InMemoryFileIndex(1 paths)[file:/data/output/cache/parquet/datablock/PU_FICHIER_FICT_253787], PartitionFilters: [], PushedFilters: [], ReadSchema: struct<COL_B42FF024_5975_4B8D_AE6C_366548FA935F:string>