Skip to content

Conversation

@tunetheweb
Copy link
Member

Blink features will no longer be available in pages table and this should be looking at the cheaper table anyway.

@tunetheweb tunetheweb merged commit 95b9931 into master Jun 20, 2024
@tunetheweb tunetheweb deleted the sw-sql-rewrite branch June 20, 2024 11:14
ROUND(SUM(IF(id = '990' OR feature = 'ServiceWorkerControlledPage', num_urls, 0)) / total_urls * 100, 5) AS percent
FROM
`httparchive.pages.*`
`httparchive.blink_features.usage`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this table updated by the time the reports are generated? Or is it expected to lag by a month?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Like all the other blink features queries this one will be delayed. But not by a month, as we rerun the reports on the 2nd of the month specifically because this data is available then.

Eventually we'll rewrite these all to use the all tables at which point this will no longer be an issue but until then I don't see why this SW query needs to be treated differently.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just asking what the expected behavior is. Sounds like the lag is WAI, and you're right that it's less than a month.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants