digraph G {
0 [labelType="html" label="<br><b>AdaptiveSparkPlan</b><br><br>"];
1 [labelType="html" label="<b>SortAggregate</b><br><br>number of output rows: 1"];
2 [labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 2<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>0 ms (0 ms, 0 ms, 0 ms (stage 3267.0: task 26015))<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: 2<br>local bytes read: 172.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: 2<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size total (min, med, max (stageId: taskId))<br>112.0 B (56.0 B, 56.0 B, 56.0 B (stage 3267.0: task 26016))<br>local merged bytes read: 0.0 B<br>number of partitions: 1<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>172.0 B (86.0 B, 86.0 B, 86.0 B (stage 3267.0: task 26016))"];
3 [labelType="html" label="<b>SortAggregate</b><br><br>number of output rows: 2"];
subgraph cluster4 {
isCluster="true";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n36 ms (18 ms, 18 ms, 18 ms (stage 3267.0: task 26016))";
5 [labelType="html" label="<br><b>Project</b><br><br>"];
6 [labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 18,958<br>number of input batches: 6"];
}
7 [labelType="html" label="<b>Scan parquet </b><br><br>number of files read: 2<br>scan time total (min, med, max (stageId: taskId))<br>4 ms (2 ms, 2 ms, 2 ms (stage 3267.0: task 26016))<br>metadata time: 0 ms<br>size of files read: 213.4 KiB<br>number of output rows: 18,958"];
1->0;
2->1;
3->2;
5->3;
6->5;
7->6;
}
8
AdaptiveSparkPlan isFinalPlan=true
SortAggregate(key=[], functions=[count(1), count(COL__LMOTACC#450864), min(COL__LMOTACC#450864), max(COL__LMOTACC#450864)])
Exchange SinglePartition, ENSURE_REQUIREMENTS, [plan_id=107968]
SortAggregate(key=[], functions=[partial_count(1), partial_count(COL__LMOTACC#450864), partial_min(COL__LMOTACC#450864), partial_max(COL__LMOTACC#450864)])
Project [LMOTACC#450730 AS COL__LMOTACC#450864]
ColumnarToRow
WholeStageCodegen (1)
FileScan parquet [LMOTACC#450730] Batched: true, DataFilters: [], Format: Parquet, Location: InMemoryFileIndex(1 paths)[file:/data/input/depot/excel/cache/A66DACD4_1DD0_4911_8D5F_C28868EB12B..., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<LMOTACC:string>
== Physical Plan ==
AdaptiveSparkPlan (12)
+- == Final Plan ==
SortAggregate (7)
+- ShuffleQueryStage (6), Statistics(sizeInBytes=112.0 B, rowCount=2)
+- Exchange (5)
+- SortAggregate (4)
+- * Project (3)
+- * ColumnarToRow (2)
+- Scan parquet (1)
+- == Initial Plan ==
SortAggregate (11)
+- Exchange (10)
+- SortAggregate (9)
+- Project (8)
+- Scan parquet (1)
(1) Scan parquet
Output [1]: [LMOTACC#450730]
Batched: true
Location: InMemoryFileIndex [file:/data/input/depot/excel/cache/A66DACD4_1DD0_4911_8D5F_C28868EB12BC_2d39697772a592ca7c5825321f52ae5d/Passages_urgences_Hexagone.xls_b5cf56a30efce2c88d81adbe37b36dcf]
ReadSchema: struct<LMOTACC:string>
(2) ColumnarToRow [codegen id : 1]
Input [1]: [LMOTACC#450730]
(3) Project [codegen id : 1]
Output [1]: [LMOTACC#450730 AS COL__LMOTACC#450864]
Input [1]: [LMOTACC#450730]
(4) SortAggregate
Input [1]: [COL__LMOTACC#450864]
Keys: []
Functions [4]: [partial_count(1), partial_count(COL__LMOTACC#450864), partial_min(COL__LMOTACC#450864), partial_max(COL__LMOTACC#450864)]
Aggregate Attributes [4]: [count#450901L, count#450902L, min#450903, max#450904]
Results [4]: [count#450905L, count#450906L, min#450907, max#450908]
(5) Exchange
Input [4]: [count#450905L, count#450906L, min#450907, max#450908]
Arguments: SinglePartition, ENSURE_REQUIREMENTS, [plan_id=107968]
(6) ShuffleQueryStage
Output [4]: [count#450905L, count#450906L, min#450907, max#450908]
Arguments: 0
(7) SortAggregate
Input [4]: [count#450905L, count#450906L, min#450907, max#450908]
Keys: []
Functions [4]: [count(1), count(COL__LMOTACC#450864), min(COL__LMOTACC#450864), max(COL__LMOTACC#450864)]
Aggregate Attributes [4]: [count(1)#450875L, count(COL__LMOTACC#450864)#450878L, min(COL__LMOTACC#450864)#450881, max(COL__LMOTACC#450864)#450883]
Results [4]: [count(1)#450875L AS COL__LMOTACC1#450877L, count(COL__LMOTACC#450864)#450878L AS COL__LMOTACC2#450880L, min(COL__LMOTACC#450864)#450881 AS COL__LMOTACC4#450882, max(COL__LMOTACC#450864)#450883 AS COL__LMOTACC5#450884]
(8) Project
Output [1]: [LMOTACC#450730 AS COL__LMOTACC#450864]
Input [1]: [LMOTACC#450730]
(9) SortAggregate
Input [1]: [COL__LMOTACC#450864]
Keys: []
Functions [4]: [partial_count(1), partial_count(COL__LMOTACC#450864), partial_min(COL__LMOTACC#450864), partial_max(COL__LMOTACC#450864)]
Aggregate Attributes [4]: [count#450901L, count#450902L, min#450903, max#450904]
Results [4]: [count#450905L, count#450906L, min#450907, max#450908]
(10) Exchange
Input [4]: [count#450905L, count#450906L, min#450907, max#450908]
Arguments: SinglePartition, ENSURE_REQUIREMENTS, [plan_id=107951]
(11) SortAggregate
Input [4]: [count#450905L, count#450906L, min#450907, max#450908]
Keys: []
Functions [4]: [count(1), count(COL__LMOTACC#450864), min(COL__LMOTACC#450864), max(COL__LMOTACC#450864)]
Aggregate Attributes [4]: [count(1)#450875L, count(COL__LMOTACC#450864)#450878L, min(COL__LMOTACC#450864)#450881, max(COL__LMOTACC#450864)#450883]
Results [4]: [count(1)#450875L AS COL__LMOTACC1#450877L, count(COL__LMOTACC#450864)#450878L AS COL__LMOTACC2#450880L, min(COL__LMOTACC#450864)#450881 AS COL__LMOTACC4#450882, max(COL__LMOTACC#450864)#450883 AS COL__LMOTACC5#450884]
(12) AdaptiveSparkPlan
Output [4]: [COL__LMOTACC1#450877L, COL__LMOTACC2#450880L, COL__LMOTACC4#450882, COL__LMOTACC5#450884]
Arguments: isFinalPlan=true