V1Scan¶
V1Scan
is an extension of the Scan abstraction for V1 DataSources that would like to participate in the DataSource V2 read code paths.
Contract¶
toV1TableScan¶
<T extends BaseRelation & TableScan> T toV1TableScan(
SQLContext context)
BaseRelation with TableScan to scan data from a DataSource v1 (to RDD[Row]
)
Used when:
- DataSourceV2Strategy execution planning strategy is executed (to plan DataSourceV2ScanRelation with
V1Scan
to RowDataSourceScanExec)