digraph G {
0 [labelType="html" label="<br><b>AdaptiveSparkPlan</b><br><br>"];
1 [labelType="html" label="<b>Execute InsertIntoHadoopFsRelationCommand</b><br><br>task commit time: 1 ms<br>number of written files: 1<br>job commit time: 5 ms<br>number of output rows: 35,357<br>number of dynamic part: 0<br>written output: 20.9 MiB"];
2 [labelType="html" label="<br><b>WriteFiles</b><br><br>"];
3 [labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 35,357"];
subgraph cluster4 {
isCluster="true";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
5 [labelType="html" label="<br><b>Project</b><br><br>"];
6 [labelType="html" label="<b>Generate</b><br><br>number of output rows: 0"];
7 [labelType="html" label="<br><b>Project</b><br><br>"];
}
8 [labelType="html" label="<b>Scan json </b><br><br>number of output rows: 0"];
1->0;
2->1;
3->2;
5->3;
6->5;
7->6;
8->7;
}
9
AdaptiveSparkPlan isFinalPlan=true
Execute InsertIntoHadoopFsRelationCommand file:/data/data/subscriptions/NOMENCLATURES_A_425642/477e11fc-60b0-491c-b9af-ff04cc1a3fc5/2026-09-01_08-57-41-733_LOCK_7dfd913b-36f2-49bd-bd1d-0812d8adf92e, false, Parquet, [path=file:///data/data/subscriptions/NOMENCLATURES_A_425642/477e11fc-60b0-491c-b9af-ff04cc1a3fc5/2026-09-01_08-57-41-733_LOCK_7dfd913b-36f2-49bd-bd1d-0812d8adf92e], ErrorIfExists, [3CA8F2B5_7A47_4F4C_8FEC_E207BE4F5E8D, E22536DE_090D_4DC8_8C68_0115B901E4BE, 61B6FDFC_8690_42AE_9323_0BD93388D39D]
WriteFiles
InMemoryTableScan [3CA8F2B5_7A47_4F4C_8FEC_E207BE4F5E8D#339089, E22536DE_090D_4DC8_8C68_0115B901E4BE#339090, 61B6FDFC_8690_42AE_9323_0BD93388D39D#339091]
Project [343cd3c5-4ab7-4163-9ed2-9f8d88c9077f#339002.geometry AS 3CA8F2B5_7A47_4F4C_8FEC_E207BE4F5E8D#339089, 343cd3c5-4ab7-4163-9ed2-9f8d88c9077f#339002.properties.code AS E22536DE_090D_4DC8_8C68_0115B901E4BE#339090, 343cd3c5-4ab7-4163-9ed2-9f8d88c9077f#339002.properties.nom AS 61B6FDFC_8690_42AE_9323_0BD93388D39D#339091]
Generate explode(ffe737ef-26df-476f-a0ab-bf1ea7d7463c#338996), true, [343cd3c5-4ab7-4163-9ed2-9f8d88c9077f#339002]
Project [features#338987 AS ffe737ef-26df-476f-a0ab-bf1ea7d7463c#338996]
WholeStageCodegen (1)
FileScan json [features#338987] Batched: false, DataFilters: [], Format: JSON, Location: InMemoryFileIndex(1 paths)[file:/data/input/depot/json/execution/188025A0_DDA0_4EDF_AD73_BCF1A7CE..., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<features:array<struct<geometry:string,properties:struct<code:string,nom:string>,type:strin...
== Physical Plan ==
AdaptiveSparkPlan (12)
+- == Final Plan ==
Execute InsertIntoHadoopFsRelationCommand (9)
+- WriteFiles (8)
+- TableCacheQueryStage (7), Statistics(sizeInBytes=42.0 MiB, rowCount=3.54E+4)
+- InMemoryTableScan (1)
+- InMemoryRelation (2)
+- * Project (6)
+- * Generate (5)
+- * Project (4)
+- Scan json (3)
+- == Initial Plan ==
Execute InsertIntoHadoopFsRelationCommand (11)
+- WriteFiles (10)
+- InMemoryTableScan (1)
+- InMemoryRelation (2)
+- * Project (6)
+- * Generate (5)
+- * Project (4)
+- Scan json (3)
(1) InMemoryTableScan
Output [3]: [3CA8F2B5_7A47_4F4C_8FEC_E207BE4F5E8D#339089, E22536DE_090D_4DC8_8C68_0115B901E4BE#339090, 61B6FDFC_8690_42AE_9323_0BD93388D39D#339091]
Arguments: [3CA8F2B5_7A47_4F4C_8FEC_E207BE4F5E8D#339089, E22536DE_090D_4DC8_8C68_0115B901E4BE#339090, 61B6FDFC_8690_42AE_9323_0BD93388D39D#339091]
(2) InMemoryRelation
Arguments: [3CA8F2B5_7A47_4F4C_8FEC_E207BE4F5E8D#339089, E22536DE_090D_4DC8_8C68_0115B901E4BE#339090, 61B6FDFC_8690_42AE_9323_0BD93388D39D#339091], CachedRDDBuilder(org.apache.spark.sql.execution.columnar.DefaultCachedBatchSerializer@68f4cb77,StorageLevel(disk, memory, deserialized, 1 replicas),*(1) Project [343cd3c5-4ab7-4163-9ed2-9f8d88c9077f#339002.geometry AS 3CA8F2B5_7A47_4F4C_8FEC_E207BE4F5E8D#339089, 343cd3c5-4ab7-4163-9ed2-9f8d88c9077f#339002.properties.code AS E22536DE_090D_4DC8_8C68_0115B901E4BE#339090, 343cd3c5-4ab7-4163-9ed2-9f8d88c9077f#339002.properties.nom AS 61B6FDFC_8690_42AE_9323_0BD93388D39D#339091]
+- *(1) Generate explode(ffe737ef-26df-476f-a0ab-bf1ea7d7463c#338996), true, [343cd3c5-4ab7-4163-9ed2-9f8d88c9077f#339002]
+- *(1) Project [features#338987 AS ffe737ef-26df-476f-a0ab-bf1ea7d7463c#338996]
+- FileScan json [features#338987] Batched: false, DataFilters: [], Format: JSON, Location: InMemoryFileIndex(1 paths)[file:/data/input/depot/json/execution/188025A0_DDA0_4EDF_AD73_BCF1A7CE..., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<features:array<struct<geometry:string,properties:struct<code:string,nom:string>,type:strin...
,None)
(3) Scan json
Output [1]: [features#338987]
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>>>
(4) Project [codegen id : 1]
Output [1]: [features#338987 AS ffe737ef-26df-476f-a0ab-bf1ea7d7463c#338996]
Input [1]: [features#338987]
(5) Generate [codegen id : 1]
Input [1]: [ffe737ef-26df-476f-a0ab-bf1ea7d7463c#338996]
Arguments: explode(ffe737ef-26df-476f-a0ab-bf1ea7d7463c#338996), true, [343cd3c5-4ab7-4163-9ed2-9f8d88c9077f#339002]
(6) Project [codegen id : 1]
Output [3]: [343cd3c5-4ab7-4163-9ed2-9f8d88c9077f#339002.geometry AS 3CA8F2B5_7A47_4F4C_8FEC_E207BE4F5E8D#339089, 343cd3c5-4ab7-4163-9ed2-9f8d88c9077f#339002.properties.code AS E22536DE_090D_4DC8_8C68_0115B901E4BE#339090, 343cd3c5-4ab7-4163-9ed2-9f8d88c9077f#339002.properties.nom AS 61B6FDFC_8690_42AE_9323_0BD93388D39D#339091]
Input [1]: [343cd3c5-4ab7-4163-9ed2-9f8d88c9077f#339002]
(7) TableCacheQueryStage
Output [3]: [3CA8F2B5_7A47_4F4C_8FEC_E207BE4F5E8D#339089, E22536DE_090D_4DC8_8C68_0115B901E4BE#339090, 61B6FDFC_8690_42AE_9323_0BD93388D39D#339091]
Arguments: 0
(8) WriteFiles
Input [3]: [3CA8F2B5_7A47_4F4C_8FEC_E207BE4F5E8D#339089, E22536DE_090D_4DC8_8C68_0115B901E4BE#339090, 61B6FDFC_8690_42AE_9323_0BD93388D39D#339091]
(9) Execute InsertIntoHadoopFsRelationCommand
Input: []
Arguments: file:/data/data/subscriptions/NOMENCLATURES_A_425642/477e11fc-60b0-491c-b9af-ff04cc1a3fc5/2026-09-01_08-57-41-733_LOCK_7dfd913b-36f2-49bd-bd1d-0812d8adf92e, false, Parquet, [path=file:///data/data/subscriptions/NOMENCLATURES_A_425642/477e11fc-60b0-491c-b9af-ff04cc1a3fc5/2026-09-01_08-57-41-733_LOCK_7dfd913b-36f2-49bd-bd1d-0812d8adf92e], ErrorIfExists, [3CA8F2B5_7A47_4F4C_8FEC_E207BE4F5E8D, E22536DE_090D_4DC8_8C68_0115B901E4BE, 61B6FDFC_8690_42AE_9323_0BD93388D39D]
(10) WriteFiles
Input [3]: [3CA8F2B5_7A47_4F4C_8FEC_E207BE4F5E8D#339089, E22536DE_090D_4DC8_8C68_0115B901E4BE#339090, 61B6FDFC_8690_42AE_9323_0BD93388D39D#339091]
(11) Execute InsertIntoHadoopFsRelationCommand
Input: []
Arguments: file:/data/data/subscriptions/NOMENCLATURES_A_425642/477e11fc-60b0-491c-b9af-ff04cc1a3fc5/2026-09-01_08-57-41-733_LOCK_7dfd913b-36f2-49bd-bd1d-0812d8adf92e, false, Parquet, [path=file:///data/data/subscriptions/NOMENCLATURES_A_425642/477e11fc-60b0-491c-b9af-ff04cc1a3fc5/2026-09-01_08-57-41-733_LOCK_7dfd913b-36f2-49bd-bd1d-0812d8adf92e], ErrorIfExists, [3CA8F2B5_7A47_4F4C_8FEC_E207BE4F5E8D, E22536DE_090D_4DC8_8C68_0115B901E4BE, 61B6FDFC_8690_42AE_9323_0BD93388D39D]
(12) AdaptiveSparkPlan
Output: []
Arguments: isFinalPlan=true