Query optimizers reduce the cost of queries while retaining the original intended functionality. Furthermore, query optimization seeks to reduce the volume of data accessed, further reducing costs.
A lot happens within the Snowflake query optimizer, and not every detail is known to the wider user community. I have drawn upon available sources to piece together what can be shared, although the optimizer behavior might have changed by the time you read this as a natural consequence of development and maintenance. ...