Page MenuHomePhabricator

Table 'banwikisource_p.user_properties_anon' doesn't exist
Closed, InvalidPublicBUG REPORT

Description

A query for user_properties_anon on enwikisource_p works, but the same query on banwikisource_p (Balinese Wikisource) does not.

We're trying to count gadget enablements with:

SELECT
    up_property,
    COUNT(*)
    FROM enwikisource_p.user_properties_anon
    WHERE up_property LIKE 'gadget-%%'
    AND up_value = 1
    GROUP BY up_property;

vs.

SELECT
    up_property,
    COUNT(*)
    FROM banwikisource_p.user_properties_anon
    WHERE up_property LIKE 'gadget-%%'
    AND up_value = 1
    GROUP BY up_property;

Event Timeline

The actual issue at hand is solved manually via https://ban.wikisource.org/wiki/Kusus:GadgetUsage but the issue of the view not existing remains valid.

JJMC89 subscribed.

user_properties_anon is not supposed to exist for all wikis. See T294652#7547296.