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: 6 ms<br>number of output rows: 35,228<br>number of dynamic part: 0<br>written output: 20.6 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,228"];
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/2299e338-2f4a-4913-b61b-e988ad6c0999/2026-09-01_08-56-35-536_LOCK_d4e59ea8-67d3-4c56-9e4f-59f32cc4339c, false, Parquet, [path=file:///data/data/subscriptions/NOMENCLATURES_A_425642/2299e338-2f4a-4913-b61b-e988ad6c0999/2026-09-01_08-56-35-536_LOCK_d4e59ea8-67d3-4c56-9e4f-59f32cc4339c], ErrorIfExists, [00233D4B_5734_4E45_957F_89AC647543A8, 10AC31B7_ADCF_4C2E_B9D8_93C0B5029E02, F9E50BF6_D9BE_49CE_9AC6_FEC5D876F0B4]
WriteFiles
InMemoryTableScan [00233D4B_5734_4E45_957F_89AC647543A8#338819, 10AC31B7_ADCF_4C2E_B9D8_93C0B5029E02#338820, F9E50BF6_D9BE_49CE_9AC6_FEC5D876F0B4#338821]
Project [2f05086f-9a9f-45b1-9a95-9e384ed8c3dc#338732.geometry AS 00233D4B_5734_4E45_957F_89AC647543A8#338819, 2f05086f-9a9f-45b1-9a95-9e384ed8c3dc#338732.properties.code AS 10AC31B7_ADCF_4C2E_B9D8_93C0B5029E02#338820, 2f05086f-9a9f-45b1-9a95-9e384ed8c3dc#338732.properties.nom AS F9E50BF6_D9BE_49CE_9AC6_FEC5D876F0B4#338821]
Generate explode(4e70a2fb-cdda-4937-88dc-a7bc7a4b31d2#338726), true, [2f05086f-9a9f-45b1-9a95-9e384ed8c3dc#338732]
Project [features#338717 AS 4e70a2fb-cdda-4937-88dc-a7bc7a4b31d2#338726]
WholeStageCodegen (1)
FileScan json [features#338717] Batched: false, DataFilters: [], Format: JSON, Location: InMemoryFileIndex(1 paths)[file:/data/input/depot/json/execution/208D3967_49FC_4FE0_8FCB_B1414FC7..., 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=41.4 MiB, rowCount=3.52E+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]: [00233D4B_5734_4E45_957F_89AC647543A8#338819, 10AC31B7_ADCF_4C2E_B9D8_93C0B5029E02#338820, F9E50BF6_D9BE_49CE_9AC6_FEC5D876F0B4#338821]
Arguments: [00233D4B_5734_4E45_957F_89AC647543A8#338819, 10AC31B7_ADCF_4C2E_B9D8_93C0B5029E02#338820, F9E50BF6_D9BE_49CE_9AC6_FEC5D876F0B4#338821]
(2) InMemoryRelation
Arguments: [00233D4B_5734_4E45_957F_89AC647543A8#338819, 10AC31B7_ADCF_4C2E_B9D8_93C0B5029E02#338820, F9E50BF6_D9BE_49CE_9AC6_FEC5D876F0B4#338821], CachedRDDBuilder(org.apache.spark.sql.execution.columnar.DefaultCachedBatchSerializer@68f4cb77,StorageLevel(disk, memory, deserialized, 1 replicas),*(1) Project [2f05086f-9a9f-45b1-9a95-9e384ed8c3dc#338732.geometry AS 00233D4B_5734_4E45_957F_89AC647543A8#338819, 2f05086f-9a9f-45b1-9a95-9e384ed8c3dc#338732.properties.code AS 10AC31B7_ADCF_4C2E_B9D8_93C0B5029E02#338820, 2f05086f-9a9f-45b1-9a95-9e384ed8c3dc#338732.properties.nom AS F9E50BF6_D9BE_49CE_9AC6_FEC5D876F0B4#338821]
+- *(1) Generate explode(4e70a2fb-cdda-4937-88dc-a7bc7a4b31d2#338726), true, [2f05086f-9a9f-45b1-9a95-9e384ed8c3dc#338732]
+- *(1) Project [features#338717 AS 4e70a2fb-cdda-4937-88dc-a7bc7a4b31d2#338726]
+- FileScan json [features#338717] Batched: false, DataFilters: [], Format: JSON, Location: InMemoryFileIndex(1 paths)[file:/data/input/depot/json/execution/208D3967_49FC_4FE0_8FCB_B1414FC7..., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<features:array<struct<geometry:string,properties:struct<code:string,nom:string>,type:strin...
,None)
(3) Scan json
Output [1]: [features#338717]
Batched: false
Location: InMemoryFileIndex [file:/data/input/depot/json/execution/208D3967_49FC_4FE0_8FCB_B1414FC7E2FE/current/communes.geojson]
ReadSchema: struct<features:array<struct<geometry:string,properties:struct<code:string,nom:string>,type:string>>>
(4) Project [codegen id : 1]
Output [1]: [features#338717 AS 4e70a2fb-cdda-4937-88dc-a7bc7a4b31d2#338726]
Input [1]: [features#338717]
(5) Generate [codegen id : 1]
Input [1]: [4e70a2fb-cdda-4937-88dc-a7bc7a4b31d2#338726]
Arguments: explode(4e70a2fb-cdda-4937-88dc-a7bc7a4b31d2#338726), true, [2f05086f-9a9f-45b1-9a95-9e384ed8c3dc#338732]
(6) Project [codegen id : 1]
Output [3]: [2f05086f-9a9f-45b1-9a95-9e384ed8c3dc#338732.geometry AS 00233D4B_5734_4E45_957F_89AC647543A8#338819, 2f05086f-9a9f-45b1-9a95-9e384ed8c3dc#338732.properties.code AS 10AC31B7_ADCF_4C2E_B9D8_93C0B5029E02#338820, 2f05086f-9a9f-45b1-9a95-9e384ed8c3dc#338732.properties.nom AS F9E50BF6_D9BE_49CE_9AC6_FEC5D876F0B4#338821]
Input [1]: [2f05086f-9a9f-45b1-9a95-9e384ed8c3dc#338732]
(7) TableCacheQueryStage
Output [3]: [00233D4B_5734_4E45_957F_89AC647543A8#338819, 10AC31B7_ADCF_4C2E_B9D8_93C0B5029E02#338820, F9E50BF6_D9BE_49CE_9AC6_FEC5D876F0B4#338821]
Arguments: 0
(8) WriteFiles
Input [3]: [00233D4B_5734_4E45_957F_89AC647543A8#338819, 10AC31B7_ADCF_4C2E_B9D8_93C0B5029E02#338820, F9E50BF6_D9BE_49CE_9AC6_FEC5D876F0B4#338821]
(9) Execute InsertIntoHadoopFsRelationCommand
Input: []
Arguments: file:/data/data/subscriptions/NOMENCLATURES_A_425642/2299e338-2f4a-4913-b61b-e988ad6c0999/2026-09-01_08-56-35-536_LOCK_d4e59ea8-67d3-4c56-9e4f-59f32cc4339c, false, Parquet, [path=file:///data/data/subscriptions/NOMENCLATURES_A_425642/2299e338-2f4a-4913-b61b-e988ad6c0999/2026-09-01_08-56-35-536_LOCK_d4e59ea8-67d3-4c56-9e4f-59f32cc4339c], ErrorIfExists, [00233D4B_5734_4E45_957F_89AC647543A8, 10AC31B7_ADCF_4C2E_B9D8_93C0B5029E02, F9E50BF6_D9BE_49CE_9AC6_FEC5D876F0B4]
(10) WriteFiles
Input [3]: [00233D4B_5734_4E45_957F_89AC647543A8#338819, 10AC31B7_ADCF_4C2E_B9D8_93C0B5029E02#338820, F9E50BF6_D9BE_49CE_9AC6_FEC5D876F0B4#338821]
(11) Execute InsertIntoHadoopFsRelationCommand
Input: []
Arguments: file:/data/data/subscriptions/NOMENCLATURES_A_425642/2299e338-2f4a-4913-b61b-e988ad6c0999/2026-09-01_08-56-35-536_LOCK_d4e59ea8-67d3-4c56-9e4f-59f32cc4339c, false, Parquet, [path=file:///data/data/subscriptions/NOMENCLATURES_A_425642/2299e338-2f4a-4913-b61b-e988ad6c0999/2026-09-01_08-56-35-536_LOCK_d4e59ea8-67d3-4c56-9e4f-59f32cc4339c], ErrorIfExists, [00233D4B_5734_4E45_957F_89AC647543A8, 10AC31B7_ADCF_4C2E_B9D8_93C0B5029E02, F9E50BF6_D9BE_49CE_9AC6_FEC5D876F0B4]
(12) AdaptiveSparkPlan
Output: []
Arguments: isFinalPlan=true