Skip to content

Commit 8854387

Browse files
committed
fix discrepancies
1 parent c8d8bcc commit 8854387

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

includes/reports.js

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,19 @@ FROM (
2222
COUNT(0) AS volume
2323
FROM ${ctx.ref('crawl', 'pages')}
2424
WHERE
25-
date = '${params.date}' ${params.devRankFilter}
25+
date = '${params.date}' ${params.devRankFilter} AND
26+
is_root_page AND
27+
INT64(summary.bytesTotal) > 0
2628
GROUP BY
2729
date,
2830
client,
2931
bin
30-
HAVING bin IS NOT NULL
3132
)
3233
)
34+
ORDER BY
35+
date,
36+
bin,
37+
client
3338
`)
3439
},
3540
{
@@ -52,6 +57,7 @@ FROM (
5257
FROM ${ctx.ref('crawl', 'pages')}
5358
WHERE
5459
date = '${params.date}' ${params.devRankFilter} AND
60+
is_root_page AND
5561
INT64(summary.bytesTotal) > 0
5662
)
5763
GROUP BY

0 commit comments

Comments
 (0)