We have an issue where Snowflake returns a different value for a column depending on the order of joins and usage of using
vs on
:
this incorrectly returns product_types.created_at_utc
in the place of products.created_at_utc
.
query id: ef66f8a8-70b2-44eb-a612-f41afb8b5aa2
snowsql>select products__intermediate.product_id, product_types.created_at_utc as product_type, products__intermediate.created_at_utc as product,
vendors.created_at_utc as vendor from temp.products__intermediate left join staging.product_types on products__intermediate.product_type