Skip to content

Commit

Permalink
Update 0_extract_cookies.sql to use new httparchive.crawl dataset
Browse files Browse the repository at this point in the history
Switch to new httparchive.crawl dataset
  • Loading branch information
yohhaan authored Nov 21, 2024
1 parent a60154a commit 1fa601a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sql/2024/cookies/0_extract_cookies.sql
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ WITH intermediate_cookie AS (
page,
root_page,
rank,
JSON_VALUE(summary, '$.startedDateTime') AS startedDateTime,
payload.startedDateTime AS startedDateTime,
cookie
FROM
`httparchive.all.pages`,
UNNEST(JSON_EXTRACT_ARRAY(custom_metrics, '$.cookies')) AS cookie
`httparchive.crawl.pages`,
UNNEST(JSON_EXTRACT_ARRAY(custom_metrics.cookies)) AS cookie
WHERE
date = '2024-06-01'
)
Expand Down

0 comments on commit 1fa601a

Please sign in to comment.