== Physical Plan ==
AdaptiveSparkPlan (15)
+- == Final Plan ==
* HashAggregate (8)
+- ShuffleQueryStage (7), Statistics(sizeInBytes=16.0 B, rowCount=1)
+- Exchange (6)
+- * HashAggregate (5)
+- * Project (4)
+- * Generate (3)
+- * Project (2)
+- Scan json (1)
+- == Initial Plan ==
HashAggregate (14)
+- Exchange (13)
+- HashAggregate (12)
+- Project (11)
+- Generate (10)
+- Project (9)
+- Scan json (1)
(1) Scan json
Output [1]: [features#334039]
Batched: false
Location: InMemoryFileIndex [file:/data/input/depot/json/execution/188025A0_DDA0_4EDF_AD73_BCF1A7CECE59/current/communes-avec-outre-mer.geojson]
ReadSchema: struct<features:array<struct<geometry:string,properties:struct<code:string,nom:string>,type:string>>>
(2) Project [codegen id : 1]
Output [1]: [features#334039.geometry AS _extract_geometry#334145]
Input [1]: [features#334039]
(3) Generate [codegen id : 1]
Input [1]: [_extract_geometry#334145]
Arguments: explode(_extract_geometry#334145), true, [1e7aaa74-f2dd-420c-9560-f27c8d21ddf6#334054]
(4) Project [codegen id : 1]
Output: []
Input [1]: [1e7aaa74-f2dd-420c-9560-f27c8d21ddf6#334054]
(5) HashAggregate [codegen id : 1]
Input: []
Keys: []
Functions [1]: [partial_count(1)]
Aggregate Attributes [1]: [count#334146L]
Results [1]: [count#334147L]
(6) Exchange
Input [1]: [count#334147L]
Arguments: SinglePartition, ENSURE_REQUIREMENTS, [plan_id=102742]
(7) ShuffleQueryStage
Output [1]: [count#334147L]
Arguments: 0
(8) HashAggregate [codegen id : 2]
Input [1]: [count#334147L]
Keys: []
Functions [1]: [count(1)]
Aggregate Attributes [1]: [count(1)#334141L]
Results [1]: [count(1)#334141L AS count#334142L]
(9) Project
Output [1]: [features#334039.geometry AS _extract_geometry#334145]
Input [1]: [features#334039]
(10) Generate
Input [1]: [_extract_geometry#334145]
Arguments: explode(_extract_geometry#334145), true, [1e7aaa74-f2dd-420c-9560-f27c8d21ddf6#334054]
(11) Project
Output: []
Input [1]: [1e7aaa74-f2dd-420c-9560-f27c8d21ddf6#334054]
(12) HashAggregate
Input: []
Keys: []
Functions [1]: [partial_count(1)]
Aggregate Attributes [1]: [count#334146L]
Results [1]: [count#334147L]
(13) Exchange
Input [1]: [count#334147L]
Arguments: SinglePartition, ENSURE_REQUIREMENTS, [plan_id=102725]
(14) HashAggregate
Input [1]: [count#334147L]
Keys: []
Functions [1]: [count(1)]
Aggregate Attributes [1]: [count(1)#334141L]
Results [1]: [count(1)#334141L AS count#334142L]
(15) AdaptiveSparkPlan
Output [1]: [count#334142L]
Arguments: isFinalPlan=true