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: 6 ms";
3 [labelType="html" label="<b>HashAggregate</b><br><br>spill size: 0.0 B<br>time in aggregation build: 0 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>13 ms (1 ms, 2 ms, 2 ms (stage 1298.0: task 1842))<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 1298.0: task 1844))<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 (747.0 B, 748.0 B, 748.0 B (stage 1298.0: task 1843))"];
subgraph cluster6 {
isCluster="true";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n153 ms (22 ms, 25 ms, 32 ms (stage 1298.0: task 1843))";
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>113 ms (18 ms, 19 ms, 20 ms (stage 1298.0: task 1842))<br>peak memory total (min, med, max (stageId: taskId))<br>1536.0 KiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 1298.0: task 1844))<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>35 ms (5 ms, 6 ms, 7 ms (stage 1298.0: task 1846))<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_BF892233_1D3A_40CD_8093_E122BDEF3A57#231514 ASC NULLS FIRST], output=[COL_C6345C9C_C840_416A_AC1B_6DE63849F21F#231639L,COL_BF892233_1D3A_40CD_8093_E122BDEF3A57#231514])
HashAggregate(keys=[COL_B3A5CF52_B4D0_4DF8_87DD_635BE715E1AE#231335], functions=[count(1)])
WholeStageCodegen (2)
AQEShuffleRead coalesced
Exchange hashpartitioning(COL_B3A5CF52_B4D0_4DF8_87DD_635BE715E1AE#231335, 10), ENSURE_REQUIREMENTS, [plan_id=21617]
HashAggregate(keys=[COL_B3A5CF52_B4D0_4DF8_87DD_635BE715E1AE#231335], functions=[partial_count(1)])
Project [COL_D457FBA8_785C_4634_BC49_922273B2520B#230883 AS COL_B3A5CF52_B4D0_4DF8_87DD_635BE715E1AE#231335]
ColumnarToRow
WholeStageCodegen (1)
FileScan parquet [COL_D457FBA8_785C_4634_BC49_922273B2520B#230883] Batched: true, DataFilters: [], Format: Parquet, Location: InMemoryFileIndex(1 paths)[file:/data/output/cache/parquet/datablock/PU_FICHIER_FICT_253787], PartitionFilters: [], PushedFilters: [], ReadSchema: struct<COL_D457FBA8_785C_4634_BC49_922273B2520B:string>