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#10614211.toString, username#10614212.toString, Brandid#10614213.toString, staticinvoke(class org.apache.spark.sql.catalyst.util.DateTimeUtils$, ObjectType(class java.sql.Timestamp), toJavaTimestamp, etl_runtime#10614214, true, false, true), StructField(_id,StringType,true), StructField(username,StringType,true), StructField(Brandid,StringType,true), StructField(etl_runtime,TimestampType,true)), obj#10618927: org.apache.spark.sql.Row
InMemoryTableScan [_id#10614211, username#10614212, Brandid#10614213, etl_runtime#10614214]
Scan JDBCRelation((SELECT * FROM dbo.fact_user WHERE bigid BETWEEN 8632 AND 9926) AS page) [numPartitions=1] [_id#10614211,username#10614212,Brandid#10614213,etl_runtime#10614214,bigid#10614215] 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#10614211, username#10614212, Brandid#10614213, etl_runtime#10614214]
Arguments: [_id#10614211, username#10614212, Brandid#10614213, etl_runtime#10614214]
(2) InMemoryRelation
Arguments: [_id#10614211, username#10614212, Brandid#10614213, etl_runtime#10614214, bigid#10614215], CachedRDDBuilder(org.apache.spark.sql.execution.columnar.DefaultCachedBatchSerializer@7795a5ad,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#10614211,username#10614212,Brandid#10614213,etl_runtime#10614214,bigid#10614215] 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#10614211, username#10614212, Brandid#10614213, etl_runtime#10614214, bigid#10614215]
ReadSchema: struct<_id:string,username:string,Brandid:string,etl_runtime:timestamp,bigid:int>
(4) TableCacheQueryStage
Output [4]: [_id#10614211, username#10614212, Brandid#10614213, etl_runtime#10614214]
Arguments: 0
(5) DeserializeToObject
Input [4]: [_id#10614211, username#10614212, Brandid#10614213, etl_runtime#10614214]
Arguments: createexternalrow(_id#10614211.toString, username#10614212.toString, Brandid#10614213.toString, staticinvoke(class org.apache.spark.sql.catalyst.util.DateTimeUtils$, ObjectType(class java.sql.Timestamp), toJavaTimestamp, etl_runtime#10614214, true, false, true), StructField(_id,StringType,true), StructField(username,StringType,true), StructField(Brandid,StringType,true), StructField(etl_runtime,TimestampType,true)), obj#10618927: org.apache.spark.sql.Row
(6) DeserializeToObject
Input [4]: [_id#10614211, username#10614212, Brandid#10614213, etl_runtime#10614214]
Arguments: createexternalrow(_id#10614211.toString, username#10614212.toString, Brandid#10614213.toString, staticinvoke(class org.apache.spark.sql.catalyst.util.DateTimeUtils$, ObjectType(class java.sql.Timestamp), toJavaTimestamp, etl_runtime#10614214, true, false, true), StructField(_id,StringType,true), StructField(username,StringType,true), StructField(Brandid,StringType,true), StructField(etl_runtime,TimestampType,true)), obj#10618927: org.apache.spark.sql.Row
(7) AdaptiveSparkPlan
Output [1]: [obj#10618927]
Arguments: isFinalPlan=true