Module mz_adapter::optimize::view
source · Expand description
An Optimizer that
- Optimistically calls
optimize_mir_constant
. - Then, if we haven’t arrived at a constant, it calls
optimize_mir_local
, i.e., the logical optimizer.
This is used for CREATE VIEW
statements and in various other situations where no physical
optimization is needed, such as for INSERT
statements.