== 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#331517]
Batched: false
Location: InMemoryFileIndex [file:/data/input/depot/json/execution/0B11148E_00BE_4484_B27D_E8083071FB90/current/regions.geojson]
ReadSchema: struct<features:array<struct<geometry:struct<coordinates:array<array<array<string>>>,type:string>,properties:struct<code:string,nom:string>,type:string>>>
(2) Project [codegen id : 1]
Output [1]: [features#331517.type AS _extract_type#331623]
Input [1]: [features#331517]
(3) Generate [codegen id : 1]
Input [1]: [_extract_type#331623]
Arguments: explode(_extract_type#331623), true, [7c00cab0-17c4-455c-af8f-23beda73bbff#331532]
(4) Project [codegen id : 1]
Output: []
Input [1]: [7c00cab0-17c4-455c-af8f-23beda73bbff#331532]
(5) HashAggregate [codegen id : 1]
Input: []
Keys: []
Functions [1]: [partial_count(1)]
Aggregate Attributes [1]: [count#331624L]
Results [1]: [count#331625L]
(6) Exchange
Input [1]: [count#331625L]
Arguments: SinglePartition, ENSURE_REQUIREMENTS, [plan_id=102444]
(7) ShuffleQueryStage
Output [1]: [count#331625L]
Arguments: 0
(8) HashAggregate [codegen id : 2]
Input [1]: [count#331625L]
Keys: []
Functions [1]: [count(1)]
Aggregate Attributes [1]: [count(1)#331619L]
Results [1]: [count(1)#331619L AS count#331620L]
(9) Project
Output [1]: [features#331517.type AS _extract_type#331623]
Input [1]: [features#331517]
(10) Generate
Input [1]: [_extract_type#331623]
Arguments: explode(_extract_type#331623), true, [7c00cab0-17c4-455c-af8f-23beda73bbff#331532]
(11) Project
Output: []
Input [1]: [7c00cab0-17c4-455c-af8f-23beda73bbff#331532]
(12) HashAggregate
Input: []
Keys: []
Functions [1]: [partial_count(1)]
Aggregate Attributes [1]: [count#331624L]
Results [1]: [count#331625L]
(13) Exchange
Input [1]: [count#331625L]
Arguments: SinglePartition, ENSURE_REQUIREMENTS, [plan_id=102427]
(14) HashAggregate
Input [1]: [count#331625L]
Keys: []
Functions [1]: [count(1)]
Aggregate Attributes [1]: [count(1)#331619L]
Results [1]: [count(1)#331619L AS count#331620L]
(15) AdaptiveSparkPlan
Output [1]: [count#331620L]
Arguments: isFinalPlan=true