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 3347.0: task 26121))<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: 196.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>128.0 B (64.0 B, 64.0 B, 64.0 B (stage 3347.0: task 26121))<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>196.0 B (97.0 B, 99.0 B, 99.0 B (stage 3347.0: task 26121))"];
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))\n42 ms (21 ms, 21 ms, 21 ms (stage 3347.0: task 26121))";
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 3347.0: task 26121))<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__MODE_DE_TRANSPORT#455669), min(COL__MODE_DE_TRANSPORT#455669), max(COL__MODE_DE_TRANSPORT#455669)])
Exchange SinglePartition, ENSURE_REQUIREMENTS, [plan_id=109579]
SortAggregate(key=[], functions=[partial_count(1), partial_count(COL__MODE_DE_TRANSPORT#455669), partial_min(COL__MODE_DE_TRANSPORT#455669), partial_max(COL__MODE_DE_TRANSPORT#455669)])
Project [Mode+de+transport#455535 AS COL__MODE_DE_TRANSPORT#455669]
ColumnarToRow
WholeStageCodegen (1)
FileScan parquet [Mode+de+transport#455535] Batched: true, DataFilters: [], Format: Parquet, Location: InMemoryFileIndex(1 paths)[file:/data/input/depot/excel/cache/A66DACD4_1DD0_4911_8D5F_C28868EB12B..., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<Mode+de+transport:string>
== Physical Plan ==
AdaptiveSparkPlan (12)
+- == Final Plan ==
SortAggregate (7)
+- ShuffleQueryStage (6), Statistics(sizeInBytes=128.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]: [Mode+de+transport#455535]
Batched: true
Location: InMemoryFileIndex [file:/data/input/depot/excel/cache/A66DACD4_1DD0_4911_8D5F_C28868EB12BC_2d39697772a592ca7c5825321f52ae5d/Passages_urgences_Hexagone.xls_b5cf56a30efce2c88d81adbe37b36dcf]
ReadSchema: struct<Mode+de+transport:string>
(2) ColumnarToRow [codegen id : 1]
Input [1]: [Mode+de+transport#455535]
(3) Project [codegen id : 1]
Output [1]: [Mode+de+transport#455535 AS COL__MODE_DE_TRANSPORT#455669]
Input [1]: [Mode+de+transport#455535]
(4) SortAggregate
Input [1]: [COL__MODE_DE_TRANSPORT#455669]
Keys: []
Functions [4]: [partial_count(1), partial_count(COL__MODE_DE_TRANSPORT#455669), partial_min(COL__MODE_DE_TRANSPORT#455669), partial_max(COL__MODE_DE_TRANSPORT#455669)]
Aggregate Attributes [4]: [count#455703L, count#455704L, min#455705, max#455706]
Results [4]: [count#455707L, count#455708L, min#455709, max#455710]
(5) Exchange
Input [4]: [count#455707L, count#455708L, min#455709, max#455710]
Arguments: SinglePartition, ENSURE_REQUIREMENTS, [plan_id=109579]
(6) ShuffleQueryStage
Output [4]: [count#455707L, count#455708L, min#455709, max#455710]
Arguments: 0
(7) SortAggregate
Input [4]: [count#455707L, count#455708L, min#455709, max#455710]
Keys: []
Functions [4]: [count(1), count(COL__MODE_DE_TRANSPORT#455669), min(COL__MODE_DE_TRANSPORT#455669), max(COL__MODE_DE_TRANSPORT#455669)]
Aggregate Attributes [4]: [count(1)#455677L, count(COL__MODE_DE_TRANSPORT#455669)#455680L, min(COL__MODE_DE_TRANSPORT#455669)#455683, max(COL__MODE_DE_TRANSPORT#455669)#455685]
Results [4]: [count(1)#455677L AS COL__MODE_DE_TRANSPORT1#455679L, count(COL__MODE_DE_TRANSPORT#455669)#455680L AS COL__MODE_DE_TRANSPORT2#455682L, min(COL__MODE_DE_TRANSPORT#455669)#455683 AS COL__MODE_DE_TRANSPORT4#455684, max(COL__MODE_DE_TRANSPORT#455669)#455685 AS COL__MODE_DE_TRANSPORT5#455686]
(8) Project
Output [1]: [Mode+de+transport#455535 AS COL__MODE_DE_TRANSPORT#455669]
Input [1]: [Mode+de+transport#455535]
(9) SortAggregate
Input [1]: [COL__MODE_DE_TRANSPORT#455669]
Keys: []
Functions [4]: [partial_count(1), partial_count(COL__MODE_DE_TRANSPORT#455669), partial_min(COL__MODE_DE_TRANSPORT#455669), partial_max(COL__MODE_DE_TRANSPORT#455669)]
Aggregate Attributes [4]: [count#455703L, count#455704L, min#455705, max#455706]
Results [4]: [count#455707L, count#455708L, min#455709, max#455710]
(10) Exchange
Input [4]: [count#455707L, count#455708L, min#455709, max#455710]
Arguments: SinglePartition, ENSURE_REQUIREMENTS, [plan_id=109562]
(11) SortAggregate
Input [4]: [count#455707L, count#455708L, min#455709, max#455710]
Keys: []
Functions [4]: [count(1), count(COL__MODE_DE_TRANSPORT#455669), min(COL__MODE_DE_TRANSPORT#455669), max(COL__MODE_DE_TRANSPORT#455669)]
Aggregate Attributes [4]: [count(1)#455677L, count(COL__MODE_DE_TRANSPORT#455669)#455680L, min(COL__MODE_DE_TRANSPORT#455669)#455683, max(COL__MODE_DE_TRANSPORT#455669)#455685]
Results [4]: [count(1)#455677L AS COL__MODE_DE_TRANSPORT1#455679L, count(COL__MODE_DE_TRANSPORT#455669)#455680L AS COL__MODE_DE_TRANSPORT2#455682L, min(COL__MODE_DE_TRANSPORT#455669)#455683 AS COL__MODE_DE_TRANSPORT4#455684, max(COL__MODE_DE_TRANSPORT#455669)#455685 AS COL__MODE_DE_TRANSPORT5#455686]
(12) AdaptiveSparkPlan
Output [4]: [COL__MODE_DE_TRANSPORT1#455679L, COL__MODE_DE_TRANSPORT2#455682L, COL__MODE_DE_TRANSPORT4#455684, COL__MODE_DE_TRANSPORT5#455686]
Arguments: isFinalPlan=true