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: 1,295"];
subgraph cluster3 {
isCluster="true";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
4 [labelType="html" label="<b>Scan JDBCRelation((SELECT * FROM dbo.fact_user WHERE bigid BETWEEN 8632 AND 9926) AS page) [numPartitions=1] </b><br><br>number of output rows: 0"];
}
1->0;
2->1;
4->2;
}
5
AdaptiveSparkPlan isFinalPlan=true
DeserializeToObject createexternalrow(_id#20594363.toString, username#20594364.toString, Brandid#20594365.toString, staticinvoke(class org.apache.spark.sql.catalyst.util.DateTimeUtils$, ObjectType(class java.sql.Timestamp), toJavaTimestamp, etl_runtime#20594366, true, false, true), StructField(_id,StringType,true), StructField(username,StringType,true), StructField(Brandid,StringType,true), StructField(etl_runtime,TimestampType,true)), obj#20594724: org.apache.spark.sql.Row
InMemoryTableScan [_id#20594363, username#20594364, Brandid#20594365, etl_runtime#20594366]
Scan JDBCRelation((SELECT * FROM dbo.fact_user WHERE bigid BETWEEN 8632 AND 9926) AS page) [numPartitions=1] [_id#20594363,username#20594364,Brandid#20594365,etl_runtime#20594366,bigid#20594367] PushedFilters: [], ReadSchema: struct<_id:string,username:string,Brandid:string,etl_runtime:timestamp,bigid:int>
WholeStageCodegen (1)
== Physical Plan ==
AdaptiveSparkPlan (7)
+- == Final Plan ==
DeserializeToObject (5)
+- TableCacheQueryStage (4), Statistics(sizeInBytes=124.5 KiB, rowCount=1.30E+3)
+- InMemoryTableScan (1)
+- InMemoryRelation (2)
+- * Scan JDBCRelation((SELECT * FROM dbo.fact_user WHERE bigid BETWEEN 8632 AND 9926) AS page) [numPartitions=1] (3)
+- == Initial Plan ==
DeserializeToObject (6)
+- InMemoryTableScan (1)
+- InMemoryRelation (2)
+- * Scan JDBCRelation((SELECT * FROM dbo.fact_user WHERE bigid BETWEEN 8632 AND 9926) AS page) [numPartitions=1] (3)
(1) InMemoryTableScan
Output [4]: [_id#20594363, username#20594364, Brandid#20594365, etl_runtime#20594366]
Arguments: [_id#20594363, username#20594364, Brandid#20594365, etl_runtime#20594366]
(2) InMemoryRelation
Arguments: [_id#20594363, username#20594364, Brandid#20594365, etl_runtime#20594366, bigid#20594367], CachedRDDBuilder(org.apache.spark.sql.execution.columnar.DefaultCachedBatchSerializer@14de14ab,StorageLevel(disk, memory, deserialized, 1 replicas),*(1) Scan JDBCRelation((SELECT * FROM dbo.fact_user WHERE bigid BETWEEN 8632 AND 9926) AS page) [numPartitions=1] [_id#20594363,username#20594364,Brandid#20594365,etl_runtime#20594366,bigid#20594367] PushedFilters: [], ReadSchema: struct<_id:string,username:string,Brandid:string,etl_runtime:timestamp,bigid:int>
,None)
(3) Scan JDBCRelation((SELECT * FROM dbo.fact_user WHERE bigid BETWEEN 8632 AND 9926) AS page) [numPartitions=1] [codegen id : 1]
Output [5]: [_id#20594363, username#20594364, Brandid#20594365, etl_runtime#20594366, bigid#20594367]
ReadSchema: struct<_id:string,username:string,Brandid:string,etl_runtime:timestamp,bigid:int>
(4) TableCacheQueryStage
Output [4]: [_id#20594363, username#20594364, Brandid#20594365, etl_runtime#20594366]
Arguments: 0
(5) DeserializeToObject
Input [4]: [_id#20594363, username#20594364, Brandid#20594365, etl_runtime#20594366]
Arguments: createexternalrow(_id#20594363.toString, username#20594364.toString, Brandid#20594365.toString, staticinvoke(class org.apache.spark.sql.catalyst.util.DateTimeUtils$, ObjectType(class java.sql.Timestamp), toJavaTimestamp, etl_runtime#20594366, true, false, true), StructField(_id,StringType,true), StructField(username,StringType,true), StructField(Brandid,StringType,true), StructField(etl_runtime,TimestampType,true)), obj#20594724: org.apache.spark.sql.Row
(6) DeserializeToObject
Input [4]: [_id#20594363, username#20594364, Brandid#20594365, etl_runtime#20594366]
Arguments: createexternalrow(_id#20594363.toString, username#20594364.toString, Brandid#20594365.toString, staticinvoke(class org.apache.spark.sql.catalyst.util.DateTimeUtils$, ObjectType(class java.sql.Timestamp), toJavaTimestamp, etl_runtime#20594366, true, false, true), StructField(_id,StringType,true), StructField(username,StringType,true), StructField(Brandid,StringType,true), StructField(etl_runtime,TimestampType,true)), obj#20594724: org.apache.spark.sql.Row
(7) AdaptiveSparkPlan
Output [1]: [obj#20594724]
Arguments: isFinalPlan=true