Page MenuHomePhabricator

Error while downloading CSV file
Closed, ResolvedPublic

Description

I got this error message while I was trying to download CSV file for an event.

An exception occurred while executing 'SET STATEMENT max_statement_time = 900 FOR SELECT metric, value FROM ( ( SELECT 'edits' AS metric, COUNT(*) AS value FROM frwiki_p.revision rev WHERE rev_page = ? AND rev_timestamp BETWEEN ? AND ? ) UNION ( SELECT 'start_bytes' AS metric, COALESCE(prev.rev_len, 0) AS value FROM frwiki_p.revision rev LEFT JOIN frwiki_p.revision prev ON rev.rev_parent_id=prev.rev_id WHERE rev.rev_page=? AND rev.rev_timestamp BETWEEN ? AND ? ORDER BY rev.rev_timestamp ASC LIMIT 1 ) UNION ( SELECT 'end_bytes' AS metric, COALESCE(rev_len, 0) AS value FROM frwiki_p.revision rev WHERE rev_page=? AND rev_timestamp BETWEEN ? AND ? ORDER BY rev_timestamp DESC LIMIT 1 ) UNION ( SELECT 'links' AS metric, COUNT(*) AS value FROM frwiki_p.pagelinks JOIN frwiki_p.page ON page_id = pl_from WHERE pl_from_namespace = 0 AND pl_namespace = 0 AND pl_title = ? AND page_is_redirect = 0 ) ) t1' with params [9111319, "20240415220000", "20240501215900", 9111319, "20240415220000", "20240501215900", 9111319, "20240415220000", "20240501215900", "Universit\u00e9_du_Rwanda"]: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'pl_namespace' in 'where clause'