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,588"];
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 5588) 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#15127598.toString, supplier_id#15127599.toString, facility_id#15127600.toString, brandname#15127601.toString, supplier_name#15127602.toString, facility_name#15127603.toString, sup_type#15127604.toString, country#15127605.toString, city#15127606.toString, state#15127607.toString, zip#15127608.toString, staticinvoke(class java.lang.Short, ObjectType(class java.lang.Short), valueOf, employee_men#15127609, true, false, true), staticinvoke(class java.lang.Short, ObjectType(class java.lang.Short), valueOf, employee_women#15127610, true, false, true), staticinvoke(class java.lang.Short, ObjectType(class java.lang.Short), valueOf, employee_others#15127611, true, false, true), production_capacity#15127612.toString, supplier_uid#15127613.toString, facility_uid#15127614.toString, brand_supplier_level#15127615.toString, staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, filter_value#15127616, 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#15128790: org.apache.spark.sql.Row
InMemoryTableScan [BrandId#15127598, supplier_id#15127599, facility_id#15127600, brandname#15127601, supplier_name#15127602, facility_name#15127603, sup_type#15127604, country#15127605, city#15127606, state#15127607, zip#15127608, employee_men#15127609, employee_women#15127610, employee_others#15127611, production_capacity#15127612, supplier_uid#15127613, facility_uid#15127614, brand_supplier_level#15127615, filter_value#15127616]
Scan JDBCRelation((SELECT * FROM dbo.fact_supplier_facility_map WHERE bigid BETWEEN 1 AND 5588) AS page) [numPartitions=1] [BrandId#15127598,supplier_id#15127599,facility_id#15127600,brandname#15127601,supplier_name#15127602,facility_name#15127603,sup_type#15127604,country#15127605,city#15127606,state#15127607,zip#15127608,employee_men#15127609,employee_women#15127610,employee_others#15127611,production_capacity#15127612,supplier_uid#15127613,facility_uid#15127614,brand_supplier_level#15127615,filter_value#15127616,bigid#15127617L] 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=1665.6 KiB, rowCount=5.59E+3)
+- InMemoryTableScan (1)
+- InMemoryRelation (2)
+- * Scan JDBCRelation((SELECT * FROM dbo.fact_supplier_facility_map WHERE bigid BETWEEN 1 AND 5588) 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 5588) AS page) [numPartitions=1] (3)
(1) InMemoryTableScan
Output [19]: [BrandId#15127598, supplier_id#15127599, facility_id#15127600, brandname#15127601, supplier_name#15127602, facility_name#15127603, sup_type#15127604, country#15127605, city#15127606, state#15127607, zip#15127608, employee_men#15127609, employee_women#15127610, employee_others#15127611, production_capacity#15127612, supplier_uid#15127613, facility_uid#15127614, brand_supplier_level#15127615, filter_value#15127616]
Arguments: [BrandId#15127598, supplier_id#15127599, facility_id#15127600, brandname#15127601, supplier_name#15127602, facility_name#15127603, sup_type#15127604, country#15127605, city#15127606, state#15127607, zip#15127608, employee_men#15127609, employee_women#15127610, employee_others#15127611, production_capacity#15127612, supplier_uid#15127613, facility_uid#15127614, brand_supplier_level#15127615, filter_value#15127616]
(2) InMemoryRelation
Arguments: [BrandId#15127598, supplier_id#15127599, facility_id#15127600, brandname#15127601, supplier_name#15127602, facility_name#15127603, sup_type#15127604, country#15127605, city#15127606, state#15127607, zip#15127608, employee_men#15127609, employee_women#15127610, employee_others#15127611, production_capacity#15127612, supplier_uid#15127613, facility_uid#15127614, brand_supplier_level#15127615, filter_value#15127616, bigid#15127617L], 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 5588) AS page) [numPartitions=1] [BrandId#15127598,supplier_id#15127599,facility_id#15127600,brandname#15127601,supplier_name#15127602,facility_name#15127603,sup_type#15127604,country#15127605,city#15127606,state#15127607,zip#15127608,employee_men#15127609,employee_women#15127610,employee_others#15127611,production_capacity#15127612,supplier_uid#15127613,facility_uid#15127614,brand_supplier_level#15127615,filter_value#15127616,bigid#15127617L] 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 5588) AS page) [numPartitions=1] [codegen id : 1]
Output [20]: [BrandId#15127598, supplier_id#15127599, facility_id#15127600, brandname#15127601, supplier_name#15127602, facility_name#15127603, sup_type#15127604, country#15127605, city#15127606, state#15127607, zip#15127608, employee_men#15127609, employee_women#15127610, employee_others#15127611, production_capacity#15127612, supplier_uid#15127613, facility_uid#15127614, brand_supplier_level#15127615, filter_value#15127616, bigid#15127617L]
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#15127598, supplier_id#15127599, facility_id#15127600, brandname#15127601, supplier_name#15127602, facility_name#15127603, sup_type#15127604, country#15127605, city#15127606, state#15127607, zip#15127608, employee_men#15127609, employee_women#15127610, employee_others#15127611, production_capacity#15127612, supplier_uid#15127613, facility_uid#15127614, brand_supplier_level#15127615, filter_value#15127616]
Arguments: 0
(5) DeserializeToObject
Input [19]: [BrandId#15127598, supplier_id#15127599, facility_id#15127600, brandname#15127601, supplier_name#15127602, facility_name#15127603, sup_type#15127604, country#15127605, city#15127606, state#15127607, zip#15127608, employee_men#15127609, employee_women#15127610, employee_others#15127611, production_capacity#15127612, supplier_uid#15127613, facility_uid#15127614, brand_supplier_level#15127615, filter_value#15127616]
Arguments: createexternalrow(BrandId#15127598.toString, supplier_id#15127599.toString, facility_id#15127600.toString, brandname#15127601.toString, supplier_name#15127602.toString, facility_name#15127603.toString, sup_type#15127604.toString, country#15127605.toString, city#15127606.toString, state#15127607.toString, zip#15127608.toString, staticinvoke(class java.lang.Short, ObjectType(class java.lang.Short), valueOf, employee_men#15127609, true, false, true), staticinvoke(class java.lang.Short, ObjectType(class java.lang.Short), valueOf, employee_women#15127610, true, false, true), staticinvoke(class java.lang.Short, ObjectType(class java.lang.Short), valueOf, employee_others#15127611, true, false, true), production_capacity#15127612.toString, supplier_uid#15127613.toString, facility_uid#15127614.toString, brand_supplier_level#15127615.toString, staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, filter_value#15127616, 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#15128790: org.apache.spark.sql.Row
(6) DeserializeToObject
Input [19]: [BrandId#15127598, supplier_id#15127599, facility_id#15127600, brandname#15127601, supplier_name#15127602, facility_name#15127603, sup_type#15127604, country#15127605, city#15127606, state#15127607, zip#15127608, employee_men#15127609, employee_women#15127610, employee_others#15127611, production_capacity#15127612, supplier_uid#15127613, facility_uid#15127614, brand_supplier_level#15127615, filter_value#15127616]
Arguments: createexternalrow(BrandId#15127598.toString, supplier_id#15127599.toString, facility_id#15127600.toString, brandname#15127601.toString, supplier_name#15127602.toString, facility_name#15127603.toString, sup_type#15127604.toString, country#15127605.toString, city#15127606.toString, state#15127607.toString, zip#15127608.toString, staticinvoke(class java.lang.Short, ObjectType(class java.lang.Short), valueOf, employee_men#15127609, true, false, true), staticinvoke(class java.lang.Short, ObjectType(class java.lang.Short), valueOf, employee_women#15127610, true, false, true), staticinvoke(class java.lang.Short, ObjectType(class java.lang.Short), valueOf, employee_others#15127611, true, false, true), production_capacity#15127612.toString, supplier_uid#15127613.toString, facility_uid#15127614.toString, brand_supplier_level#15127615.toString, staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, filter_value#15127616, 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#15128790: org.apache.spark.sql.Row
(7) AdaptiveSparkPlan
Output [1]: [obj#15128790]
Arguments: isFinalPlan=true