These queries: https://phabricator.wikimedia.org/T238878#5692516 should be productionized as reportupdater reports either from data from the replicas or from tables newly scooped hadoop
Assigning to @Milimetric to get this work started, please coordinate with @mpopov