digraph G {
0 [labelType="html" label="<br><b>AdaptiveSparkPlan</b><br><br>"];
1 [labelType="html" label="<br><b>DeserializeToObject</b><br><br>"];
2 [labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 51,785"];
subgraph cluster3 {
isCluster="true";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
4 [labelType="html" label="<b>Scan JDBCRelation(dbo.ForcedLabor_Kharon) [numPartitions=1] </b><br><br>number of output rows: 0"];
}
1->0;
2->1;
4->2;
}
5
AdaptiveSparkPlan isFinalPlan=true
DeserializeToObject createexternalrow(Kharon_ID#10615293.toString, Name#10615294.toString, Entity_Type#10615295.toString, Risk_Labels#10615296.toString, Notes#10615297.toString, Primary_City#10615298.toString, Primary_Country#10615299.toString, URL#10615300.toString, StructField(Kharon_ID,StringType,true), StructField(Name,StringType,true), StructField(Entity_Type,StringType,true), StructField(Risk_Labels,StringType,true), StructField(Notes,StringType,true), StructField(Primary_City,StringType,true), StructField(Primary_Country,StringType,true), StructField(URL,StringType,true)), obj#10619681: org.apache.spark.sql.Row
InMemoryTableScan [Kharon_ID#10615293, Name#10615294, Entity_Type#10615295, Risk_Labels#10615296, Notes#10615297, Primary_City#10615298, Primary_Country#10615299, URL#10615300]
Scan JDBCRelation(dbo.ForcedLabor_Kharon) [numPartitions=1] [Kharon_ID#10615293,Name#10615294,Entity_Type#10615295,Risk_Labels#10615296,Notes#10615297,Primary_City#10615298,Primary_Country#10615299,URL#10615300] PushedFilters: [], ReadSchema: struct<Kharon_ID:string,Name:string,Entity_Type:string,Risk_Labels:string,Notes:string,Primary_Ci...
WholeStageCodegen (1)
== Physical Plan ==
AdaptiveSparkPlan (7)
+- == Final Plan ==
DeserializeToObject (5)
+- TableCacheQueryStage (4), Statistics(sizeInBytes=21.8 MiB, rowCount=5.18E+4)
+- InMemoryTableScan (1)
+- InMemoryRelation (2)
+- * Scan JDBCRelation(dbo.ForcedLabor_Kharon) [numPartitions=1] (3)
+- == Initial Plan ==
DeserializeToObject (6)
+- InMemoryTableScan (1)
+- InMemoryRelation (2)
+- * Scan JDBCRelation(dbo.ForcedLabor_Kharon) [numPartitions=1] (3)
(1) InMemoryTableScan
Output [8]: [Kharon_ID#10615293, Name#10615294, Entity_Type#10615295, Risk_Labels#10615296, Notes#10615297, Primary_City#10615298, Primary_Country#10615299, URL#10615300]
Arguments: [Kharon_ID#10615293, Name#10615294, Entity_Type#10615295, Risk_Labels#10615296, Notes#10615297, Primary_City#10615298, Primary_Country#10615299, URL#10615300]
(2) InMemoryRelation
Arguments: [Kharon_ID#10615293, Name#10615294, Entity_Type#10615295, Risk_Labels#10615296, Notes#10615297, Primary_City#10615298, Primary_Country#10615299, URL#10615300], CachedRDDBuilder(org.apache.spark.sql.execution.columnar.DefaultCachedBatchSerializer@7795a5ad,StorageLevel(disk, memory, deserialized, 1 replicas),*(1) Scan JDBCRelation(dbo.ForcedLabor_Kharon) [numPartitions=1] [Kharon_ID#10615293,Name#10615294,Entity_Type#10615295,Risk_Labels#10615296,Notes#10615297,Primary_City#10615298,Primary_Country#10615299,URL#10615300] PushedFilters: [], ReadSchema: struct<Kharon_ID:string,Name:string,Entity_Type:string,Risk_Labels:string,Notes:string,Primary_Ci...
,None)
(3) Scan JDBCRelation(dbo.ForcedLabor_Kharon) [numPartitions=1] [codegen id : 1]
Output [8]: [Kharon_ID#10615293, Name#10615294, Entity_Type#10615295, Risk_Labels#10615296, Notes#10615297, Primary_City#10615298, Primary_Country#10615299, URL#10615300]
ReadSchema: struct<Kharon_ID:string,Name:string,Entity_Type:string,Risk_Labels:string,Notes:string,Primary_City:string,Primary_Country:string,URL:string>
(4) TableCacheQueryStage
Output [8]: [Kharon_ID#10615293, Name#10615294, Entity_Type#10615295, Risk_Labels#10615296, Notes#10615297, Primary_City#10615298, Primary_Country#10615299, URL#10615300]
Arguments: 0
(5) DeserializeToObject
Input [8]: [Kharon_ID#10615293, Name#10615294, Entity_Type#10615295, Risk_Labels#10615296, Notes#10615297, Primary_City#10615298, Primary_Country#10615299, URL#10615300]
Arguments: createexternalrow(Kharon_ID#10615293.toString, Name#10615294.toString, Entity_Type#10615295.toString, Risk_Labels#10615296.toString, Notes#10615297.toString, Primary_City#10615298.toString, Primary_Country#10615299.toString, URL#10615300.toString, StructField(Kharon_ID,StringType,true), StructField(Name,StringType,true), StructField(Entity_Type,StringType,true), StructField(Risk_Labels,StringType,true), StructField(Notes,StringType,true), StructField(Primary_City,StringType,true), StructField(Primary_Country,StringType,true), StructField(URL,StringType,true)), obj#10619681: org.apache.spark.sql.Row
(6) DeserializeToObject
Input [8]: [Kharon_ID#10615293, Name#10615294, Entity_Type#10615295, Risk_Labels#10615296, Notes#10615297, Primary_City#10615298, Primary_Country#10615299, URL#10615300]
Arguments: createexternalrow(Kharon_ID#10615293.toString, Name#10615294.toString, Entity_Type#10615295.toString, Risk_Labels#10615296.toString, Notes#10615297.toString, Primary_City#10615298.toString, Primary_Country#10615299.toString, URL#10615300.toString, StructField(Kharon_ID,StringType,true), StructField(Name,StringType,true), StructField(Entity_Type,StringType,true), StructField(Risk_Labels,StringType,true), StructField(Notes,StringType,true), StructField(Primary_City,StringType,true), StructField(Primary_Country,StringType,true), StructField(URL,StringType,true)), obj#10619681: org.apache.spark.sql.Row
(7) AdaptiveSparkPlan
Output [1]: [obj#10619681]
Arguments: isFinalPlan=true