Skip to content

Commit df1a160

Browse files
authored
Update 0_extract_cookies.sql to use new httparchive.crawl dataset (#3919)
Switch to new httparchive.crawl dataset
1 parent a60154a commit df1a160

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

sql/2024/cookies/0_extract_cookies.sql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@ WITH intermediate_cookie AS (
4444
page,
4545
root_page,
4646
rank,
47-
JSON_VALUE(summary, '$.startedDateTime') AS startedDateTime,
47+
payload.startedDateTime AS startedDateTime,
4848
cookie
4949
FROM
50-
`httparchive.all.pages`,
51-
UNNEST(JSON_EXTRACT_ARRAY(custom_metrics, '$.cookies')) AS cookie
50+
`httparchive.crawl.pages`,
51+
UNNEST(JSON_EXTRACT_ARRAY(custom_metrics.cookies)) AS cookie
5252
WHERE
5353
date = '2024-06-01'
5454
)

0 commit comments

Comments
 (0)