== 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#1027728, facility_id#1027729, request_id#1027730, response_id#1027731, launch_id#1027732, reporting_year#1027733, template_type#1027734, request_status#1027735, supplier_id#1027736, supplier_name#1027737, material#1027738, facility_name#1027739, standard_name#1027740, rmap_id#1027741, facility_type#1027742, is_known_facility#1027743, conformance_status#1027744, rmap_status#1027745, country_code#1027746, country_name#1027747, smelter_city#1027748, is_recycled_or_scrap#1027749, smelter_key#1027750, is_drc_covered#1027751, etl_runtime#1027752]
Arguments: [company_id#1027728, facility_id#1027729, request_id#1027730, response_id#1027731, launch_id#1027732, reporting_year#1027733, template_type#1027734, request_status#1027735, supplier_id#1027736, supplier_name#1027737, material#1027738, facility_name#1027739, standard_name#1027740, rmap_id#1027741, facility_type#1027742, is_known_facility#1027743, conformance_status#1027744, rmap_status#1027745, country_code#1027746, country_name#1027747, smelter_city#1027748, is_recycled_or_scrap#1027749, smelter_key#1027750, is_drc_covered#1027751, etl_runtime#1027752]
(2) InMemoryRelation
Arguments: [company_id#1027728, facility_id#1027729, request_id#1027730, response_id#1027731, launch_id#1027732, reporting_year#1027733, template_type#1027734, request_status#1027735, supplier_id#1027736, supplier_name#1027737, material#1027738, facility_name#1027739, standard_name#1027740, rmap_id#1027741, facility_type#1027742, is_known_facility#1027743, conformance_status#1027744, rmap_status#1027745, country_code#1027746, country_name#1027747, smelter_city#1027748, is_recycled_or_scrap#1027749, smelter_key#1027750, is_drc_covered#1027751, ... 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#1027728,facility_id#1027729,request_id#1027730,response_id#1027731,launch_id#1027732,reporting_year#1027733,template_type#1027734,request_status#1027735,supplier_id#1027736,supplier_name#1027737,material#1027738,facility_name#1027739,standard_name#1027740,rmap_id#1027741,facility_type#1027742,is_known_facility#1027743,conformance_status#1027744,rmap_status#1027745,country_code#1027746,country_name#1027747,smelter_city#1027748,is_recycled_or_scrap#1027749,smelter_key#1027750,is_drc_covered#1027751,... 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#1027728, facility_id#1027729, request_id#1027730, response_id#1027731, launch_id#1027732, reporting_year#1027733, template_type#1027734, request_status#1027735, supplier_id#1027736, supplier_name#1027737, material#1027738, facility_name#1027739, standard_name#1027740, rmap_id#1027741, facility_type#1027742, is_known_facility#1027743, conformance_status#1027744, rmap_status#1027745, country_code#1027746, country_name#1027747, smelter_city#1027748, is_recycled_or_scrap#1027749, smelter_key#1027750, is_drc_covered#1027751, etl_runtime#1027752, bigid#1027753L]
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#1027728, facility_id#1027729, request_id#1027730, response_id#1027731, launch_id#1027732, reporting_year#1027733, template_type#1027734, request_status#1027735, supplier_id#1027736, supplier_name#1027737, material#1027738, facility_name#1027739, standard_name#1027740, rmap_id#1027741, facility_type#1027742, is_known_facility#1027743, conformance_status#1027744, rmap_status#1027745, country_code#1027746, country_name#1027747, smelter_city#1027748, is_recycled_or_scrap#1027749, smelter_key#1027750, is_drc_covered#1027751, etl_runtime#1027752]
Arguments: 0
(5) DeserializeToObject
Input [25]: [company_id#1027728, facility_id#1027729, request_id#1027730, response_id#1027731, launch_id#1027732, reporting_year#1027733, template_type#1027734, request_status#1027735, supplier_id#1027736, supplier_name#1027737, material#1027738, facility_name#1027739, standard_name#1027740, rmap_id#1027741, facility_type#1027742, is_known_facility#1027743, conformance_status#1027744, rmap_status#1027745, country_code#1027746, country_name#1027747, smelter_city#1027748, is_recycled_or_scrap#1027749, smelter_key#1027750, is_drc_covered#1027751, etl_runtime#1027752]
Arguments: createexternalrow(company_id#1027728.toString, facility_id#1027729.toString, request_id#1027730.toString, response_id#1027731.toString, launch_id#1027732.toString, staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, reporting_year#1027733, true, false, true), template_type#1027734.toString, request_status#1027735.toString, supplier_id#1027736.toString, supplier_name#1027737.toString, material#1027738.toString, facility_name#1027739.toString, standard_name#1027740.toString, rmap_id#1027741.toString, facility_type#1027742.toString, is_known_facility#1027743.toString, conformance_status#1027744.toString, rmap_status#1027745.toString, country_code#1027746.toString, country_name#1027747.toString, smelter_city#1027748.toString, is_recycled_or_scrap#1027749.toString, smelter_key#1027750.toString, staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, is_drc_covered#1027751, true, false, true), ... 26 more fields), obj#1033688: org.apache.spark.sql.Row
(6) DeserializeToObject
Input [25]: [company_id#1027728, facility_id#1027729, request_id#1027730, response_id#1027731, launch_id#1027732, reporting_year#1027733, template_type#1027734, request_status#1027735, supplier_id#1027736, supplier_name#1027737, material#1027738, facility_name#1027739, standard_name#1027740, rmap_id#1027741, facility_type#1027742, is_known_facility#1027743, conformance_status#1027744, rmap_status#1027745, country_code#1027746, country_name#1027747, smelter_city#1027748, is_recycled_or_scrap#1027749, smelter_key#1027750, is_drc_covered#1027751, etl_runtime#1027752]
Arguments: createexternalrow(company_id#1027728.toString, facility_id#1027729.toString, request_id#1027730.toString, response_id#1027731.toString, launch_id#1027732.toString, staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, reporting_year#1027733, true, false, true), template_type#1027734.toString, request_status#1027735.toString, supplier_id#1027736.toString, supplier_name#1027737.toString, material#1027738.toString, facility_name#1027739.toString, standard_name#1027740.toString, rmap_id#1027741.toString, facility_type#1027742.toString, is_known_facility#1027743.toString, conformance_status#1027744.toString, rmap_status#1027745.toString, country_code#1027746.toString, country_name#1027747.toString, smelter_city#1027748.toString, is_recycled_or_scrap#1027749.toString, smelter_key#1027750.toString, staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, is_drc_covered#1027751, true, false, true), ... 26 more fields), obj#1033688: org.apache.spark.sql.Row
(7) AdaptiveSparkPlan
Output [1]: [obj#1033688]
Arguments: isFinalPlan=true