Module mz_adapter::optimize::view

source ·
Expand description

An Optimizer that

  1. Optimistically calls optimize_mir_constant.
  2. 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.

Structs§