Skip to content

Latest commit

 

History

History
44 lines (28 loc) · 1.84 KB

spark-sql-LogicalPlan-LogicalRDD.adoc

File metadata and controls

44 lines (28 loc) · 1.84 KB

LogicalRDD — Logical Scan Over RDD

LogicalRDD is a leaf logical operator with MultiInstanceRelation support for a logical representation of a scan over RDD of internal binary rows.

LogicalRDD is created when:

Note
LogicalRDD is resolved to RDDScanExec when BasicOperators execution planning strategy is executed.

newInstance Method

newInstance(): LogicalRDD.this.type
Note
newInstance is part of MultiInstanceRelation Contract to…​FIXME.

newInstance…​FIXME

Computing Statistics — computeStats Method

computeStats(): Statistics
Note
computeStats is part of LeafNode Contract to compute statistics for cost-based optimizer.

computeStats…​FIXME

Creating LogicalRDD Instance

LogicalRDD takes the following when created: