== Physical Plan ==
AdaptiveSparkPlan (7)
+- == Final Plan ==
DeserializeToObject (5)
+- TableCacheQueryStage (4), Statistics(sizeInBytes=648.1 KiB, rowCount=1.59E+3)
+- InMemoryTableScan (1)
+- InMemoryRelation (2)
+- * Scan JDBCRelation((SELECT * FROM dbo.fact_cm_smelter_overview WHERE bigid BETWEEN 1 AND 1587) AS page) [numPartitions=1] (3)
+- == Initial Plan ==
DeserializeToObject (6)
+- InMemoryTableScan (1)
+- InMemoryRelation (2)
+- * Scan JDBCRelation((SELECT * FROM dbo.fact_cm_smelter_overview WHERE bigid BETWEEN 1 AND 1587) AS page) [numPartitions=1] (3)
(1) InMemoryTableScan
Output [25]: [company_id#17212322, facility_id#17212323, request_id#17212324, response_id#17212325, launch_id#17212326, reporting_year#17212327, template_type#17212328, request_status#17212329, supplier_id#17212330, supplier_name#17212331, material#17212332, facility_name#17212333, standard_name#17212334, rmap_id#17212335, facility_type#17212336, is_known_facility#17212337, conformance_status#17212338, rmap_status#17212339, country_code#17212340, country_name#17212341, smelter_city#17212342, is_recycled_or_scrap#17212343, smelter_key#17212344, is_drc_covered#17212345, etl_runtime#17212346]
Arguments: [company_id#17212322, facility_id#17212323, request_id#17212324, response_id#17212325, launch_id#17212326, reporting_year#17212327, template_type#17212328, request_status#17212329, supplier_id#17212330, supplier_name#17212331, material#17212332, facility_name#17212333, standard_name#17212334, rmap_id#17212335, facility_type#17212336, is_known_facility#17212337, conformance_status#17212338, rmap_status#17212339, country_code#17212340, country_name#17212341, smelter_city#17212342, is_recycled_or_scrap#17212343, smelter_key#17212344, is_drc_covered#17212345, etl_runtime#17212346]
(2) InMemoryRelation
Arguments: [company_id#17212322, facility_id#17212323, request_id#17212324, response_id#17212325, launch_id#17212326, reporting_year#17212327, template_type#17212328, request_status#17212329, supplier_id#17212330, supplier_name#17212331, material#17212332, facility_name#17212333, standard_name#17212334, rmap_id#17212335, facility_type#17212336, is_known_facility#17212337, conformance_status#17212338, rmap_status#17212339, country_code#17212340, country_name#17212341, smelter_city#17212342, is_recycled_or_scrap#17212343, smelter_key#17212344, is_drc_covered#17212345, ... 2 more fields], CachedRDDBuilder(org.apache.spark.sql.execution.columnar.DefaultCachedBatchSerializer@730ae8bf,StorageLevel(disk, memory, deserialized, 1 replicas),*(1) Scan JDBCRelation((SELECT * FROM dbo.fact_cm_smelter_overview WHERE bigid BETWEEN 1 AND 1587) AS page) [numPartitions=1] [company_id#17212322,facility_id#17212323,request_id#17212324,response_id#17212325,launch_id#17212326,reporting_year#17212327,template_type#17212328,request_status#17212329,supplier_id#17212330,supplier_name#17212331,material#17212332,facility_name#17212333,standard_name#17212334,rmap_id#17212335,facility_type#17212336,is_known_facility#17212337,conformance_status#17212338,rmap_status#17212339,country_code#17212340,country_name#17212341,smelter_city#17212342,is_recycled_or_scrap#17212343,smelter_key#17212344,is_drc_covered#17212345,... 2 more fields] PushedFilters: [], ReadSchema: struct<company_id:string,facility_id:string,request_id:string,response_id:string,launch_id:string...
,None)
(3) Scan JDBCRelation((SELECT * FROM dbo.fact_cm_smelter_overview WHERE bigid BETWEEN 1 AND 1587) AS page) [numPartitions=1] [codegen id : 1]
Output [26]: [company_id#17212322, facility_id#17212323, request_id#17212324, response_id#17212325, launch_id#17212326, reporting_year#17212327, template_type#17212328, request_status#17212329, supplier_id#17212330, supplier_name#17212331, material#17212332, facility_name#17212333, standard_name#17212334, rmap_id#17212335, facility_type#17212336, is_known_facility#17212337, conformance_status#17212338, rmap_status#17212339, country_code#17212340, country_name#17212341, smelter_city#17212342, is_recycled_or_scrap#17212343, smelter_key#17212344, is_drc_covered#17212345, etl_runtime#17212346, bigid#17212347L]
ReadSchema: struct<company_id:string,facility_id:string,request_id:string,response_id:string,launch_id:string,reporting_year:int,template_type:string,request_status:string,supplier_id:string,supplier_name:string,material:string,facility_name:string,standard_name:string,rmap_id:string,facility_type:string,is_known_facility:string,conformance_status:string,rmap_status:string,country_code:string,country_name:string,smelter_city:string,is_recycled_or_scrap:string,smelter_key:string,is_drc_covered:int,etl_runtime:timestamp,bigid:bigint>
(4) TableCacheQueryStage
Output [25]: [company_id#17212322, facility_id#17212323, request_id#17212324, response_id#17212325, launch_id#17212326, reporting_year#17212327, template_type#17212328, request_status#17212329, supplier_id#17212330, supplier_name#17212331, material#17212332, facility_name#17212333, standard_name#17212334, rmap_id#17212335, facility_type#17212336, is_known_facility#17212337, conformance_status#17212338, rmap_status#17212339, country_code#17212340, country_name#17212341, smelter_city#17212342, is_recycled_or_scrap#17212343, smelter_key#17212344, is_drc_covered#17212345, etl_runtime#17212346]
Arguments: 0
(5) DeserializeToObject
Input [25]: [company_id#17212322, facility_id#17212323, request_id#17212324, response_id#17212325, launch_id#17212326, reporting_year#17212327, template_type#17212328, request_status#17212329, supplier_id#17212330, supplier_name#17212331, material#17212332, facility_name#17212333, standard_name#17212334, rmap_id#17212335, facility_type#17212336, is_known_facility#17212337, conformance_status#17212338, rmap_status#17212339, country_code#17212340, country_name#17212341, smelter_city#17212342, is_recycled_or_scrap#17212343, smelter_key#17212344, is_drc_covered#17212345, etl_runtime#17212346]
Arguments: createexternalrow(company_id#17212322.toString, facility_id#17212323.toString, request_id#17212324.toString, response_id#17212325.toString, launch_id#17212326.toString, staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, reporting_year#17212327, true, false, true), template_type#17212328.toString, request_status#17212329.toString, supplier_id#17212330.toString, supplier_name#17212331.toString, material#17212332.toString, facility_name#17212333.toString, standard_name#17212334.toString, rmap_id#17212335.toString, facility_type#17212336.toString, is_known_facility#17212337.toString, conformance_status#17212338.toString, rmap_status#17212339.toString, country_code#17212340.toString, country_name#17212341.toString, smelter_city#17212342.toString, is_recycled_or_scrap#17212343.toString, smelter_key#17212344.toString, staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, is_drc_covered#17212345, true, false, true), ... 26 more fields), obj#17213688: org.apache.spark.sql.Row
(6) DeserializeToObject
Input [25]: [company_id#17212322, facility_id#17212323, request_id#17212324, response_id#17212325, launch_id#17212326, reporting_year#17212327, template_type#17212328, request_status#17212329, supplier_id#17212330, supplier_name#17212331, material#17212332, facility_name#17212333, standard_name#17212334, rmap_id#17212335, facility_type#17212336, is_known_facility#17212337, conformance_status#17212338, rmap_status#17212339, country_code#17212340, country_name#17212341, smelter_city#17212342, is_recycled_or_scrap#17212343, smelter_key#17212344, is_drc_covered#17212345, etl_runtime#17212346]
Arguments: createexternalrow(company_id#17212322.toString, facility_id#17212323.toString, request_id#17212324.toString, response_id#17212325.toString, launch_id#17212326.toString, staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, reporting_year#17212327, true, false, true), template_type#17212328.toString, request_status#17212329.toString, supplier_id#17212330.toString, supplier_name#17212331.toString, material#17212332.toString, facility_name#17212333.toString, standard_name#17212334.toString, rmap_id#17212335.toString, facility_type#17212336.toString, is_known_facility#17212337.toString, conformance_status#17212338.toString, rmap_status#17212339.toString, country_code#17212340.toString, country_name#17212341.toString, smelter_city#17212342.toString, is_recycled_or_scrap#17212343.toString, smelter_key#17212344.toString, staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, is_drc_covered#17212345, true, false, true), ... 26 more fields), obj#17213688: org.apache.spark.sql.Row
(7) AdaptiveSparkPlan
Output [1]: [obj#17213688]
Arguments: isFinalPlan=true