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: 96<br>number of dynamic part: 0<br>written output: 1870.2 KiB"];
2 [labelType="html" label="<br><b>WriteFiles</b><br><br>"];
3 [labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 96"];
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/cb4d79a7-cc94-4e02-991f-7c94381f095d/2026-09-01_08-52-37-386_LOCK_9ae70142-fde8-4345-8dbb-9741cf89852c, false, Parquet, [path=file:///data/data/subscriptions/NOMENCLATURES_A_425642/cb4d79a7-cc94-4e02-991f-7c94381f095d/2026-09-01_08-52-37-386_LOCK_9ae70142-fde8-4345-8dbb-9741cf89852c], ErrorIfExists, [FD101D31_C657_439C_A284_085511FA0D94, 5C943F9D_D5C2_45DE_993E_23A1210DE0D0, 2F836F90_DCC5_4A8D_B273_DFFD62D2CC41]
WriteFiles
InMemoryTableScan [FD101D31_C657_439C_A284_085511FA0D94#338279, 5C943F9D_D5C2_45DE_993E_23A1210DE0D0#338280, 2F836F90_DCC5_4A8D_B273_DFFD62D2CC41#338281]
Project [dd46a5ad-faf5-4ebc-9892-f47eb5a7d1f1#338192.geometry AS FD101D31_C657_439C_A284_085511FA0D94#338279, dd46a5ad-faf5-4ebc-9892-f47eb5a7d1f1#338192.properties.code AS 5C943F9D_D5C2_45DE_993E_23A1210DE0D0#338280, dd46a5ad-faf5-4ebc-9892-f47eb5a7d1f1#338192.properties.nom AS 2F836F90_DCC5_4A8D_B273_DFFD62D2CC41#338281]
Generate explode(711dd5e6-2106-47d9-a5b5-8fbe472034f9#338186), true, [dd46a5ad-faf5-4ebc-9892-f47eb5a7d1f1#338192]
Project [features#338177 AS 711dd5e6-2106-47d9-a5b5-8fbe472034f9#338186]
WholeStageCodegen (1)
FileScan json [features#338177] Batched: false, DataFilters: [], Format: JSON, Location: InMemoryFileIndex(1 paths)[file:/data/input/depot/json/execution/0A476A12_2BFF_4FD8_AC75_C83E2134..., 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=3.3 MiB, rowCount=96)
+- 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]: [FD101D31_C657_439C_A284_085511FA0D94#338279, 5C943F9D_D5C2_45DE_993E_23A1210DE0D0#338280, 2F836F90_DCC5_4A8D_B273_DFFD62D2CC41#338281]
Arguments: [FD101D31_C657_439C_A284_085511FA0D94#338279, 5C943F9D_D5C2_45DE_993E_23A1210DE0D0#338280, 2F836F90_DCC5_4A8D_B273_DFFD62D2CC41#338281]
(2) InMemoryRelation
Arguments: [FD101D31_C657_439C_A284_085511FA0D94#338279, 5C943F9D_D5C2_45DE_993E_23A1210DE0D0#338280, 2F836F90_DCC5_4A8D_B273_DFFD62D2CC41#338281], CachedRDDBuilder(org.apache.spark.sql.execution.columnar.DefaultCachedBatchSerializer@68f4cb77,StorageLevel(disk, memory, deserialized, 1 replicas),*(1) Project [dd46a5ad-faf5-4ebc-9892-f47eb5a7d1f1#338192.geometry AS FD101D31_C657_439C_A284_085511FA0D94#338279, dd46a5ad-faf5-4ebc-9892-f47eb5a7d1f1#338192.properties.code AS 5C943F9D_D5C2_45DE_993E_23A1210DE0D0#338280, dd46a5ad-faf5-4ebc-9892-f47eb5a7d1f1#338192.properties.nom AS 2F836F90_DCC5_4A8D_B273_DFFD62D2CC41#338281]
+- *(1) Generate explode(711dd5e6-2106-47d9-a5b5-8fbe472034f9#338186), true, [dd46a5ad-faf5-4ebc-9892-f47eb5a7d1f1#338192]
+- *(1) Project [features#338177 AS 711dd5e6-2106-47d9-a5b5-8fbe472034f9#338186]
+- FileScan json [features#338177] Batched: false, DataFilters: [], Format: JSON, Location: InMemoryFileIndex(1 paths)[file:/data/input/depot/json/execution/0A476A12_2BFF_4FD8_AC75_C83E2134..., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<features:array<struct<geometry:string,properties:struct<code:string,nom:string>,type:strin...
,None)
(3) Scan json
Output [1]: [features#338177]
Batched: false
Location: InMemoryFileIndex [file:/data/input/depot/json/execution/0A476A12_2BFF_4FD8_AC75_C83E21346C24/current/departements.geojson]
ReadSchema: struct<features:array<struct<geometry:string,properties:struct<code:string,nom:string>,type:string>>>
(4) Project [codegen id : 1]
Output [1]: [features#338177 AS 711dd5e6-2106-47d9-a5b5-8fbe472034f9#338186]
Input [1]: [features#338177]
(5) Generate [codegen id : 1]
Input [1]: [711dd5e6-2106-47d9-a5b5-8fbe472034f9#338186]
Arguments: explode(711dd5e6-2106-47d9-a5b5-8fbe472034f9#338186), true, [dd46a5ad-faf5-4ebc-9892-f47eb5a7d1f1#338192]
(6) Project [codegen id : 1]
Output [3]: [dd46a5ad-faf5-4ebc-9892-f47eb5a7d1f1#338192.geometry AS FD101D31_C657_439C_A284_085511FA0D94#338279, dd46a5ad-faf5-4ebc-9892-f47eb5a7d1f1#338192.properties.code AS 5C943F9D_D5C2_45DE_993E_23A1210DE0D0#338280, dd46a5ad-faf5-4ebc-9892-f47eb5a7d1f1#338192.properties.nom AS 2F836F90_DCC5_4A8D_B273_DFFD62D2CC41#338281]
Input [1]: [dd46a5ad-faf5-4ebc-9892-f47eb5a7d1f1#338192]
(7) TableCacheQueryStage
Output [3]: [FD101D31_C657_439C_A284_085511FA0D94#338279, 5C943F9D_D5C2_45DE_993E_23A1210DE0D0#338280, 2F836F90_DCC5_4A8D_B273_DFFD62D2CC41#338281]
Arguments: 0
(8) WriteFiles
Input [3]: [FD101D31_C657_439C_A284_085511FA0D94#338279, 5C943F9D_D5C2_45DE_993E_23A1210DE0D0#338280, 2F836F90_DCC5_4A8D_B273_DFFD62D2CC41#338281]
(9) Execute InsertIntoHadoopFsRelationCommand
Input: []
Arguments: file:/data/data/subscriptions/NOMENCLATURES_A_425642/cb4d79a7-cc94-4e02-991f-7c94381f095d/2026-09-01_08-52-37-386_LOCK_9ae70142-fde8-4345-8dbb-9741cf89852c, false, Parquet, [path=file:///data/data/subscriptions/NOMENCLATURES_A_425642/cb4d79a7-cc94-4e02-991f-7c94381f095d/2026-09-01_08-52-37-386_LOCK_9ae70142-fde8-4345-8dbb-9741cf89852c], ErrorIfExists, [FD101D31_C657_439C_A284_085511FA0D94, 5C943F9D_D5C2_45DE_993E_23A1210DE0D0, 2F836F90_DCC5_4A8D_B273_DFFD62D2CC41]
(10) WriteFiles
Input [3]: [FD101D31_C657_439C_A284_085511FA0D94#338279, 5C943F9D_D5C2_45DE_993E_23A1210DE0D0#338280, 2F836F90_DCC5_4A8D_B273_DFFD62D2CC41#338281]
(11) Execute InsertIntoHadoopFsRelationCommand
Input: []
Arguments: file:/data/data/subscriptions/NOMENCLATURES_A_425642/cb4d79a7-cc94-4e02-991f-7c94381f095d/2026-09-01_08-52-37-386_LOCK_9ae70142-fde8-4345-8dbb-9741cf89852c, false, Parquet, [path=file:///data/data/subscriptions/NOMENCLATURES_A_425642/cb4d79a7-cc94-4e02-991f-7c94381f095d/2026-09-01_08-52-37-386_LOCK_9ae70142-fde8-4345-8dbb-9741cf89852c], ErrorIfExists, [FD101D31_C657_439C_A284_085511FA0D94, 5C943F9D_D5C2_45DE_993E_23A1210DE0D0, 2F836F90_DCC5_4A8D_B273_DFFD62D2CC41]
(12) AdaptiveSparkPlan
Output: []
Arguments: isFinalPlan=true