package org.apache.spark.sql.sources
trait PrunedScan {
def buildScan(): RDD[Row]
}
TableScan Contract — Relations with Column Pruning
TableScan
is the contract of BaseRelations with support for column pruning, i.e. can eliminate unneeded columns before producing an RDD containing all of its tuples as Row
objects.
Property | Description |
---|---|
|
Building distributed data scan with column pruning In other words, Used exclusively when |
Note
|
KafkaRelation is the one and only known implementation of the TableScan Contract in Spark SQL. |