== 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#330714]
Batched: false
Location: InMemoryFileIndex [file:/data/input/depot/json/execution/A646ABC8_639B_48DC_9D76_B4DC2A8D8DB5/current/ContourCommunes50.csv]
ReadSchema: struct<features:array<struct<geometry:struct<coordinates:array<array<array<string>>>,type:string>,properties:struct<code:string,commune:string,departement:string,epci:string,nom:string,plm:boolean,region:string>,type:string>>>
(2) Project [codegen id : 1]
Output [1]: [features#330714.type AS _extract_type#330975]
Input [1]: [features#330714]
(3) Generate [codegen id : 1]
Input [1]: [_extract_type#330975]
Arguments: explode(_extract_type#330975), true, [94f287a7-c57b-4c18-87d6-29f085af0a6f#330729]
(4) Project [codegen id : 1]
Output: []
Input [1]: [94f287a7-c57b-4c18-87d6-29f085af0a6f#330729]
(5) HashAggregate [codegen id : 1]
Input: []
Keys: []
Functions [1]: [partial_count(1)]
Aggregate Attributes [1]: [count#330976L]
Results [1]: [count#330977L]
(6) Exchange
Input [1]: [count#330977L]
Arguments: SinglePartition, ENSURE_REQUIREMENTS, [plan_id=102304]
(7) ShuffleQueryStage
Output [1]: [count#330977L]
Arguments: 0
(8) HashAggregate [codegen id : 2]
Input [1]: [count#330977L]
Keys: []
Functions [1]: [count(1)]
Aggregate Attributes [1]: [count(1)#330971L]
Results [1]: [count(1)#330971L AS count#330972L]
(9) Project
Output [1]: [features#330714.type AS _extract_type#330975]
Input [1]: [features#330714]
(10) Generate
Input [1]: [_extract_type#330975]
Arguments: explode(_extract_type#330975), true, [94f287a7-c57b-4c18-87d6-29f085af0a6f#330729]
(11) Project
Output: []
Input [1]: [94f287a7-c57b-4c18-87d6-29f085af0a6f#330729]
(12) HashAggregate
Input: []
Keys: []
Functions [1]: [partial_count(1)]
Aggregate Attributes [1]: [count#330976L]
Results [1]: [count#330977L]
(13) Exchange
Input [1]: [count#330977L]
Arguments: SinglePartition, ENSURE_REQUIREMENTS, [plan_id=102287]
(14) HashAggregate
Input [1]: [count#330977L]
Keys: []
Functions [1]: [count(1)]
Aggregate Attributes [1]: [count(1)#330971L]
Results [1]: [count(1)#330971L AS count#330972L]
(15) AdaptiveSparkPlan
Output [1]: [count#330972L]
Arguments: isFinalPlan=true