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.
1 2 3 4 5 6 7 8 9 |
package org.apache.spark.sql.sources trait PrunedScan { def buildScan(): RDD[Row] } |
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. |