== 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#16940293, facility_id#16940294, request_id#16940295, response_id#16940296, launch_id#16940297, reporting_year#16940298, template_type#16940299, request_status#16940300, supplier_id#16940301, supplier_name#16940302, material#16940303, facility_name#16940304, standard_name#16940305, rmap_id#16940306, facility_type#16940307, is_known_facility#16940308, conformance_status#16940309, rmap_status#16940310, country_code#16940311, country_name#16940312, smelter_city#16940313, is_recycled_or_scrap#16940314, smelter_key#16940315, is_drc_covered#16940316, etl_runtime#16940317]
Arguments: [company_id#16940293, facility_id#16940294, request_id#16940295, response_id#16940296, launch_id#16940297, reporting_year#16940298, template_type#16940299, request_status#16940300, supplier_id#16940301, supplier_name#16940302, material#16940303, facility_name#16940304, standard_name#16940305, rmap_id#16940306, facility_type#16940307, is_known_facility#16940308, conformance_status#16940309, rmap_status#16940310, country_code#16940311, country_name#16940312, smelter_city#16940313, is_recycled_or_scrap#16940314, smelter_key#16940315, is_drc_covered#16940316, etl_runtime#16940317]
(2) InMemoryRelation
Arguments: [company_id#16940293, facility_id#16940294, request_id#16940295, response_id#16940296, launch_id#16940297, reporting_year#16940298, template_type#16940299, request_status#16940300, supplier_id#16940301, supplier_name#16940302, material#16940303, facility_name#16940304, standard_name#16940305, rmap_id#16940306, facility_type#16940307, is_known_facility#16940308, conformance_status#16940309, rmap_status#16940310, country_code#16940311, country_name#16940312, smelter_city#16940313, is_recycled_or_scrap#16940314, smelter_key#16940315, is_drc_covered#16940316, ... 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#16940293,facility_id#16940294,request_id#16940295,response_id#16940296,launch_id#16940297,reporting_year#16940298,template_type#16940299,request_status#16940300,supplier_id#16940301,supplier_name#16940302,material#16940303,facility_name#16940304,standard_name#16940305,rmap_id#16940306,facility_type#16940307,is_known_facility#16940308,conformance_status#16940309,rmap_status#16940310,country_code#16940311,country_name#16940312,smelter_city#16940313,is_recycled_or_scrap#16940314,smelter_key#16940315,is_drc_covered#16940316,... 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#16940293, facility_id#16940294, request_id#16940295, response_id#16940296, launch_id#16940297, reporting_year#16940298, template_type#16940299, request_status#16940300, supplier_id#16940301, supplier_name#16940302, material#16940303, facility_name#16940304, standard_name#16940305, rmap_id#16940306, facility_type#16940307, is_known_facility#16940308, conformance_status#16940309, rmap_status#16940310, country_code#16940311, country_name#16940312, smelter_city#16940313, is_recycled_or_scrap#16940314, smelter_key#16940315, is_drc_covered#16940316, etl_runtime#16940317, bigid#16940318L]
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#16940293, facility_id#16940294, request_id#16940295, response_id#16940296, launch_id#16940297, reporting_year#16940298, template_type#16940299, request_status#16940300, supplier_id#16940301, supplier_name#16940302, material#16940303, facility_name#16940304, standard_name#16940305, rmap_id#16940306, facility_type#16940307, is_known_facility#16940308, conformance_status#16940309, rmap_status#16940310, country_code#16940311, country_name#16940312, smelter_city#16940313, is_recycled_or_scrap#16940314, smelter_key#16940315, is_drc_covered#16940316, etl_runtime#16940317]
Arguments: 0
(5) DeserializeToObject
Input [25]: [company_id#16940293, facility_id#16940294, request_id#16940295, response_id#16940296, launch_id#16940297, reporting_year#16940298, template_type#16940299, request_status#16940300, supplier_id#16940301, supplier_name#16940302, material#16940303, facility_name#16940304, standard_name#16940305, rmap_id#16940306, facility_type#16940307, is_known_facility#16940308, conformance_status#16940309, rmap_status#16940310, country_code#16940311, country_name#16940312, smelter_city#16940313, is_recycled_or_scrap#16940314, smelter_key#16940315, is_drc_covered#16940316, etl_runtime#16940317]
Arguments: createexternalrow(company_id#16940293.toString, facility_id#16940294.toString, request_id#16940295.toString, response_id#16940296.toString, launch_id#16940297.toString, staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, reporting_year#16940298, true, false, true), template_type#16940299.toString, request_status#16940300.toString, supplier_id#16940301.toString, supplier_name#16940302.toString, material#16940303.toString, facility_name#16940304.toString, standard_name#16940305.toString, rmap_id#16940306.toString, facility_type#16940307.toString, is_known_facility#16940308.toString, conformance_status#16940309.toString, rmap_status#16940310.toString, country_code#16940311.toString, country_name#16940312.toString, smelter_city#16940313.toString, is_recycled_or_scrap#16940314.toString, smelter_key#16940315.toString, staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, is_drc_covered#16940316, true, false, true), ... 26 more fields), obj#16944067: org.apache.spark.sql.Row
(6) DeserializeToObject
Input [25]: [company_id#16940293, facility_id#16940294, request_id#16940295, response_id#16940296, launch_id#16940297, reporting_year#16940298, template_type#16940299, request_status#16940300, supplier_id#16940301, supplier_name#16940302, material#16940303, facility_name#16940304, standard_name#16940305, rmap_id#16940306, facility_type#16940307, is_known_facility#16940308, conformance_status#16940309, rmap_status#16940310, country_code#16940311, country_name#16940312, smelter_city#16940313, is_recycled_or_scrap#16940314, smelter_key#16940315, is_drc_covered#16940316, etl_runtime#16940317]
Arguments: createexternalrow(company_id#16940293.toString, facility_id#16940294.toString, request_id#16940295.toString, response_id#16940296.toString, launch_id#16940297.toString, staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, reporting_year#16940298, true, false, true), template_type#16940299.toString, request_status#16940300.toString, supplier_id#16940301.toString, supplier_name#16940302.toString, material#16940303.toString, facility_name#16940304.toString, standard_name#16940305.toString, rmap_id#16940306.toString, facility_type#16940307.toString, is_known_facility#16940308.toString, conformance_status#16940309.toString, rmap_status#16940310.toString, country_code#16940311.toString, country_name#16940312.toString, smelter_city#16940313.toString, is_recycled_or_scrap#16940314.toString, smelter_key#16940315.toString, staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, is_drc_covered#16940316, true, false, true), ... 26 more fields), obj#16944067: org.apache.spark.sql.Row
(7) AdaptiveSparkPlan
Output [1]: [obj#16944067]
Arguments: isFinalPlan=true