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: 2<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: 896.0 B<br>number of coalesced partitions: 1"];
5 [labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 12<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>14 ms (0 ms, 0 ms, 9 ms (stage 1276.0: task 1811))<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: 12<br>local bytes read: 872.0 B<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>384.0 B (64.0 B, 64.0 B, 64.0 B (stage 1276.0: task 1797))<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>872.0 B (144.0 B, 144.0 B, 148.0 B (stage 1276.0: task 1809))"];
subgraph cluster6 {
isCluster="true";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n184 ms (12 ms, 26 ms, 58 ms (stage 1276.0: task 1811))";
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>145 ms (8 ms, 21 ms, 47 ms (stage 1276.0: task 1797))<br>peak memory total (min, med, max (stageId: taskId))<br>1536.0 KiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 1276.0: task 1797))<br>number of output rows: 12<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>85 ms (5 ms, 14 ms, 31 ms (stage 1276.0: task 1811))<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_28FEFBE1_B851_461D_95DC_FCFC56493F3E#229580 ASC NULLS FIRST], output=[COL_28FEFBE1_B851_461D_95DC_FCFC56493F3E#229580,COL_57407149_8013_4452_BA50_75D3E5B694A7#229703L])
HashAggregate(keys=[COL_81D6F22B_A342_49CD_B143_EC9DE58CBAE2#228777], functions=[count(1)])
WholeStageCodegen (2)
AQEShuffleRead coalesced
Exchange hashpartitioning(COL_81D6F22B_A342_49CD_B143_EC9DE58CBAE2#228777, 10), ENSURE_REQUIREMENTS, [plan_id=21325]
HashAggregate(keys=[COL_81D6F22B_A342_49CD_B143_EC9DE58CBAE2#228777], functions=[partial_count(1)])
Project [COL_20AD4F6D_147A_4072_A6A0_C62D0125E2C7#227263 AS COL_81D6F22B_A342_49CD_B143_EC9DE58CBAE2#228777]
ColumnarToRow
WholeStageCodegen (1)
FileScan parquet [COL_20AD4F6D_147A_4072_A6A0_C62D0125E2C7#227263] Batched: true, DataFilters: [], Format: Parquet, Location: InMemoryFileIndex(1 paths)[file:/data/output/cache/parquet/datablock/PU_FICHIER_FICT_253787], PartitionFilters: [], PushedFilters: [], ReadSchema: struct<COL_20AD4F6D_147A_4072_A6A0_C62D0125E2C7:string>