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,557"];
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 5557) 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#10608426.toString, supplier_id#10608427.toString, facility_id#10608428.toString, brandname#10608429.toString, supplier_name#10608430.toString, facility_name#10608431.toString, sup_type#10608432.toString, country#10608433.toString, city#10608434.toString, state#10608435.toString, zip#10608436.toString, staticinvoke(class java.lang.Short, ObjectType(class java.lang.Short), valueOf, employee_men#10608437, true, false, true), staticinvoke(class java.lang.Short, ObjectType(class java.lang.Short), valueOf, employee_women#10608438, true, false, true), staticinvoke(class java.lang.Short, ObjectType(class java.lang.Short), valueOf, employee_others#10608439, true, false, true), production_capacity#10608440.toString, supplier_uid#10608441.toString, facility_uid#10608442.toString, brand_supplier_level#10608443.toString, staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, filter_value#10608444, 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#10609980: org.apache.spark.sql.Row
InMemoryTableScan [BrandId#10608426, supplier_id#10608427, facility_id#10608428, brandname#10608429, supplier_name#10608430, facility_name#10608431, sup_type#10608432, country#10608433, city#10608434, state#10608435, zip#10608436, employee_men#10608437, employee_women#10608438, employee_others#10608439, production_capacity#10608440, supplier_uid#10608441, facility_uid#10608442, brand_supplier_level#10608443, filter_value#10608444]
Scan JDBCRelation((SELECT * FROM dbo.fact_supplier_facility_map WHERE bigid BETWEEN 1 AND 5557) AS page) [numPartitions=1] [BrandId#10608426,supplier_id#10608427,facility_id#10608428,brandname#10608429,supplier_name#10608430,facility_name#10608431,sup_type#10608432,country#10608433,city#10608434,state#10608435,zip#10608436,employee_men#10608437,employee_women#10608438,employee_others#10608439,production_capacity#10608440,supplier_uid#10608441,facility_uid#10608442,brand_supplier_level#10608443,filter_value#10608444,bigid#10608445L] 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=1655.9 KiB, rowCount=5.56E+3)
+- InMemoryTableScan (1)
+- InMemoryRelation (2)
+- * Scan JDBCRelation((SELECT * FROM dbo.fact_supplier_facility_map WHERE bigid BETWEEN 1 AND 5557) 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 5557) AS page) [numPartitions=1] (3)
(1) InMemoryTableScan
Output [19]: [BrandId#10608426, supplier_id#10608427, facility_id#10608428, brandname#10608429, supplier_name#10608430, facility_name#10608431, sup_type#10608432, country#10608433, city#10608434, state#10608435, zip#10608436, employee_men#10608437, employee_women#10608438, employee_others#10608439, production_capacity#10608440, supplier_uid#10608441, facility_uid#10608442, brand_supplier_level#10608443, filter_value#10608444]
Arguments: [BrandId#10608426, supplier_id#10608427, facility_id#10608428, brandname#10608429, supplier_name#10608430, facility_name#10608431, sup_type#10608432, country#10608433, city#10608434, state#10608435, zip#10608436, employee_men#10608437, employee_women#10608438, employee_others#10608439, production_capacity#10608440, supplier_uid#10608441, facility_uid#10608442, brand_supplier_level#10608443, filter_value#10608444]
(2) InMemoryRelation
Arguments: [BrandId#10608426, supplier_id#10608427, facility_id#10608428, brandname#10608429, supplier_name#10608430, facility_name#10608431, sup_type#10608432, country#10608433, city#10608434, state#10608435, zip#10608436, employee_men#10608437, employee_women#10608438, employee_others#10608439, production_capacity#10608440, supplier_uid#10608441, facility_uid#10608442, brand_supplier_level#10608443, filter_value#10608444, bigid#10608445L], CachedRDDBuilder(org.apache.spark.sql.execution.columnar.DefaultCachedBatchSerializer@7795a5ad,StorageLevel(disk, memory, deserialized, 1 replicas),*(1) Scan JDBCRelation((SELECT * FROM dbo.fact_supplier_facility_map WHERE bigid BETWEEN 1 AND 5557) AS page) [numPartitions=1] [BrandId#10608426,supplier_id#10608427,facility_id#10608428,brandname#10608429,supplier_name#10608430,facility_name#10608431,sup_type#10608432,country#10608433,city#10608434,state#10608435,zip#10608436,employee_men#10608437,employee_women#10608438,employee_others#10608439,production_capacity#10608440,supplier_uid#10608441,facility_uid#10608442,brand_supplier_level#10608443,filter_value#10608444,bigid#10608445L] 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 5557) AS page) [numPartitions=1] [codegen id : 1]
Output [20]: [BrandId#10608426, supplier_id#10608427, facility_id#10608428, brandname#10608429, supplier_name#10608430, facility_name#10608431, sup_type#10608432, country#10608433, city#10608434, state#10608435, zip#10608436, employee_men#10608437, employee_women#10608438, employee_others#10608439, production_capacity#10608440, supplier_uid#10608441, facility_uid#10608442, brand_supplier_level#10608443, filter_value#10608444, bigid#10608445L]
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#10608426, supplier_id#10608427, facility_id#10608428, brandname#10608429, supplier_name#10608430, facility_name#10608431, sup_type#10608432, country#10608433, city#10608434, state#10608435, zip#10608436, employee_men#10608437, employee_women#10608438, employee_others#10608439, production_capacity#10608440, supplier_uid#10608441, facility_uid#10608442, brand_supplier_level#10608443, filter_value#10608444]
Arguments: 0
(5) DeserializeToObject
Input [19]: [BrandId#10608426, supplier_id#10608427, facility_id#10608428, brandname#10608429, supplier_name#10608430, facility_name#10608431, sup_type#10608432, country#10608433, city#10608434, state#10608435, zip#10608436, employee_men#10608437, employee_women#10608438, employee_others#10608439, production_capacity#10608440, supplier_uid#10608441, facility_uid#10608442, brand_supplier_level#10608443, filter_value#10608444]
Arguments: createexternalrow(BrandId#10608426.toString, supplier_id#10608427.toString, facility_id#10608428.toString, brandname#10608429.toString, supplier_name#10608430.toString, facility_name#10608431.toString, sup_type#10608432.toString, country#10608433.toString, city#10608434.toString, state#10608435.toString, zip#10608436.toString, staticinvoke(class java.lang.Short, ObjectType(class java.lang.Short), valueOf, employee_men#10608437, true, false, true), staticinvoke(class java.lang.Short, ObjectType(class java.lang.Short), valueOf, employee_women#10608438, true, false, true), staticinvoke(class java.lang.Short, ObjectType(class java.lang.Short), valueOf, employee_others#10608439, true, false, true), production_capacity#10608440.toString, supplier_uid#10608441.toString, facility_uid#10608442.toString, brand_supplier_level#10608443.toString, staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, filter_value#10608444, 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#10609980: org.apache.spark.sql.Row
(6) DeserializeToObject
Input [19]: [BrandId#10608426, supplier_id#10608427, facility_id#10608428, brandname#10608429, supplier_name#10608430, facility_name#10608431, sup_type#10608432, country#10608433, city#10608434, state#10608435, zip#10608436, employee_men#10608437, employee_women#10608438, employee_others#10608439, production_capacity#10608440, supplier_uid#10608441, facility_uid#10608442, brand_supplier_level#10608443, filter_value#10608444]
Arguments: createexternalrow(BrandId#10608426.toString, supplier_id#10608427.toString, facility_id#10608428.toString, brandname#10608429.toString, supplier_name#10608430.toString, facility_name#10608431.toString, sup_type#10608432.toString, country#10608433.toString, city#10608434.toString, state#10608435.toString, zip#10608436.toString, staticinvoke(class java.lang.Short, ObjectType(class java.lang.Short), valueOf, employee_men#10608437, true, false, true), staticinvoke(class java.lang.Short, ObjectType(class java.lang.Short), valueOf, employee_women#10608438, true, false, true), staticinvoke(class java.lang.Short, ObjectType(class java.lang.Short), valueOf, employee_others#10608439, true, false, true), production_capacity#10608440.toString, supplier_uid#10608441.toString, facility_uid#10608442.toString, brand_supplier_level#10608443.toString, staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, filter_value#10608444, 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#10609980: org.apache.spark.sql.Row
(7) AdaptiveSparkPlan
Output [1]: [obj#10609980]
Arguments: isFinalPlan=true