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
With the current bqetl tooling, materialized_view.sql only get deployed once and the definitions don't get updated afterwards unless they're manually deleted.
For example, the currently deployed moz-fx-data-shared-prod.firefox_desktop_derived.event_monitoring_live_v1 has DATE(submission_timestamp) >= "2024-05-22" from when it was created but it should be the current date like in the generated sql
Additionally, materialized views don't get deleted when the materialized_view.sql is deleted. We should update the bqetl deploy code so that the deployed objects match what's in the generated sql.
One thing to be careful of is potential costs with recreating a materialized view frequently which might be more expensive than the incremental updates. We should see if it this is relevant for any of the existing views and make sure any generated materialized views have deterministic output.
With the current bqetl tooling,
materialized_view.sql
only get deployed once and the definitions don't get updated afterwards unless they're manually deleted.For example, the currently deployed
moz-fx-data-shared-prod.firefox_desktop_derived.event_monitoring_live_v1
hasDATE(submission_timestamp) >= "2024-05-22"
from when it was created but it should be the current date like in the generated sqlbigquery-etl/sql/moz-fx-data-shared-prod/firefox_desktop_derived/event_monitoring_live_v1/materialized_view.sql
Line 93 in 10d2d01
Additionally, materialized views don't get deleted when the
materialized_view.sql
is deleted. We should update the bqetl deploy code so that the deployed objects match what's in the generated sql.One thing to be careful of is potential costs with recreating a materialized view frequently which might be more expensive than the incremental updates. We should see if it this is relevant for any of the existing views and make sure any generated materialized views have deterministic output.
┆Issue is synchronized with this Jira Task
The text was updated successfully, but these errors were encountered: