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: 26"];
subgraph cluster3 {
isCluster="true";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
4 [labelType="html" label="<b>Scan JDBCRelation((SELECT * FROM dbo.fact_pdc_volume_Summary WHERE bigid BETWEEN 1 AND 26) AS page) [numPartitions=1] </b><br><br>number of output rows: 0"];
}
1->0;
2->1;
4->2;
}
5
AdaptiveSparkPlan isFinalPlan=true
DeserializeToObject createexternalrow(brand_id#10494123.toString, company_id#10494124.toString, product_id#10494125.toString, season#10494126.toString, reference_code#10494127.toString, Material Composition#10494128.toString, Material#10494129.toString, staticinvoke(class java.lang.Double, ObjectType(class java.lang.Double), valueOf, material_composition_value#10494130, true, false, true), launch_details_config_name#10494131.toString, submission_status#10494132.toString, entity_id#10494133.toString, division#10494134.toString, unique_division_key#10494135.toString, staticinvoke(class java.lang.Double, ObjectType(class java.lang.Double), valueOf, Overall_volume#10494136, true, false, true), staticinvoke(class java.lang.Double, ObjectType(class java.lang.Double), valueOf, Traced_volume#10494137, true, false, true), staticinvoke(class java.lang.Double, ObjectType(class java.lang.Double), valueOf, 80% Total Volume (Kg)#10494138, true, false, true), staticinvoke(class java.lang.Double, ObjectType(class java.lang.Double), valueOf, Progress on Total Volume (%)#10494139, true, false, true), staticinvoke(class java.lang.Double, ObjectType(class java.lang.Double), valueOf, Progress on 80% Volume (%)#10494140, true, false, true), StructField(brand_id,StringType,true), StructField(company_id,StringType,true), StructField(product_id,StringType,true), StructField(season,StringType,true), StructField(reference_code,StringType,true), StructField(Material Composition,StringType,true), ... 12 more fields), obj#10497788: org.apache.spark.sql.Row
InMemoryTableScan [brand_id#10494123, company_id#10494124, product_id#10494125, season#10494126, reference_code#10494127, Material Composition#10494128, Material#10494129, material_composition_value#10494130, launch_details_config_name#10494131, submission_status#10494132, entity_id#10494133, division#10494134, unique_division_key#10494135, Overall_volume#10494136, Traced_volume#10494137, 80% Total Volume (Kg)#10494138, Progress on Total Volume (%)#10494139, Progress on 80% Volume (%)#10494140]
Scan JDBCRelation((SELECT * FROM dbo.fact_pdc_volume_Summary WHERE bigid BETWEEN 1 AND 26) AS page) [numPartitions=1] [brand_id#10494123,company_id#10494124,product_id#10494125,season#10494126,reference_code#10494127,Material Composition#10494128,Material#10494129,material_composition_value#10494130,launch_details_config_name#10494131,submission_status#10494132,entity_id#10494133,division#10494134,unique_division_key#10494135,Overall_volume#10494136,Traced_volume#10494137,80% Total Volume (Kg)#10494138,Progress on Total Volume (%)#10494139,Progress on 80% Volume (%)#10494140,bigid#10494141L] PushedFilters: [], ReadSchema: struct<brand_id:string,company_id:string,product_id:string,season:string,reference_code:string,Ma...
WholeStageCodegen (1)
== Physical Plan ==
AdaptiveSparkPlan (7)
+- == Final Plan ==
DeserializeToObject (5)
+- TableCacheQueryStage (4), Statistics(sizeInBytes=7.9 KiB, rowCount=26)
+- InMemoryTableScan (1)
+- InMemoryRelation (2)
+- * Scan JDBCRelation((SELECT * FROM dbo.fact_pdc_volume_Summary WHERE bigid BETWEEN 1 AND 26) AS page) [numPartitions=1] (3)
+- == Initial Plan ==
DeserializeToObject (6)
+- InMemoryTableScan (1)
+- InMemoryRelation (2)
+- * Scan JDBCRelation((SELECT * FROM dbo.fact_pdc_volume_Summary WHERE bigid BETWEEN 1 AND 26) AS page) [numPartitions=1] (3)
(1) InMemoryTableScan
Output [18]: [brand_id#10494123, company_id#10494124, product_id#10494125, season#10494126, reference_code#10494127, Material Composition#10494128, Material#10494129, material_composition_value#10494130, launch_details_config_name#10494131, submission_status#10494132, entity_id#10494133, division#10494134, unique_division_key#10494135, Overall_volume#10494136, Traced_volume#10494137, 80% Total Volume (Kg)#10494138, Progress on Total Volume (%)#10494139, Progress on 80% Volume (%)#10494140]
Arguments: [brand_id#10494123, company_id#10494124, product_id#10494125, season#10494126, reference_code#10494127, Material Composition#10494128, Material#10494129, material_composition_value#10494130, launch_details_config_name#10494131, submission_status#10494132, entity_id#10494133, division#10494134, unique_division_key#10494135, Overall_volume#10494136, Traced_volume#10494137, 80% Total Volume (Kg)#10494138, Progress on Total Volume (%)#10494139, Progress on 80% Volume (%)#10494140]
(2) InMemoryRelation
Arguments: [brand_id#10494123, company_id#10494124, product_id#10494125, season#10494126, reference_code#10494127, Material Composition#10494128, Material#10494129, material_composition_value#10494130, launch_details_config_name#10494131, submission_status#10494132, entity_id#10494133, division#10494134, unique_division_key#10494135, Overall_volume#10494136, Traced_volume#10494137, 80% Total Volume (Kg)#10494138, Progress on Total Volume (%)#10494139, Progress on 80% Volume (%)#10494140, bigid#10494141L], CachedRDDBuilder(org.apache.spark.sql.execution.columnar.DefaultCachedBatchSerializer@7795a5ad,StorageLevel(disk, memory, deserialized, 1 replicas),*(1) Scan JDBCRelation((SELECT * FROM dbo.fact_pdc_volume_Summary WHERE bigid BETWEEN 1 AND 26) AS page) [numPartitions=1] [brand_id#10494123,company_id#10494124,product_id#10494125,season#10494126,reference_code#10494127,Material Composition#10494128,Material#10494129,material_composition_value#10494130,launch_details_config_name#10494131,submission_status#10494132,entity_id#10494133,division#10494134,unique_division_key#10494135,Overall_volume#10494136,Traced_volume#10494137,80% Total Volume (Kg)#10494138,Progress on Total Volume (%)#10494139,Progress on 80% Volume (%)#10494140,bigid#10494141L] PushedFilters: [], ReadSchema: struct<brand_id:string,company_id:string,product_id:string,season:string,reference_code:string,Ma...
,None)
(3) Scan JDBCRelation((SELECT * FROM dbo.fact_pdc_volume_Summary WHERE bigid BETWEEN 1 AND 26) AS page) [numPartitions=1] [codegen id : 1]
Output [19]: [brand_id#10494123, company_id#10494124, product_id#10494125, season#10494126, reference_code#10494127, Material Composition#10494128, Material#10494129, material_composition_value#10494130, launch_details_config_name#10494131, submission_status#10494132, entity_id#10494133, division#10494134, unique_division_key#10494135, Overall_volume#10494136, Traced_volume#10494137, 80% Total Volume (Kg)#10494138, Progress on Total Volume (%)#10494139, Progress on 80% Volume (%)#10494140, bigid#10494141L]
ReadSchema: struct<brand_id:string,company_id:string,product_id:string,season:string,reference_code:string,Material Composition:string,Material:string,material_composition_value:double,launch_details_config_name:string,submission_status:string,entity_id:string,division:string,unique_division_key:string,Overall_volume:double,Traced_volume:double,80% Total Volume (Kg):double,Progress on Total Volume (%):double,Progress on 80% Volume (%):double,bigid:bigint>
(4) TableCacheQueryStage
Output [18]: [brand_id#10494123, company_id#10494124, product_id#10494125, season#10494126, reference_code#10494127, Material Composition#10494128, Material#10494129, material_composition_value#10494130, launch_details_config_name#10494131, submission_status#10494132, entity_id#10494133, division#10494134, unique_division_key#10494135, Overall_volume#10494136, Traced_volume#10494137, 80% Total Volume (Kg)#10494138, Progress on Total Volume (%)#10494139, Progress on 80% Volume (%)#10494140]
Arguments: 0
(5) DeserializeToObject
Input [18]: [brand_id#10494123, company_id#10494124, product_id#10494125, season#10494126, reference_code#10494127, Material Composition#10494128, Material#10494129, material_composition_value#10494130, launch_details_config_name#10494131, submission_status#10494132, entity_id#10494133, division#10494134, unique_division_key#10494135, Overall_volume#10494136, Traced_volume#10494137, 80% Total Volume (Kg)#10494138, Progress on Total Volume (%)#10494139, Progress on 80% Volume (%)#10494140]
Arguments: createexternalrow(brand_id#10494123.toString, company_id#10494124.toString, product_id#10494125.toString, season#10494126.toString, reference_code#10494127.toString, Material Composition#10494128.toString, Material#10494129.toString, staticinvoke(class java.lang.Double, ObjectType(class java.lang.Double), valueOf, material_composition_value#10494130, true, false, true), launch_details_config_name#10494131.toString, submission_status#10494132.toString, entity_id#10494133.toString, division#10494134.toString, unique_division_key#10494135.toString, staticinvoke(class java.lang.Double, ObjectType(class java.lang.Double), valueOf, Overall_volume#10494136, true, false, true), staticinvoke(class java.lang.Double, ObjectType(class java.lang.Double), valueOf, Traced_volume#10494137, true, false, true), staticinvoke(class java.lang.Double, ObjectType(class java.lang.Double), valueOf, 80% Total Volume (Kg)#10494138, true, false, true), staticinvoke(class java.lang.Double, ObjectType(class java.lang.Double), valueOf, Progress on Total Volume (%)#10494139, true, false, true), staticinvoke(class java.lang.Double, ObjectType(class java.lang.Double), valueOf, Progress on 80% Volume (%)#10494140, true, false, true), StructField(brand_id,StringType,true), StructField(company_id,StringType,true), StructField(product_id,StringType,true), StructField(season,StringType,true), StructField(reference_code,StringType,true), StructField(Material Composition,StringType,true), ... 12 more fields), obj#10497788: org.apache.spark.sql.Row
(6) DeserializeToObject
Input [18]: [brand_id#10494123, company_id#10494124, product_id#10494125, season#10494126, reference_code#10494127, Material Composition#10494128, Material#10494129, material_composition_value#10494130, launch_details_config_name#10494131, submission_status#10494132, entity_id#10494133, division#10494134, unique_division_key#10494135, Overall_volume#10494136, Traced_volume#10494137, 80% Total Volume (Kg)#10494138, Progress on Total Volume (%)#10494139, Progress on 80% Volume (%)#10494140]
Arguments: createexternalrow(brand_id#10494123.toString, company_id#10494124.toString, product_id#10494125.toString, season#10494126.toString, reference_code#10494127.toString, Material Composition#10494128.toString, Material#10494129.toString, staticinvoke(class java.lang.Double, ObjectType(class java.lang.Double), valueOf, material_composition_value#10494130, true, false, true), launch_details_config_name#10494131.toString, submission_status#10494132.toString, entity_id#10494133.toString, division#10494134.toString, unique_division_key#10494135.toString, staticinvoke(class java.lang.Double, ObjectType(class java.lang.Double), valueOf, Overall_volume#10494136, true, false, true), staticinvoke(class java.lang.Double, ObjectType(class java.lang.Double), valueOf, Traced_volume#10494137, true, false, true), staticinvoke(class java.lang.Double, ObjectType(class java.lang.Double), valueOf, 80% Total Volume (Kg)#10494138, true, false, true), staticinvoke(class java.lang.Double, ObjectType(class java.lang.Double), valueOf, Progress on Total Volume (%)#10494139, true, false, true), staticinvoke(class java.lang.Double, ObjectType(class java.lang.Double), valueOf, Progress on 80% Volume (%)#10494140, true, false, true), StructField(brand_id,StringType,true), StructField(company_id,StringType,true), StructField(product_id,StringType,true), StructField(season,StringType,true), StructField(reference_code,StringType,true), StructField(Material Composition,StringType,true), ... 12 more fields), obj#10497788: org.apache.spark.sql.Row
(7) AdaptiveSparkPlan
Output [1]: [obj#10497788]
Arguments: isFinalPlan=true