Query Optimization in Snowflake (QOSF)