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: 37"];
subgraph cluster3 {
isCluster="true";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
4 [labelType="html" label="<b>Scan JDBCRelation((SELECT * FROM dbo.fact_cm_supplier_response WHERE bigid BETWEEN 1 AND 37) AS page) [numPartitions=1] </b><br><br>number of output rows: 0"];
}
1->0;
2->1;
4->2;
}
5
AdaptiveSparkPlan isFinalPlan=true
DeserializeToObject createexternalrow(company_id#20602148.toString, request_id#20602149.toString, launch_id#20602150.toString, staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, reporting_year#20602151, true, false, true), template_type#20602152.toString, supplier_id#20602153.toString, supplier_name#20602154.toString, request_status#20602155.toString, staticinvoke(class org.apache.spark.sql.catalyst.util.DateTimeUtils$, ObjectType(class java.sql.Timestamp), toJavaTimestamp, due_ts#20602156, true, false, true), staticinvoke(class org.apache.spark.sql.catalyst.util.DateTimeUtils$, ObjectType(class java.sql.Timestamp), toJavaTimestamp, approved_ts#20602157, true, false, true), staticinvoke(class org.apache.spark.sql.catalyst.util.DateTimeUtils$, ObjectType(class java.sql.Timestamp), toJavaTimestamp, submitted_ts#20602158, true, false, true), staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, is_submitted#20602159, true, false, true), staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, is_overdue#20602160, true, false, true), staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, total_smelters#20602161, true, false, true), staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, conflict_free_count#20602162, true, false, true), staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, audit_committed_count#20602163, true, false, true), staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, undeterminable_count#20602164, true, false, true), staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, undeterminable_not_in_rmi_count#20602165, true, false, true), staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, undeterminable_not_identified_count#20602166, true, false, true), staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, recycled_count#20602167, true, false, true), supplier_country#20602168.toString, supplier_country_code#20602169.toString, minerals#20602170.toString, staticinvoke(class org.apache.spark.sql.catalyst.util.DateTimeUtils$, ObjectType(class java.sql.Timestamp), toJavaTimestamp, etl_runtime#20602171, true, false, true), ... 24 more fields), obj#20603065: org.apache.spark.sql.Row
InMemoryTableScan [company_id#20602148, request_id#20602149, launch_id#20602150, reporting_year#20602151, template_type#20602152, supplier_id#20602153, supplier_name#20602154, request_status#20602155, due_ts#20602156, approved_ts#20602157, submitted_ts#20602158, is_submitted#20602159, is_overdue#20602160, total_smelters#20602161, conflict_free_count#20602162, audit_committed_count#20602163, undeterminable_count#20602164, undeterminable_not_in_rmi_count#20602165, undeterminable_not_identified_count#20602166, recycled_count#20602167, supplier_country#20602168, supplier_country_code#20602169, minerals#20602170, etl_runtime#20602171]
Scan JDBCRelation((SELECT * FROM dbo.fact_cm_supplier_response WHERE bigid BETWEEN 1 AND 37) AS page) [numPartitions=1] [company_id#20602148,request_id#20602149,launch_id#20602150,reporting_year#20602151,template_type#20602152,supplier_id#20602153,supplier_name#20602154,request_status#20602155,due_ts#20602156,approved_ts#20602157,submitted_ts#20602158,is_submitted#20602159,is_overdue#20602160,total_smelters#20602161,conflict_free_count#20602162,audit_committed_count#20602163,undeterminable_count#20602164,undeterminable_not_in_rmi_count#20602165,undeterminable_not_identified_count#20602166,recycled_count#20602167,supplier_country#20602168,supplier_country_code#20602169,minerals#20602170,etl_runtime#20602171,bigid#20602172L] PushedFilters: [], ReadSchema: struct<company_id:string,request_id:string,launch_id:string,reporting_year:int,template_type:stri...
WholeStageCodegen (1)
== Physical Plan ==
AdaptiveSparkPlan (7)
+- == Final Plan ==
DeserializeToObject (5)
+- TableCacheQueryStage (4), Statistics(sizeInBytes=9.5 KiB, rowCount=37)
+- InMemoryTableScan (1)
+- InMemoryRelation (2)
+- * Scan JDBCRelation((SELECT * FROM dbo.fact_cm_supplier_response WHERE bigid BETWEEN 1 AND 37) AS page) [numPartitions=1] (3)
+- == Initial Plan ==
DeserializeToObject (6)
+- InMemoryTableScan (1)
+- InMemoryRelation (2)
+- * Scan JDBCRelation((SELECT * FROM dbo.fact_cm_supplier_response WHERE bigid BETWEEN 1 AND 37) AS page) [numPartitions=1] (3)
(1) InMemoryTableScan
Output [24]: [company_id#20602148, request_id#20602149, launch_id#20602150, reporting_year#20602151, template_type#20602152, supplier_id#20602153, supplier_name#20602154, request_status#20602155, due_ts#20602156, approved_ts#20602157, submitted_ts#20602158, is_submitted#20602159, is_overdue#20602160, total_smelters#20602161, conflict_free_count#20602162, audit_committed_count#20602163, undeterminable_count#20602164, undeterminable_not_in_rmi_count#20602165, undeterminable_not_identified_count#20602166, recycled_count#20602167, supplier_country#20602168, supplier_country_code#20602169, minerals#20602170, etl_runtime#20602171]
Arguments: [company_id#20602148, request_id#20602149, launch_id#20602150, reporting_year#20602151, template_type#20602152, supplier_id#20602153, supplier_name#20602154, request_status#20602155, due_ts#20602156, approved_ts#20602157, submitted_ts#20602158, is_submitted#20602159, is_overdue#20602160, total_smelters#20602161, conflict_free_count#20602162, audit_committed_count#20602163, undeterminable_count#20602164, undeterminable_not_in_rmi_count#20602165, undeterminable_not_identified_count#20602166, recycled_count#20602167, supplier_country#20602168, supplier_country_code#20602169, minerals#20602170, etl_runtime#20602171]
(2) InMemoryRelation
Arguments: [company_id#20602148, request_id#20602149, launch_id#20602150, reporting_year#20602151, template_type#20602152, supplier_id#20602153, supplier_name#20602154, request_status#20602155, due_ts#20602156, approved_ts#20602157, submitted_ts#20602158, is_submitted#20602159, is_overdue#20602160, total_smelters#20602161, conflict_free_count#20602162, audit_committed_count#20602163, undeterminable_count#20602164, undeterminable_not_in_rmi_count#20602165, undeterminable_not_identified_count#20602166, recycled_count#20602167, supplier_country#20602168, supplier_country_code#20602169, minerals#20602170, etl_runtime#20602171, bigid#20602172L], CachedRDDBuilder(org.apache.spark.sql.execution.columnar.DefaultCachedBatchSerializer@14de14ab,StorageLevel(disk, memory, deserialized, 1 replicas),*(1) Scan JDBCRelation((SELECT * FROM dbo.fact_cm_supplier_response WHERE bigid BETWEEN 1 AND 37) AS page) [numPartitions=1] [company_id#20602148,request_id#20602149,launch_id#20602150,reporting_year#20602151,template_type#20602152,supplier_id#20602153,supplier_name#20602154,request_status#20602155,due_ts#20602156,approved_ts#20602157,submitted_ts#20602158,is_submitted#20602159,is_overdue#20602160,total_smelters#20602161,conflict_free_count#20602162,audit_committed_count#20602163,undeterminable_count#20602164,undeterminable_not_in_rmi_count#20602165,undeterminable_not_identified_count#20602166,recycled_count#20602167,supplier_country#20602168,supplier_country_code#20602169,minerals#20602170,etl_runtime#20602171,bigid#20602172L] PushedFilters: [], ReadSchema: struct<company_id:string,request_id:string,launch_id:string,reporting_year:int,template_type:stri...
,None)
(3) Scan JDBCRelation((SELECT * FROM dbo.fact_cm_supplier_response WHERE bigid BETWEEN 1 AND 37) AS page) [numPartitions=1] [codegen id : 1]
Output [25]: [company_id#20602148, request_id#20602149, launch_id#20602150, reporting_year#20602151, template_type#20602152, supplier_id#20602153, supplier_name#20602154, request_status#20602155, due_ts#20602156, approved_ts#20602157, submitted_ts#20602158, is_submitted#20602159, is_overdue#20602160, total_smelters#20602161, conflict_free_count#20602162, audit_committed_count#20602163, undeterminable_count#20602164, undeterminable_not_in_rmi_count#20602165, undeterminable_not_identified_count#20602166, recycled_count#20602167, supplier_country#20602168, supplier_country_code#20602169, minerals#20602170, etl_runtime#20602171, bigid#20602172L]
ReadSchema: struct<company_id:string,request_id:string,launch_id:string,reporting_year:int,template_type:string,supplier_id:string,supplier_name:string,request_status:string,due_ts:timestamp,approved_ts:timestamp,submitted_ts:timestamp,is_submitted:int,is_overdue:int,total_smelters:int,conflict_free_count:int,audit_committed_count:int,undeterminable_count:int,undeterminable_not_in_rmi_count:int,undeterminable_not_identified_count:int,recycled_count:int,supplier_country:string,supplier_country_code:string,minerals:string,etl_runtime:timestamp,bigid:bigint>
(4) TableCacheQueryStage
Output [24]: [company_id#20602148, request_id#20602149, launch_id#20602150, reporting_year#20602151, template_type#20602152, supplier_id#20602153, supplier_name#20602154, request_status#20602155, due_ts#20602156, approved_ts#20602157, submitted_ts#20602158, is_submitted#20602159, is_overdue#20602160, total_smelters#20602161, conflict_free_count#20602162, audit_committed_count#20602163, undeterminable_count#20602164, undeterminable_not_in_rmi_count#20602165, undeterminable_not_identified_count#20602166, recycled_count#20602167, supplier_country#20602168, supplier_country_code#20602169, minerals#20602170, etl_runtime#20602171]
Arguments: 0
(5) DeserializeToObject
Input [24]: [company_id#20602148, request_id#20602149, launch_id#20602150, reporting_year#20602151, template_type#20602152, supplier_id#20602153, supplier_name#20602154, request_status#20602155, due_ts#20602156, approved_ts#20602157, submitted_ts#20602158, is_submitted#20602159, is_overdue#20602160, total_smelters#20602161, conflict_free_count#20602162, audit_committed_count#20602163, undeterminable_count#20602164, undeterminable_not_in_rmi_count#20602165, undeterminable_not_identified_count#20602166, recycled_count#20602167, supplier_country#20602168, supplier_country_code#20602169, minerals#20602170, etl_runtime#20602171]
Arguments: createexternalrow(company_id#20602148.toString, request_id#20602149.toString, launch_id#20602150.toString, staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, reporting_year#20602151, true, false, true), template_type#20602152.toString, supplier_id#20602153.toString, supplier_name#20602154.toString, request_status#20602155.toString, staticinvoke(class org.apache.spark.sql.catalyst.util.DateTimeUtils$, ObjectType(class java.sql.Timestamp), toJavaTimestamp, due_ts#20602156, true, false, true), staticinvoke(class org.apache.spark.sql.catalyst.util.DateTimeUtils$, ObjectType(class java.sql.Timestamp), toJavaTimestamp, approved_ts#20602157, true, false, true), staticinvoke(class org.apache.spark.sql.catalyst.util.DateTimeUtils$, ObjectType(class java.sql.Timestamp), toJavaTimestamp, submitted_ts#20602158, true, false, true), staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, is_submitted#20602159, true, false, true), staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, is_overdue#20602160, true, false, true), staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, total_smelters#20602161, true, false, true), staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, conflict_free_count#20602162, true, false, true), staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, audit_committed_count#20602163, true, false, true), staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, undeterminable_count#20602164, true, false, true), staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, undeterminable_not_in_rmi_count#20602165, true, false, true), staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, undeterminable_not_identified_count#20602166, true, false, true), staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, recycled_count#20602167, true, false, true), supplier_country#20602168.toString, supplier_country_code#20602169.toString, minerals#20602170.toString, staticinvoke(class org.apache.spark.sql.catalyst.util.DateTimeUtils$, ObjectType(class java.sql.Timestamp), toJavaTimestamp, etl_runtime#20602171, true, false, true), ... 24 more fields), obj#20603065: org.apache.spark.sql.Row
(6) DeserializeToObject
Input [24]: [company_id#20602148, request_id#20602149, launch_id#20602150, reporting_year#20602151, template_type#20602152, supplier_id#20602153, supplier_name#20602154, request_status#20602155, due_ts#20602156, approved_ts#20602157, submitted_ts#20602158, is_submitted#20602159, is_overdue#20602160, total_smelters#20602161, conflict_free_count#20602162, audit_committed_count#20602163, undeterminable_count#20602164, undeterminable_not_in_rmi_count#20602165, undeterminable_not_identified_count#20602166, recycled_count#20602167, supplier_country#20602168, supplier_country_code#20602169, minerals#20602170, etl_runtime#20602171]
Arguments: createexternalrow(company_id#20602148.toString, request_id#20602149.toString, launch_id#20602150.toString, staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, reporting_year#20602151, true, false, true), template_type#20602152.toString, supplier_id#20602153.toString, supplier_name#20602154.toString, request_status#20602155.toString, staticinvoke(class org.apache.spark.sql.catalyst.util.DateTimeUtils$, ObjectType(class java.sql.Timestamp), toJavaTimestamp, due_ts#20602156, true, false, true), staticinvoke(class org.apache.spark.sql.catalyst.util.DateTimeUtils$, ObjectType(class java.sql.Timestamp), toJavaTimestamp, approved_ts#20602157, true, false, true), staticinvoke(class org.apache.spark.sql.catalyst.util.DateTimeUtils$, ObjectType(class java.sql.Timestamp), toJavaTimestamp, submitted_ts#20602158, true, false, true), staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, is_submitted#20602159, true, false, true), staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, is_overdue#20602160, true, false, true), staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, total_smelters#20602161, true, false, true), staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, conflict_free_count#20602162, true, false, true), staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, audit_committed_count#20602163, true, false, true), staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, undeterminable_count#20602164, true, false, true), staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, undeterminable_not_in_rmi_count#20602165, true, false, true), staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, undeterminable_not_identified_count#20602166, true, false, true), staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, recycled_count#20602167, true, false, true), supplier_country#20602168.toString, supplier_country_code#20602169.toString, minerals#20602170.toString, staticinvoke(class org.apache.spark.sql.catalyst.util.DateTimeUtils$, ObjectType(class java.sql.Timestamp), toJavaTimestamp, etl_runtime#20602171, true, false, true), ... 24 more fields), obj#20603065: org.apache.spark.sql.Row
(7) AdaptiveSparkPlan
Output [1]: [obj#20603065]
Arguments: isFinalPlan=true