diff --git a/sql/procedure/user_session_event_aggregated_metrics.sqlx b/sql/procedure/user_session_event_aggregated_metrics.sqlx index 1872d35d..fb47020c 100644 --- a/sql/procedure/user_session_event_aggregated_metrics.sqlx +++ b/sql/procedure/user_session_event_aggregated_metrics.sqlx @@ -290,7 +290,7 @@ SET end_date = DATE_SUB(end_date, INTERVAL 1 DAY); AND D.device_os IS NOT NULL ); - INSERT INTO {{project_id}}.{{dataset}}.{{insert_table}}` + INSERT INTO `{{project_id}}.{{dataset}}.{{insert_table}}` SELECT CURRENT_TIMESTAMP() AS processed_timestamp, EUD.feature_date, diff --git a/sql/query/invoke_backfill_user_lifetime_dimensions.sqlx b/sql/query/invoke_backfill_user_lifetime_dimensions.sqlx index d028eb9d..524e476b 100644 --- a/sql/query/invoke_backfill_user_lifetime_dimensions.sqlx +++ b/sql/query/invoke_backfill_user_lifetime_dimensions.sqlx @@ -75,7 +75,6 @@ CREATE OR REPLACE TEMP TABLE user_dimensions_event_session_scoped as ( WHERE E.event_date BETWEEN DI.end_date AND DI.input_date AND ga_session_id IS NOT NULL AND D.device_os IS NOT NULL - GROUP BY user_pseudo_id, feature_date ); -- All users in the platform