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#14529927.toString, Name#14529928.toString, Entity_Type#14529929.toString, Risk_Labels#14529930.toString, Notes#14529931.toString, Primary_City#14529932.toString, Primary_Country#14529933.toString, URL#14529934.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#14537579: org.apache.spark.sql.Row
InMemoryTableScan [Kharon_ID#14529927, Name#14529928, Entity_Type#14529929, Risk_Labels#14529930, Notes#14529931, Primary_City#14529932, Primary_Country#14529933, URL#14529934]
Scan JDBCRelation(dbo.ForcedLabor_Kharon) [numPartitions=1] [Kharon_ID#14529927,Name#14529928,Entity_Type#14529929,Risk_Labels#14529930,Notes#14529931,Primary_City#14529932,Primary_Country#14529933,URL#14529934] 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#14529927, Name#14529928, Entity_Type#14529929, Risk_Labels#14529930, Notes#14529931, Primary_City#14529932, Primary_Country#14529933, URL#14529934]
Arguments: [Kharon_ID#14529927, Name#14529928, Entity_Type#14529929, Risk_Labels#14529930, Notes#14529931, Primary_City#14529932, Primary_Country#14529933, URL#14529934]
(2) InMemoryRelation
Arguments: [Kharon_ID#14529927, Name#14529928, Entity_Type#14529929, Risk_Labels#14529930, Notes#14529931, Primary_City#14529932, Primary_Country#14529933, URL#14529934], CachedRDDBuilder(org.apache.spark.sql.execution.columnar.DefaultCachedBatchSerializer@730ae8bf,StorageLevel(disk, memory, deserialized, 1 replicas),*(1) Scan JDBCRelation(dbo.ForcedLabor_Kharon) [numPartitions=1] [Kharon_ID#14529927,Name#14529928,Entity_Type#14529929,Risk_Labels#14529930,Notes#14529931,Primary_City#14529932,Primary_Country#14529933,URL#14529934] 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#14529927, Name#14529928, Entity_Type#14529929, Risk_Labels#14529930, Notes#14529931, Primary_City#14529932, Primary_Country#14529933, URL#14529934]
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#14529927, Name#14529928, Entity_Type#14529929, Risk_Labels#14529930, Notes#14529931, Primary_City#14529932, Primary_Country#14529933, URL#14529934]
Arguments: 0
(5) DeserializeToObject
Input [8]: [Kharon_ID#14529927, Name#14529928, Entity_Type#14529929, Risk_Labels#14529930, Notes#14529931, Primary_City#14529932, Primary_Country#14529933, URL#14529934]
Arguments: createexternalrow(Kharon_ID#14529927.toString, Name#14529928.toString, Entity_Type#14529929.toString, Risk_Labels#14529930.toString, Notes#14529931.toString, Primary_City#14529932.toString, Primary_Country#14529933.toString, URL#14529934.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#14537579: org.apache.spark.sql.Row
(6) DeserializeToObject
Input [8]: [Kharon_ID#14529927, Name#14529928, Entity_Type#14529929, Risk_Labels#14529930, Notes#14529931, Primary_City#14529932, Primary_Country#14529933, URL#14529934]
Arguments: createexternalrow(Kharon_ID#14529927.toString, Name#14529928.toString, Entity_Type#14529929.toString, Risk_Labels#14529930.toString, Notes#14529931.toString, Primary_City#14529932.toString, Primary_Country#14529933.toString, URL#14529934.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#14537579: org.apache.spark.sql.Row
(7) AdaptiveSparkPlan
Output [1]: [obj#14537579]
Arguments: isFinalPlan=true