This illustration depicts a parsed query (from the parser) entering the Query Transformer.
The transformed query is then sent to the Estimator. Statistics are retrieved from the Dictionary, then the query and estimates are sent to the Plan Generator.
The plan generator either returns the plan to the estimator or sends the query plan to the row source generator.
End of image description.