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: 10 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: 12<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: 4.4 KiB<br>number of coalesced partitions: 1"];
5 [labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 72<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>30 ms (1 ms, 3 ms, 16 ms (stage 1275.0: task 1813))<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: 72<br>local bytes read: 4.4 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>2.3 KiB (384.0 B, 384.0 B, 384.0 B (stage 1275.0: task 1796))<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>4.4 KiB (748.0 B, 748.0 B, 750.0 B (stage 1275.0: task 1796))"];
subgraph cluster6 {
isCluster="true";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n288 ms (16 ms, 51 ms, 73 ms (stage 1275.0: task 1796))";
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>255 ms (12 ms, 47 ms, 68 ms (stage 1275.0: task 1796))<br>peak memory total (min, med, max (stageId: taskId))<br>1536.0 KiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 1275.0: task 1796))<br>number of output rows: 72<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0"];
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>172 ms (9 ms, 31 ms, 46 ms (stage 1275.0: task 1812))<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_FFC5F016_DA40_4904_B645_BD663719DC10#229338 ASC NULLS FIRST], output=[COL_FFC5F016_DA40_4904_B645_BD663719DC10#229338,COL_C6345C9C_C840_416A_AC1B_6DE63849F21F#229401L])
HashAggregate(keys=[COL_DA17B226_1D69_43C8_B3E4_2478AD972C68#228560], functions=[count(1)])
WholeStageCodegen (2)
AQEShuffleRead coalesced
Exchange hashpartitioning(COL_DA17B226_1D69_43C8_B3E4_2478AD972C68#228560, 10), ENSURE_REQUIREMENTS, [plan_id=21248]
HashAggregate(keys=[COL_DA17B226_1D69_43C8_B3E4_2478AD972C68#228560], functions=[partial_count(1)])
Project [COL_56A61029_5265_4137_8B7F_1616E4F0D3E7#227127 AS COL_DA17B226_1D69_43C8_B3E4_2478AD972C68#228560]
ColumnarToRow
WholeStageCodegen (1)
FileScan parquet [COL_56A61029_5265_4137_8B7F_1616E4F0D3E7#227127] Batched: true, DataFilters: [], Format: Parquet, Location: InMemoryFileIndex(1 paths)[file:/data/output/cache/parquet/datablock/PU_FICHIER_FICT_253787], PartitionFilters: [], PushedFilters: [], ReadSchema: struct<COL_56A61029_5265_4137_8B7F_1616E4F0D3E7:string>