Skip to content

Commit b4f9bfe

Browse files
author
“LAKSHMIRPILLAI”
committed
Update query
1 parent 11b5db8 commit b4f9bfe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

super-mode-calculator/src/lib/build-query.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ views_with_regions AS (
112112
WHERE received_date >= DATE_SUB('${dateString}', INTERVAL 1 DAY) AND received_date <= '${dateString}' AND ce.component_type = 'ACQUISITIONS_EPIC' AND ce.event_action = 'VIEW' AND
113113
ce.event_timestamp >= TIMESTAMP '${dateHourString}' AND ce.event_timestamp < TIMESTAMP '${endDateHourString}') ,
114114
views AS (
115-
SELECT CONCAT(host,path) AS url, region, COUNT (*) AS total_views
115+
SELECT CONCAT(protocol,'://',host,path) AS url, region, COUNT (*) AS total_views
116116
FROM views_with_regions
117117
GROUP BY 1, 2)
118118
SELECT av.url,

0 commit comments

Comments
 (0)