== 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#13175397, facility_id#13175398, request_id#13175399, response_id#13175400, launch_id#13175401, reporting_year#13175402, template_type#13175403, request_status#13175404, supplier_id#13175405, supplier_name#13175406, material#13175407, facility_name#13175408, standard_name#13175409, rmap_id#13175410, facility_type#13175411, is_known_facility#13175412, conformance_status#13175413, rmap_status#13175414, country_code#13175415, country_name#13175416, smelter_city#13175417, is_recycled_or_scrap#13175418, smelter_key#13175419, is_drc_covered#13175420, etl_runtime#13175421]
Arguments: [company_id#13175397, facility_id#13175398, request_id#13175399, response_id#13175400, launch_id#13175401, reporting_year#13175402, template_type#13175403, request_status#13175404, supplier_id#13175405, supplier_name#13175406, material#13175407, facility_name#13175408, standard_name#13175409, rmap_id#13175410, facility_type#13175411, is_known_facility#13175412, conformance_status#13175413, rmap_status#13175414, country_code#13175415, country_name#13175416, smelter_city#13175417, is_recycled_or_scrap#13175418, smelter_key#13175419, is_drc_covered#13175420, etl_runtime#13175421]
(2) InMemoryRelation
Arguments: [company_id#13175397, facility_id#13175398, request_id#13175399, response_id#13175400, launch_id#13175401, reporting_year#13175402, template_type#13175403, request_status#13175404, supplier_id#13175405, supplier_name#13175406, material#13175407, facility_name#13175408, standard_name#13175409, rmap_id#13175410, facility_type#13175411, is_known_facility#13175412, conformance_status#13175413, rmap_status#13175414, country_code#13175415, country_name#13175416, smelter_city#13175417, is_recycled_or_scrap#13175418, smelter_key#13175419, is_drc_covered#13175420, ... 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#13175397,facility_id#13175398,request_id#13175399,response_id#13175400,launch_id#13175401,reporting_year#13175402,template_type#13175403,request_status#13175404,supplier_id#13175405,supplier_name#13175406,material#13175407,facility_name#13175408,standard_name#13175409,rmap_id#13175410,facility_type#13175411,is_known_facility#13175412,conformance_status#13175413,rmap_status#13175414,country_code#13175415,country_name#13175416,smelter_city#13175417,is_recycled_or_scrap#13175418,smelter_key#13175419,is_drc_covered#13175420,... 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#13175397, facility_id#13175398, request_id#13175399, response_id#13175400, launch_id#13175401, reporting_year#13175402, template_type#13175403, request_status#13175404, supplier_id#13175405, supplier_name#13175406, material#13175407, facility_name#13175408, standard_name#13175409, rmap_id#13175410, facility_type#13175411, is_known_facility#13175412, conformance_status#13175413, rmap_status#13175414, country_code#13175415, country_name#13175416, smelter_city#13175417, is_recycled_or_scrap#13175418, smelter_key#13175419, is_drc_covered#13175420, etl_runtime#13175421, bigid#13175422L]
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#13175397, facility_id#13175398, request_id#13175399, response_id#13175400, launch_id#13175401, reporting_year#13175402, template_type#13175403, request_status#13175404, supplier_id#13175405, supplier_name#13175406, material#13175407, facility_name#13175408, standard_name#13175409, rmap_id#13175410, facility_type#13175411, is_known_facility#13175412, conformance_status#13175413, rmap_status#13175414, country_code#13175415, country_name#13175416, smelter_city#13175417, is_recycled_or_scrap#13175418, smelter_key#13175419, is_drc_covered#13175420, etl_runtime#13175421]
Arguments: 0
(5) DeserializeToObject
Input [25]: [company_id#13175397, facility_id#13175398, request_id#13175399, response_id#13175400, launch_id#13175401, reporting_year#13175402, template_type#13175403, request_status#13175404, supplier_id#13175405, supplier_name#13175406, material#13175407, facility_name#13175408, standard_name#13175409, rmap_id#13175410, facility_type#13175411, is_known_facility#13175412, conformance_status#13175413, rmap_status#13175414, country_code#13175415, country_name#13175416, smelter_city#13175417, is_recycled_or_scrap#13175418, smelter_key#13175419, is_drc_covered#13175420, etl_runtime#13175421]
Arguments: createexternalrow(company_id#13175397.toString, facility_id#13175398.toString, request_id#13175399.toString, response_id#13175400.toString, launch_id#13175401.toString, staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, reporting_year#13175402, true, false, true), template_type#13175403.toString, request_status#13175404.toString, supplier_id#13175405.toString, supplier_name#13175406.toString, material#13175407.toString, facility_name#13175408.toString, standard_name#13175409.toString, rmap_id#13175410.toString, facility_type#13175411.toString, is_known_facility#13175412.toString, conformance_status#13175413.toString, rmap_status#13175414.toString, country_code#13175415.toString, country_name#13175416.toString, smelter_city#13175417.toString, is_recycled_or_scrap#13175418.toString, smelter_key#13175419.toString, staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, is_drc_covered#13175420, true, false, true), ... 26 more fields), obj#13181332: org.apache.spark.sql.Row
(6) DeserializeToObject
Input [25]: [company_id#13175397, facility_id#13175398, request_id#13175399, response_id#13175400, launch_id#13175401, reporting_year#13175402, template_type#13175403, request_status#13175404, supplier_id#13175405, supplier_name#13175406, material#13175407, facility_name#13175408, standard_name#13175409, rmap_id#13175410, facility_type#13175411, is_known_facility#13175412, conformance_status#13175413, rmap_status#13175414, country_code#13175415, country_name#13175416, smelter_city#13175417, is_recycled_or_scrap#13175418, smelter_key#13175419, is_drc_covered#13175420, etl_runtime#13175421]
Arguments: createexternalrow(company_id#13175397.toString, facility_id#13175398.toString, request_id#13175399.toString, response_id#13175400.toString, launch_id#13175401.toString, staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, reporting_year#13175402, true, false, true), template_type#13175403.toString, request_status#13175404.toString, supplier_id#13175405.toString, supplier_name#13175406.toString, material#13175407.toString, facility_name#13175408.toString, standard_name#13175409.toString, rmap_id#13175410.toString, facility_type#13175411.toString, is_known_facility#13175412.toString, conformance_status#13175413.toString, rmap_status#13175414.toString, country_code#13175415.toString, country_name#13175416.toString, smelter_city#13175417.toString, is_recycled_or_scrap#13175418.toString, smelter_key#13175419.toString, staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, is_drc_covered#13175420, true, false, true), ... 26 more fields), obj#13181332: org.apache.spark.sql.Row
(7) AdaptiveSparkPlan
Output [1]: [obj#13181332]
Arguments: isFinalPlan=true