Skip to content

Commit

Permalink
Update requests.sql
Browse files Browse the repository at this point in the history
  • Loading branch information
rviscomi authored Jun 8, 2022
1 parent bc4d53c commit a6042fe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sql/util/requests.sql
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ LANGUAGE js AS """
""";

SELECT
CAST('2021-07-01' AS DATE) AS date,
CAST('2022-06-01' AS DATE) AS date,
_TABLE_SUFFIX AS client,
page,
rank,
Expand All @@ -202,6 +202,6 @@ SELECT
JSON_EXTRACT(payload, '$.response.headers') AS response_headers,
payload
FROM
`httparchive.requests.2021_07_01_*`
LEFT JOIN (SELECT _TABLE_SUFFIX, url AS page, rank FROM `httparchive.summary_pages.2021_07_01_*`)
`httparchive.requests.2022_06_01_*`
LEFT JOIN (SELECT _TABLE_SUFFIX, url AS page, rank FROM `httparchive.summary_pages.2022_06_01_*`)
USING (_TABLE_SUFFIX, page)

0 comments on commit a6042fe

Please sign in to comment.