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: 5,582"];
subgraph cluster3 {
isCluster="true";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
4 [labelType="html" label="<b>Scan JDBCRelation((SELECT * FROM dbo.fact_supplier_facility_map WHERE bigid BETWEEN 1 AND 5582) AS page) [numPartitions=1] </b><br><br>number of output rows: 0"];
}
1->0;
2->1;
4->2;
}
5
AdaptiveSparkPlan isFinalPlan=true
DeserializeToObject createexternalrow(BrandId#14523367.toString, supplier_id#14523368.toString, facility_id#14523369.toString, brandname#14523370.toString, supplier_name#14523371.toString, facility_name#14523372.toString, sup_type#14523373.toString, country#14523374.toString, city#14523375.toString, state#14523376.toString, zip#14523377.toString, staticinvoke(class java.lang.Short, ObjectType(class java.lang.Short), valueOf, employee_men#14523378, true, false, true), staticinvoke(class java.lang.Short, ObjectType(class java.lang.Short), valueOf, employee_women#14523379, true, false, true), staticinvoke(class java.lang.Short, ObjectType(class java.lang.Short), valueOf, employee_others#14523380, true, false, true), production_capacity#14523381.toString, supplier_uid#14523382.toString, facility_uid#14523383.toString, brand_supplier_level#14523384.toString, staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, filter_value#14523385, true, false, true), StructField(BrandId,StringType,true), StructField(supplier_id,StringType,true), StructField(facility_id,StringType,true), StructField(brandname,StringType,true), StructField(supplier_name,StringType,true), ... 14 more fields), obj#14524557: org.apache.spark.sql.Row
InMemoryTableScan [BrandId#14523367, supplier_id#14523368, facility_id#14523369, brandname#14523370, supplier_name#14523371, facility_name#14523372, sup_type#14523373, country#14523374, city#14523375, state#14523376, zip#14523377, employee_men#14523378, employee_women#14523379, employee_others#14523380, production_capacity#14523381, supplier_uid#14523382, facility_uid#14523383, brand_supplier_level#14523384, filter_value#14523385]
Scan JDBCRelation((SELECT * FROM dbo.fact_supplier_facility_map WHERE bigid BETWEEN 1 AND 5582) AS page) [numPartitions=1] [BrandId#14523367,supplier_id#14523368,facility_id#14523369,brandname#14523370,supplier_name#14523371,facility_name#14523372,sup_type#14523373,country#14523374,city#14523375,state#14523376,zip#14523377,employee_men#14523378,employee_women#14523379,employee_others#14523380,production_capacity#14523381,supplier_uid#14523382,facility_uid#14523383,brand_supplier_level#14523384,filter_value#14523385,bigid#14523386L] PushedFilters: [], ReadSchema: struct<BrandId:string,supplier_id:string,facility_id:string,brandname:string,supplier_name:string...
WholeStageCodegen (1)
== Physical Plan ==
AdaptiveSparkPlan (7)
+- == Final Plan ==
DeserializeToObject (5)
+- TableCacheQueryStage (4), Statistics(sizeInBytes=1663.7 KiB, rowCount=5.58E+3)
+- InMemoryTableScan (1)
+- InMemoryRelation (2)
+- * Scan JDBCRelation((SELECT * FROM dbo.fact_supplier_facility_map WHERE bigid BETWEEN 1 AND 5582) AS page) [numPartitions=1] (3)
+- == Initial Plan ==
DeserializeToObject (6)
+- InMemoryTableScan (1)
+- InMemoryRelation (2)
+- * Scan JDBCRelation((SELECT * FROM dbo.fact_supplier_facility_map WHERE bigid BETWEEN 1 AND 5582) AS page) [numPartitions=1] (3)
(1) InMemoryTableScan
Output [19]: [BrandId#14523367, supplier_id#14523368, facility_id#14523369, brandname#14523370, supplier_name#14523371, facility_name#14523372, sup_type#14523373, country#14523374, city#14523375, state#14523376, zip#14523377, employee_men#14523378, employee_women#14523379, employee_others#14523380, production_capacity#14523381, supplier_uid#14523382, facility_uid#14523383, brand_supplier_level#14523384, filter_value#14523385]
Arguments: [BrandId#14523367, supplier_id#14523368, facility_id#14523369, brandname#14523370, supplier_name#14523371, facility_name#14523372, sup_type#14523373, country#14523374, city#14523375, state#14523376, zip#14523377, employee_men#14523378, employee_women#14523379, employee_others#14523380, production_capacity#14523381, supplier_uid#14523382, facility_uid#14523383, brand_supplier_level#14523384, filter_value#14523385]
(2) InMemoryRelation
Arguments: [BrandId#14523367, supplier_id#14523368, facility_id#14523369, brandname#14523370, supplier_name#14523371, facility_name#14523372, sup_type#14523373, country#14523374, city#14523375, state#14523376, zip#14523377, employee_men#14523378, employee_women#14523379, employee_others#14523380, production_capacity#14523381, supplier_uid#14523382, facility_uid#14523383, brand_supplier_level#14523384, filter_value#14523385, bigid#14523386L], CachedRDDBuilder(org.apache.spark.sql.execution.columnar.DefaultCachedBatchSerializer@730ae8bf,StorageLevel(disk, memory, deserialized, 1 replicas),*(1) Scan JDBCRelation((SELECT * FROM dbo.fact_supplier_facility_map WHERE bigid BETWEEN 1 AND 5582) AS page) [numPartitions=1] [BrandId#14523367,supplier_id#14523368,facility_id#14523369,brandname#14523370,supplier_name#14523371,facility_name#14523372,sup_type#14523373,country#14523374,city#14523375,state#14523376,zip#14523377,employee_men#14523378,employee_women#14523379,employee_others#14523380,production_capacity#14523381,supplier_uid#14523382,facility_uid#14523383,brand_supplier_level#14523384,filter_value#14523385,bigid#14523386L] PushedFilters: [], ReadSchema: struct<BrandId:string,supplier_id:string,facility_id:string,brandname:string,supplier_name:string...
,None)
(3) Scan JDBCRelation((SELECT * FROM dbo.fact_supplier_facility_map WHERE bigid BETWEEN 1 AND 5582) AS page) [numPartitions=1] [codegen id : 1]
Output [20]: [BrandId#14523367, supplier_id#14523368, facility_id#14523369, brandname#14523370, supplier_name#14523371, facility_name#14523372, sup_type#14523373, country#14523374, city#14523375, state#14523376, zip#14523377, employee_men#14523378, employee_women#14523379, employee_others#14523380, production_capacity#14523381, supplier_uid#14523382, facility_uid#14523383, brand_supplier_level#14523384, filter_value#14523385, bigid#14523386L]
ReadSchema: struct<BrandId:string,supplier_id:string,facility_id:string,brandname:string,supplier_name:string,facility_name:string,sup_type:string,country:string,city:string,state:string,zip:string,employee_men:smallint,employee_women:smallint,employee_others:smallint,production_capacity:string,supplier_uid:string,facility_uid:string,brand_supplier_level:string,filter_value:int,bigid:bigint>
(4) TableCacheQueryStage
Output [19]: [BrandId#14523367, supplier_id#14523368, facility_id#14523369, brandname#14523370, supplier_name#14523371, facility_name#14523372, sup_type#14523373, country#14523374, city#14523375, state#14523376, zip#14523377, employee_men#14523378, employee_women#14523379, employee_others#14523380, production_capacity#14523381, supplier_uid#14523382, facility_uid#14523383, brand_supplier_level#14523384, filter_value#14523385]
Arguments: 0
(5) DeserializeToObject
Input [19]: [BrandId#14523367, supplier_id#14523368, facility_id#14523369, brandname#14523370, supplier_name#14523371, facility_name#14523372, sup_type#14523373, country#14523374, city#14523375, state#14523376, zip#14523377, employee_men#14523378, employee_women#14523379, employee_others#14523380, production_capacity#14523381, supplier_uid#14523382, facility_uid#14523383, brand_supplier_level#14523384, filter_value#14523385]
Arguments: createexternalrow(BrandId#14523367.toString, supplier_id#14523368.toString, facility_id#14523369.toString, brandname#14523370.toString, supplier_name#14523371.toString, facility_name#14523372.toString, sup_type#14523373.toString, country#14523374.toString, city#14523375.toString, state#14523376.toString, zip#14523377.toString, staticinvoke(class java.lang.Short, ObjectType(class java.lang.Short), valueOf, employee_men#14523378, true, false, true), staticinvoke(class java.lang.Short, ObjectType(class java.lang.Short), valueOf, employee_women#14523379, true, false, true), staticinvoke(class java.lang.Short, ObjectType(class java.lang.Short), valueOf, employee_others#14523380, true, false, true), production_capacity#14523381.toString, supplier_uid#14523382.toString, facility_uid#14523383.toString, brand_supplier_level#14523384.toString, staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, filter_value#14523385, true, false, true), StructField(BrandId,StringType,true), StructField(supplier_id,StringType,true), StructField(facility_id,StringType,true), StructField(brandname,StringType,true), StructField(supplier_name,StringType,true), ... 14 more fields), obj#14524557: org.apache.spark.sql.Row
(6) DeserializeToObject
Input [19]: [BrandId#14523367, supplier_id#14523368, facility_id#14523369, brandname#14523370, supplier_name#14523371, facility_name#14523372, sup_type#14523373, country#14523374, city#14523375, state#14523376, zip#14523377, employee_men#14523378, employee_women#14523379, employee_others#14523380, production_capacity#14523381, supplier_uid#14523382, facility_uid#14523383, brand_supplier_level#14523384, filter_value#14523385]
Arguments: createexternalrow(BrandId#14523367.toString, supplier_id#14523368.toString, facility_id#14523369.toString, brandname#14523370.toString, supplier_name#14523371.toString, facility_name#14523372.toString, sup_type#14523373.toString, country#14523374.toString, city#14523375.toString, state#14523376.toString, zip#14523377.toString, staticinvoke(class java.lang.Short, ObjectType(class java.lang.Short), valueOf, employee_men#14523378, true, false, true), staticinvoke(class java.lang.Short, ObjectType(class java.lang.Short), valueOf, employee_women#14523379, true, false, true), staticinvoke(class java.lang.Short, ObjectType(class java.lang.Short), valueOf, employee_others#14523380, true, false, true), production_capacity#14523381.toString, supplier_uid#14523382.toString, facility_uid#14523383.toString, brand_supplier_level#14523384.toString, staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, filter_value#14523385, true, false, true), StructField(BrandId,StringType,true), StructField(supplier_id,StringType,true), StructField(facility_id,StringType,true), StructField(brandname,StringType,true), StructField(supplier_name,StringType,true), ... 14 more fields), obj#14524557: org.apache.spark.sql.Row
(7) AdaptiveSparkPlan
Output [1]: [obj#14524557]
Arguments: isFinalPlan=true