You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does the filter condition (updates.last_record = 1) needs to be applied as a outer query after applying last_value function , looking at the query plan from Snowflake, current code is applying the filter first to get the latest record and then its executing the last value function on the latest record.
Query plan with filter applied in the inner query :
Query plan after filter applied in the outer query :
The text was updated successfully, but these errors were encountered:
Does the filter condition (updates.last_record = 1) needs to be applied as a outer query after applying last_value function , looking at the query plan from Snowflake, current code is applying the filter first to get the latest record and then its executing the last value function on the latest record.
Query plan with filter applied in the inner query :
Query plan after filter applied in the outer query :
The text was updated successfully, but these errors were encountered: