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: 1,396"];
subgraph cluster3 {
isCluster="true";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
4 [labelType="html" label="<b>Scan JDBCRelation(dbo.dim_scm_filter) [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#9366122.toString, brand_context_id#9366123.toString, company_id#9366124.toString, Direct_Supplier_Name#9366125.toString, config_name#9366126.toString, launch_quarter#9366127.toString, staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, launch_quarter_sort#9366128, true, false, true), StructField(scm_filter_key,StringType,true), StructField(brand_context_id,StringType,true), StructField(company_id,StringType,true), StructField(Direct_Supplier_Name,StringType,true), StructField(config_name,StringType,true), StructField(launch_quarter,StringType,true), StructField(launch_quarter_sort,IntegerType,true)), obj#9865623: org.apache.spark.sql.Row
InMemoryTableScan [scm_filter_key#9366122, brand_context_id#9366123, company_id#9366124, Direct_Supplier_Name#9366125, config_name#9366126, launch_quarter#9366127, launch_quarter_sort#9366128]
Scan JDBCRelation(dbo.dim_scm_filter) [numPartitions=1] [scm_filter_key#9366122,brand_context_id#9366123,company_id#9366124,Direct_Supplier_Name#9366125,config_name#9366126,launch_quarter#9366127,launch_quarter_sort#9366128] PushedFilters: [], ReadSchema: struct<scm_filter_key:string,brand_context_id:string,company_id:string,Direct_Supplier_Name:strin...
WholeStageCodegen (1)
== Physical Plan ==
AdaptiveSparkPlan (7)
+- == Final Plan ==
DeserializeToObject (5)
+- TableCacheQueryStage (4), Statistics(sizeInBytes=262.8 KiB, rowCount=1.40E+3)
+- InMemoryTableScan (1)
+- InMemoryRelation (2)
+- * Scan JDBCRelation(dbo.dim_scm_filter) [numPartitions=1] (3)
+- == Initial Plan ==
DeserializeToObject (6)
+- InMemoryTableScan (1)
+- InMemoryRelation (2)
+- * Scan JDBCRelation(dbo.dim_scm_filter) [numPartitions=1] (3)
(1) InMemoryTableScan
Output [7]: [scm_filter_key#9366122, brand_context_id#9366123, company_id#9366124, Direct_Supplier_Name#9366125, config_name#9366126, launch_quarter#9366127, launch_quarter_sort#9366128]
Arguments: [scm_filter_key#9366122, brand_context_id#9366123, company_id#9366124, Direct_Supplier_Name#9366125, config_name#9366126, launch_quarter#9366127, launch_quarter_sort#9366128]
(2) InMemoryRelation
Arguments: [scm_filter_key#9366122, brand_context_id#9366123, company_id#9366124, Direct_Supplier_Name#9366125, config_name#9366126, launch_quarter#9366127, launch_quarter_sort#9366128], CachedRDDBuilder(org.apache.spark.sql.execution.columnar.DefaultCachedBatchSerializer@7795a5ad,StorageLevel(disk, memory, deserialized, 1 replicas),*(1) Scan JDBCRelation(dbo.dim_scm_filter) [numPartitions=1] [scm_filter_key#9366122,brand_context_id#9366123,company_id#9366124,Direct_Supplier_Name#9366125,config_name#9366126,launch_quarter#9366127,launch_quarter_sort#9366128] PushedFilters: [], ReadSchema: struct<scm_filter_key:string,brand_context_id:string,company_id:string,Direct_Supplier_Name:strin...
,None)
(3) Scan JDBCRelation(dbo.dim_scm_filter) [numPartitions=1] [codegen id : 1]
Output [7]: [scm_filter_key#9366122, brand_context_id#9366123, company_id#9366124, Direct_Supplier_Name#9366125, config_name#9366126, launch_quarter#9366127, launch_quarter_sort#9366128]
ReadSchema: struct<scm_filter_key:string,brand_context_id:string,company_id:string,Direct_Supplier_Name:string,config_name:string,launch_quarter:string,launch_quarter_sort:int>
(4) TableCacheQueryStage
Output [7]: [scm_filter_key#9366122, brand_context_id#9366123, company_id#9366124, Direct_Supplier_Name#9366125, config_name#9366126, launch_quarter#9366127, launch_quarter_sort#9366128]
Arguments: 0
(5) DeserializeToObject
Input [7]: [scm_filter_key#9366122, brand_context_id#9366123, company_id#9366124, Direct_Supplier_Name#9366125, config_name#9366126, launch_quarter#9366127, launch_quarter_sort#9366128]
Arguments: createexternalrow(scm_filter_key#9366122.toString, brand_context_id#9366123.toString, company_id#9366124.toString, Direct_Supplier_Name#9366125.toString, config_name#9366126.toString, launch_quarter#9366127.toString, staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, launch_quarter_sort#9366128, true, false, true), StructField(scm_filter_key,StringType,true), StructField(brand_context_id,StringType,true), StructField(company_id,StringType,true), StructField(Direct_Supplier_Name,StringType,true), StructField(config_name,StringType,true), StructField(launch_quarter,StringType,true), StructField(launch_quarter_sort,IntegerType,true)), obj#9865623: org.apache.spark.sql.Row
(6) DeserializeToObject
Input [7]: [scm_filter_key#9366122, brand_context_id#9366123, company_id#9366124, Direct_Supplier_Name#9366125, config_name#9366126, launch_quarter#9366127, launch_quarter_sort#9366128]
Arguments: createexternalrow(scm_filter_key#9366122.toString, brand_context_id#9366123.toString, company_id#9366124.toString, Direct_Supplier_Name#9366125.toString, config_name#9366126.toString, launch_quarter#9366127.toString, staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, launch_quarter_sort#9366128, true, false, true), StructField(scm_filter_key,StringType,true), StructField(brand_context_id,StringType,true), StructField(company_id,StringType,true), StructField(Direct_Supplier_Name,StringType,true), StructField(config_name,StringType,true), StructField(launch_quarter,StringType,true), StructField(launch_quarter_sort,IntegerType,true)), obj#9865623: org.apache.spark.sql.Row
(7) AdaptiveSparkPlan
Output [1]: [obj#9865623]
Arguments: isFinalPlan=true