Class ColumnsScanFramework

All Implemented Interfaces:
ScanOperatorEvents

public class ColumnsScanFramework extends FileScanFramework
Scan framework for a file that supports the special "columns" column.

The logic here is a bit tricky. The CSV (really, "compliant text") reader operates in multiple modes. If a header is required, then the columns array is not allowed. If the header is not loaded, then the columns array must be used.

This class combines the above semantics with the projection list from the query. It handles things like two appearances of the unadorned columns identifier, the use of the columns identifier when it is not allowed, etc.