Skip to content

Commit

Permalink
Last Third Party SQL changes (#2430)
Browse files Browse the repository at this point in the history
  • Loading branch information
tunetheweb authored Nov 3, 2021
1 parent 34568e4 commit 203485a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ FROM (
JSON_VALUE(third_party_items, "$.entity.url") AS domain,
page,
JSON_VALUE(third_party_items, "$.entity.text") AS category,
COUNTIF(SAFE_CAST(JSON_VALUE(third_party_items, "$.blockingTime") AS FLOAT64) > 250) AS blocking,
COUNTIF(SAFE_CAST(JSON_VALUE(report, "$.audits.third-party-summary.details.summary.wastedMs") AS FLOAT64) > 250) AS blocking,
SUM(SAFE_CAST(JSON_VALUE(third_party_items, "$.blockingTime") AS FLOAT64)) AS blocking_time,
SUM(SAFE_CAST(JSON_VALUE(third_party_items, "$.transferSize") AS FLOAT64) / 1024) AS transfer_size_kib
FROM
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ FROM (
JSON_VALUE(third_party_items, "$.entity.url") AS domain,
page,
JSON_VALUE(third_party_items, "$.entity.text") AS category,
COUNTIF(SAFE_CAST(JSON_VALUE(third_party_items, "$.blockingTime") AS FLOAT64) > 250) AS blocking,
COUNTIF(SAFE_CAST(JSON_VALUE(report, "$.audits.third-party-summary.details.summary.wastedMs") AS FLOAT64) > 250) AS blocking,
SUM(SAFE_CAST(JSON_VALUE(third_party_items, "$.blockingTime") AS FLOAT64)) AS blocking_time,
SUM(SAFE_CAST(JSON_VALUE(third_party_items, "$.transferSize") AS FLOAT64) / 1024) AS transfer_size_kib
FROM
Expand Down

0 comments on commit 203485a

Please sign in to comment.