1. A system for performing constant vector computation, comprising: a computer system having a processor; a data access system that accesses a block or a vector of data during each operation; and the data access system having an engine executed by the processor that generates queries to run against the data in the data access system, the engine having constant vector detectors that determine when the block of data or the vector of data contains only identical values and the engine, during query execution, selecting vector or block consuming operators that optimize data processing for a particular operation based on whether or not one or more of the inputs to the particular operation are constant vectors.