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#20599023.toString, Name#20599024.toString, Entity_Type#20599025.toString, Risk_Labels#20599026.toString, Notes#20599027.toString, Primary_City#20599028.toString, Primary_Country#20599029.toString, URL#20599030.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#20608434: org.apache.spark.sql.Row
InMemoryTableScan [Kharon_ID#20599023, Name#20599024, Entity_Type#20599025, Risk_Labels#20599026, Notes#20599027, Primary_City#20599028, Primary_Country#20599029, URL#20599030]
Scan JDBCRelation(dbo.ForcedLabor_Kharon) [numPartitions=1] [Kharon_ID#20599023,Name#20599024,Entity_Type#20599025,Risk_Labels#20599026,Notes#20599027,Primary_City#20599028,Primary_Country#20599029,URL#20599030] 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#20599023, Name#20599024, Entity_Type#20599025, Risk_Labels#20599026, Notes#20599027, Primary_City#20599028, Primary_Country#20599029, URL#20599030]
Arguments: [Kharon_ID#20599023, Name#20599024, Entity_Type#20599025, Risk_Labels#20599026, Notes#20599027, Primary_City#20599028, Primary_Country#20599029, URL#20599030]
(2) InMemoryRelation
Arguments: [Kharon_ID#20599023, Name#20599024, Entity_Type#20599025, Risk_Labels#20599026, Notes#20599027, Primary_City#20599028, Primary_Country#20599029, URL#20599030], CachedRDDBuilder(org.apache.spark.sql.execution.columnar.DefaultCachedBatchSerializer@14de14ab,StorageLevel(disk, memory, deserialized, 1 replicas),*(1) Scan JDBCRelation(dbo.ForcedLabor_Kharon) [numPartitions=1] [Kharon_ID#20599023,Name#20599024,Entity_Type#20599025,Risk_Labels#20599026,Notes#20599027,Primary_City#20599028,Primary_Country#20599029,URL#20599030] 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#20599023, Name#20599024, Entity_Type#20599025, Risk_Labels#20599026, Notes#20599027, Primary_City#20599028, Primary_Country#20599029, URL#20599030]
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#20599023, Name#20599024, Entity_Type#20599025, Risk_Labels#20599026, Notes#20599027, Primary_City#20599028, Primary_Country#20599029, URL#20599030]
Arguments: 0
(5) DeserializeToObject
Input [8]: [Kharon_ID#20599023, Name#20599024, Entity_Type#20599025, Risk_Labels#20599026, Notes#20599027, Primary_City#20599028, Primary_Country#20599029, URL#20599030]
Arguments: createexternalrow(Kharon_ID#20599023.toString, Name#20599024.toString, Entity_Type#20599025.toString, Risk_Labels#20599026.toString, Notes#20599027.toString, Primary_City#20599028.toString, Primary_Country#20599029.toString, URL#20599030.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#20608434: org.apache.spark.sql.Row
(6) DeserializeToObject
Input [8]: [Kharon_ID#20599023, Name#20599024, Entity_Type#20599025, Risk_Labels#20599026, Notes#20599027, Primary_City#20599028, Primary_Country#20599029, URL#20599030]
Arguments: createexternalrow(Kharon_ID#20599023.toString, Name#20599024.toString, Entity_Type#20599025.toString, Risk_Labels#20599026.toString, Notes#20599027.toString, Primary_City#20599028.toString, Primary_Country#20599029.toString, URL#20599030.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#20608434: org.apache.spark.sql.Row
(7) AdaptiveSparkPlan
Output [1]: [obj#20608434]
Arguments: isFinalPlan=true