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: 0 ms<br>peak memory: 16.3 MiB<br>number of output rows: 11<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: 3.1 KiB<br>number of coalesced partitions: 1"];
5 [labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 65<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>14 ms (1 ms, 1 ms, 4 ms (stage 1273.0: task 1784))<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: 65<br>local bytes read: 3.0 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>2032.0 B (312.0 B, 344.0 B, 344.0 B (stage 1273.0: task 1789))<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>3.0 KiB (501.0 B, 515.0 B, 516.0 B (stage 1273.0: task 1789))"];
subgraph cluster6 {
isCluster="true";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n890 ms (103 ms, 163 ms, 187 ms (stage 1273.0: task 1787))";
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>641 ms (68 ms, 124 ms, 137 ms (stage 1273.0: task 1786))<br>peak memory total (min, med, max (stageId: taskId))<br>97.5 MiB (16.3 MiB, 16.3 MiB, 16.3 MiB (stage 1273.0: task 1788))<br>number of output rows: 65<br>number of sort fallback tasks: 0<br>avg hash probes per key (min, med, max (stageId: taskId)):<br>(1, 1, 1 (stage 1273.0: task 1788))"];
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>67 ms (7 ms, 12 ms, 16 ms (stage 1273.0: task 1786))<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_A2498CA2_02D7_45CA_92FB_6FA5F2B172B8#226872 ASC NULLS FIRST], output=[COL_A2498CA2_02D7_45CA_92FB_6FA5F2B172B8#226872,COL_F61F4E21_B93E_43C3_B11B_35D8B50311BE#226929L])
HashAggregate(keys=[COL_CE38A7DF_D29F_4837_9BE8_70A627714EE7#226458], functions=[count(1)])
WholeStageCodegen (2)
AQEShuffleRead coalesced
Exchange hashpartitioning(COL_CE38A7DF_D29F_4837_9BE8_70A627714EE7#226458, 10), ENSURE_REQUIREMENTS, [plan_id=21149]
HashAggregate(keys=[COL_CE38A7DF_D29F_4837_9BE8_70A627714EE7#226458], functions=[partial_count(1)])
Project [COL_1CDBBE79_6835_49F7_A919_ACB52F378C55#226055 AS COL_CE38A7DF_D29F_4837_9BE8_70A627714EE7#226458]
ColumnarToRow
WholeStageCodegen (1)
FileScan parquet [COL_1CDBBE79_6835_49F7_A919_ACB52F378C55#226055] Batched: true, DataFilters: [], Format: Parquet, Location: InMemoryFileIndex(1 paths)[file:/data/output/cache/parquet/datablock/PU_FICHIER_FICT_253787], PartitionFilters: [], PushedFilters: [], ReadSchema: struct<COL_1CDBBE79_6835_49F7_A919_ACB52F378C55:string>