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: 49"];
subgraph cluster3 {
isCluster="true";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
4 [labelType="html" label="<b>Scan JDBCRelation(dbo.fact_scm_agg_summary_cards) [numPartitions=1] </b><br><br>number of output rows: 0"];
}
1->0;
2->1;
4->2;
}
5
AdaptiveSparkPlan isFinalPlan=true
DeserializeToObject createexternalrow(scm_filter_key#10515037.toString, brand_context_id#10515038.toString, staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, direct_supplier_count#10515039, true, false, true), staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, indirect_supplier_count#10515040, true, false, true), staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, unknown_supplier_count#10515041, true, false, true), staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, direct_facility_count#10515042, true, false, true), staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, indirect_facility_count#10515043, true, false, true), staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, unknown_facility_count#10515044, true, false, true), StructField(scm_filter_key,StringType,true), StructField(brand_context_id,StringType,true), StructField(direct_supplier_count,IntegerType,true), StructField(indirect_supplier_count,IntegerType,true), StructField(unknown_supplier_count,IntegerType,true), StructField(direct_facility_count,IntegerType,true), StructField(indirect_facility_count,IntegerType,true), StructField(unknown_facility_count,IntegerType,true)), obj#10517774: org.apache.spark.sql.Row
InMemoryTableScan [scm_filter_key#10515037, brand_context_id#10515038, direct_supplier_count#10515039, indirect_supplier_count#10515040, unknown_supplier_count#10515041, direct_facility_count#10515042, indirect_facility_count#10515043, unknown_facility_count#10515044]
Scan JDBCRelation(dbo.fact_scm_agg_summary_cards) [numPartitions=1] [scm_filter_key#10515037,brand_context_id#10515038,direct_supplier_count#10515039,indirect_supplier_count#10515040,unknown_supplier_count#10515041,direct_facility_count#10515042,indirect_facility_count#10515043,unknown_facility_count#10515044] PushedFilters: [], ReadSchema: struct<scm_filter_key:string,brand_context_id:string,direct_supplier_count:int,indirect_supplier_...
WholeStageCodegen (1)
== Physical Plan ==
AdaptiveSparkPlan (7)
+- == Final Plan ==
DeserializeToObject (5)
+- TableCacheQueryStage (4), Statistics(sizeInBytes=3.8 KiB, rowCount=49)
+- InMemoryTableScan (1)
+- InMemoryRelation (2)
+- * Scan JDBCRelation(dbo.fact_scm_agg_summary_cards) [numPartitions=1] (3)
+- == Initial Plan ==
DeserializeToObject (6)
+- InMemoryTableScan (1)
+- InMemoryRelation (2)
+- * Scan JDBCRelation(dbo.fact_scm_agg_summary_cards) [numPartitions=1] (3)
(1) InMemoryTableScan
Output [8]: [scm_filter_key#10515037, brand_context_id#10515038, direct_supplier_count#10515039, indirect_supplier_count#10515040, unknown_supplier_count#10515041, direct_facility_count#10515042, indirect_facility_count#10515043, unknown_facility_count#10515044]
Arguments: [scm_filter_key#10515037, brand_context_id#10515038, direct_supplier_count#10515039, indirect_supplier_count#10515040, unknown_supplier_count#10515041, direct_facility_count#10515042, indirect_facility_count#10515043, unknown_facility_count#10515044]
(2) InMemoryRelation
Arguments: [scm_filter_key#10515037, brand_context_id#10515038, direct_supplier_count#10515039, indirect_supplier_count#10515040, unknown_supplier_count#10515041, direct_facility_count#10515042, indirect_facility_count#10515043, unknown_facility_count#10515044], CachedRDDBuilder(org.apache.spark.sql.execution.columnar.DefaultCachedBatchSerializer@7795a5ad,StorageLevel(disk, memory, deserialized, 1 replicas),*(1) Scan JDBCRelation(dbo.fact_scm_agg_summary_cards) [numPartitions=1] [scm_filter_key#10515037,brand_context_id#10515038,direct_supplier_count#10515039,indirect_supplier_count#10515040,unknown_supplier_count#10515041,direct_facility_count#10515042,indirect_facility_count#10515043,unknown_facility_count#10515044] PushedFilters: [], ReadSchema: struct<scm_filter_key:string,brand_context_id:string,direct_supplier_count:int,indirect_supplier_...
,None)
(3) Scan JDBCRelation(dbo.fact_scm_agg_summary_cards) [numPartitions=1] [codegen id : 1]
Output [8]: [scm_filter_key#10515037, brand_context_id#10515038, direct_supplier_count#10515039, indirect_supplier_count#10515040, unknown_supplier_count#10515041, direct_facility_count#10515042, indirect_facility_count#10515043, unknown_facility_count#10515044]
ReadSchema: struct<scm_filter_key:string,brand_context_id:string,direct_supplier_count:int,indirect_supplier_count:int,unknown_supplier_count:int,direct_facility_count:int,indirect_facility_count:int,unknown_facility_count:int>
(4) TableCacheQueryStage
Output [8]: [scm_filter_key#10515037, brand_context_id#10515038, direct_supplier_count#10515039, indirect_supplier_count#10515040, unknown_supplier_count#10515041, direct_facility_count#10515042, indirect_facility_count#10515043, unknown_facility_count#10515044]
Arguments: 0
(5) DeserializeToObject
Input [8]: [scm_filter_key#10515037, brand_context_id#10515038, direct_supplier_count#10515039, indirect_supplier_count#10515040, unknown_supplier_count#10515041, direct_facility_count#10515042, indirect_facility_count#10515043, unknown_facility_count#10515044]
Arguments: createexternalrow(scm_filter_key#10515037.toString, brand_context_id#10515038.toString, staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, direct_supplier_count#10515039, true, false, true), staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, indirect_supplier_count#10515040, true, false, true), staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, unknown_supplier_count#10515041, true, false, true), staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, direct_facility_count#10515042, true, false, true), staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, indirect_facility_count#10515043, true, false, true), staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, unknown_facility_count#10515044, true, false, true), StructField(scm_filter_key,StringType,true), StructField(brand_context_id,StringType,true), StructField(direct_supplier_count,IntegerType,true), StructField(indirect_supplier_count,IntegerType,true), StructField(unknown_supplier_count,IntegerType,true), StructField(direct_facility_count,IntegerType,true), StructField(indirect_facility_count,IntegerType,true), StructField(unknown_facility_count,IntegerType,true)), obj#10517774: org.apache.spark.sql.Row
(6) DeserializeToObject
Input [8]: [scm_filter_key#10515037, brand_context_id#10515038, direct_supplier_count#10515039, indirect_supplier_count#10515040, unknown_supplier_count#10515041, direct_facility_count#10515042, indirect_facility_count#10515043, unknown_facility_count#10515044]
Arguments: createexternalrow(scm_filter_key#10515037.toString, brand_context_id#10515038.toString, staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, direct_supplier_count#10515039, true, false, true), staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, indirect_supplier_count#10515040, true, false, true), staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, unknown_supplier_count#10515041, true, false, true), staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, direct_facility_count#10515042, true, false, true), staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, indirect_facility_count#10515043, true, false, true), staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, unknown_facility_count#10515044, true, false, true), StructField(scm_filter_key,StringType,true), StructField(brand_context_id,StringType,true), StructField(direct_supplier_count,IntegerType,true), StructField(indirect_supplier_count,IntegerType,true), StructField(unknown_supplier_count,IntegerType,true), StructField(direct_facility_count,IntegerType,true), StructField(indirect_facility_count,IntegerType,true), StructField(unknown_facility_count,IntegerType,true)), obj#10517774: org.apache.spark.sql.Row
(7) AdaptiveSparkPlan
Output [1]: [obj#10517774]
Arguments: isFinalPlan=true