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: 23"];
subgraph cluster3 {
isCluster="true";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
4 [labelType="html" label="<b>Scan JDBCRelation((SELECT * FROM dbo.fact_spa_audit_completion_overview WHERE bigid BETWEEN 1 AND 23) AS page) [numPartitions=1] </b><br><br>number of output rows: 0"];
}
1->0;
2->1;
4->2;
}
5
AdaptiveSparkPlan isFinalPlan=true
DeserializeToObject createexternalrow(company_id#10587876.toString, sup_type#10587877.toString, ind_key_value#10587878.toString, staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, total_vendors#10587879, true, false, true), staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, audit_completed#10587880, true, false, true), date_range#10587881.toString, staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, percentage#10587882, true, false, true), StructField(company_id,StringType,true), StructField(sup_type,StringType,true), StructField(ind_key_value,StringType,true), StructField(total_vendors,IntegerType,true), StructField(audit_completed,IntegerType,true), StructField(date_range,StringType,true), StructField(percentage,IntegerType,true)), obj#10590757: org.apache.spark.sql.Row
InMemoryTableScan [company_id#10587876, sup_type#10587877, ind_key_value#10587878, total_vendors#10587879, audit_completed#10587880, date_range#10587881, percentage#10587882]
Scan JDBCRelation((SELECT * FROM dbo.fact_spa_audit_completion_overview WHERE bigid BETWEEN 1 AND 23) AS page) [numPartitions=1] [company_id#10587876,sup_type#10587877,ind_key_value#10587878,total_vendors#10587879,audit_completed#10587880,date_range#10587881,percentage#10587882,bigid#10587883L] PushedFilters: [], ReadSchema: struct<company_id:string,sup_type:string,ind_key_value:string,total_vendors:int,audit_completed:i...
WholeStageCodegen (1)
== Physical Plan ==
AdaptiveSparkPlan (7)
+- == Final Plan ==
DeserializeToObject (5)
+- TableCacheQueryStage (4), Statistics(sizeInBytes=21.2 KiB, rowCount=23)
+- InMemoryTableScan (1)
+- InMemoryRelation (2)
+- * Scan JDBCRelation((SELECT * FROM dbo.fact_spa_audit_completion_overview WHERE bigid BETWEEN 1 AND 23) AS page) [numPartitions=1] (3)
+- == Initial Plan ==
DeserializeToObject (6)
+- InMemoryTableScan (1)
+- InMemoryRelation (2)
+- * Scan JDBCRelation((SELECT * FROM dbo.fact_spa_audit_completion_overview WHERE bigid BETWEEN 1 AND 23) AS page) [numPartitions=1] (3)
(1) InMemoryTableScan
Output [7]: [company_id#10587876, sup_type#10587877, ind_key_value#10587878, total_vendors#10587879, audit_completed#10587880, date_range#10587881, percentage#10587882]
Arguments: [company_id#10587876, sup_type#10587877, ind_key_value#10587878, total_vendors#10587879, audit_completed#10587880, date_range#10587881, percentage#10587882]
(2) InMemoryRelation
Arguments: [company_id#10587876, sup_type#10587877, ind_key_value#10587878, total_vendors#10587879, audit_completed#10587880, date_range#10587881, percentage#10587882, bigid#10587883L], CachedRDDBuilder(org.apache.spark.sql.execution.columnar.DefaultCachedBatchSerializer@7795a5ad,StorageLevel(disk, memory, deserialized, 1 replicas),*(1) Scan JDBCRelation((SELECT * FROM dbo.fact_spa_audit_completion_overview WHERE bigid BETWEEN 1 AND 23) AS page) [numPartitions=1] [company_id#10587876,sup_type#10587877,ind_key_value#10587878,total_vendors#10587879,audit_completed#10587880,date_range#10587881,percentage#10587882,bigid#10587883L] PushedFilters: [], ReadSchema: struct<company_id:string,sup_type:string,ind_key_value:string,total_vendors:int,audit_completed:i...
,None)
(3) Scan JDBCRelation((SELECT * FROM dbo.fact_spa_audit_completion_overview WHERE bigid BETWEEN 1 AND 23) AS page) [numPartitions=1] [codegen id : 1]
Output [8]: [company_id#10587876, sup_type#10587877, ind_key_value#10587878, total_vendors#10587879, audit_completed#10587880, date_range#10587881, percentage#10587882, bigid#10587883L]
ReadSchema: struct<company_id:string,sup_type:string,ind_key_value:string,total_vendors:int,audit_completed:int,date_range:string,percentage:int,bigid:bigint>
(4) TableCacheQueryStage
Output [7]: [company_id#10587876, sup_type#10587877, ind_key_value#10587878, total_vendors#10587879, audit_completed#10587880, date_range#10587881, percentage#10587882]
Arguments: 0
(5) DeserializeToObject
Input [7]: [company_id#10587876, sup_type#10587877, ind_key_value#10587878, total_vendors#10587879, audit_completed#10587880, date_range#10587881, percentage#10587882]
Arguments: createexternalrow(company_id#10587876.toString, sup_type#10587877.toString, ind_key_value#10587878.toString, staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, total_vendors#10587879, true, false, true), staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, audit_completed#10587880, true, false, true), date_range#10587881.toString, staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, percentage#10587882, true, false, true), StructField(company_id,StringType,true), StructField(sup_type,StringType,true), StructField(ind_key_value,StringType,true), StructField(total_vendors,IntegerType,true), StructField(audit_completed,IntegerType,true), StructField(date_range,StringType,true), StructField(percentage,IntegerType,true)), obj#10590757: org.apache.spark.sql.Row
(6) DeserializeToObject
Input [7]: [company_id#10587876, sup_type#10587877, ind_key_value#10587878, total_vendors#10587879, audit_completed#10587880, date_range#10587881, percentage#10587882]
Arguments: createexternalrow(company_id#10587876.toString, sup_type#10587877.toString, ind_key_value#10587878.toString, staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, total_vendors#10587879, true, false, true), staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, audit_completed#10587880, true, false, true), date_range#10587881.toString, staticinvoke(class java.lang.Integer, ObjectType(class java.lang.Integer), valueOf, percentage#10587882, true, false, true), StructField(company_id,StringType,true), StructField(sup_type,StringType,true), StructField(ind_key_value,StringType,true), StructField(total_vendors,IntegerType,true), StructField(audit_completed,IntegerType,true), StructField(date_range,StringType,true), StructField(percentage,IntegerType,true)), obj#10590757: org.apache.spark.sql.Row
(7) AdaptiveSparkPlan
Output [1]: [obj#10590757]
Arguments: isFinalPlan=true