SupportsScanColumnarBatch
is the contract…FIXME
package org.apache.spark.sql.sources.v2.reader;
public interface SupportsScanColumnarBatch extends DataSourceReader {
// only required methods that have no implementation
// the others follow
List<DataReaderFactory<ColumnarBatch>> createBatchDataReaderFactories();
}
Note
|
In other words, using the contract is as treading on thin ice. |
Method | Description |
---|---|
Used when…FIXME |
Note
|
No custom SupportsScanColumnarBatch are part of Spark 2.3.
|
default boolean enableBatchRead()
enableBatchRead
flag is always enabled (i.e. true
) unless overrode by custom SupportsScanColumnarBatches.
Note
|
enableBatchRead is used when…FIXME
|