Skip to content

Commit

Permalink
chore: address type casting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
David Barrat committed Dec 7, 2023
1 parent b9f7fc4 commit 4e69e81
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/queries/eds/rum-pageviews-cwv-count-threshold.sql
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,9 @@ url_above_cwv_count_threshold AS (
current_rum_by_url_and_weight AS cru
ON filtered_data.url = cru.url
WHERE
filtered_data.cwv_count > @cwv_count_threshold
AND (ce.events * cru.weight) > @interval * @avg_daily_pageviews_factor
CAST(filtered_data.cwv_count AS INT64) > CAST(@cwv_count_threshold AS INT64)
AND CAST((ce.events * cru.weight) AS INT64)
> CAST(@interval * @avg_daily_pageviews_factor AS INT64)
)

SELECT
Expand Down

0 comments on commit 4e69e81

Please sign in to comment.