Skip to content

Commit fd11eaa

Browse files
committed
fix: cast submission_timestamp to date in the WHERE clause
1 parent 3d220b3 commit fd11eaa

File tree

1 file changed

+1
-1
lines changed
  • sql/moz-fx-data-shared-prod/amo_glean_derived/firefox_desktop_stats_installs_v1

1 file changed

+1
-1
lines changed

sql/moz-fx-data-shared-prod/amo_glean_derived/firefox_desktop_stats_installs_v1/query.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ WITH install_stats AS (
2424
`moz-fx-data-shared-prod.firefox_desktop.events`,
2525
UNNEST(events) AS `event`
2626
WHERE
27-
TIMESTAMP_TRUNC(submission_timestamp, DAY) = @submission_date
27+
DATE(submission_timestamp) = @submission_date
2828
AND event.category = "addons_manager"
2929
AND event.name = "install_stats"
3030
GROUP BY

0 commit comments

Comments
 (0)