@Evolving public interface SupportsPushDownRequiredColumns extends ScanBuilder
ScanBuilder. Data sources can implement this interface to push down required columns to the data source and only read these columns during scan to reduce the size of the data to be read.
void pruneColumns(StructType requiredSchema)
Scan.readSchema()implementation should take care of the column pruning applied here.