Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Paste
P16433
(An Untitled Masterwork)
Active
Public
Actions
Authored by
Urbanecm
on Jun 12 2021, 6:29 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Referenced Files
F34496830: raw-paste-data.txt
Jun 12 2021, 6:29 PM
2021-06-12 18:29:20 (UTC+0)
Subscribers
None
SELECT
day, COUNT(*)
FROM event.mediawiki_api_request
WHERE
year=2021 AND
month=6 AND
day IN (9,10,11) AND
http.request_headers['user-agent'] LIKE "IABot/2.0%"
GROUP BY day
ORDER BY COUNT(*) DESC;
spark-sql (default)> SELECT
> day, COUNT(*)
> FROM event.mediawiki_api_request
> WHERE
> year=2021 AND
> month=6 AND
> day IN (9,10,11) AND
> http.request_headers['user-agent'] LIKE "IABot/2.0%"
> GROUP BY day
> ORDER BY day ASC;
day count(1)
9 9083927
10 9634733
11 10150667
Time taken: 119.645 seconds, Fetched 3 row(s)
Event Timeline
Urbanecm
created this paste.
Jun 12 2021, 6:29 PM
2021-06-12 18:29:20 (UTC+0)
Urbanecm
mentioned this in
T274050: Users trying to analyze pages are being told they are blocked when they are not
.
Jun 12 2021, 6:44 PM
2021-06-12 18:44:25 (UTC+0)
Log In to Comment