I have a simple query result from Data Explorer.
select user_id,
count(1) as visits,
sum(posts_read) as posts_read
from user_visits
where posts_read > 0
and visited_at > CURRENT_TIMESTAMP - INTERVAL '30 days'
group by user_id
order by visits desc, posts_read desc
I try and use CSV export, nothing seems to happen. In the Logs, I see these errors:
Deprecation Notice: exec_sql should not be used anymore, please use DB.exec or DB.query instead! At: block in run_query /var/www/discourse/plugins/discourse-data-explorer/plugin.rb:94
Not sure why that should stop it.
I have seen reports the CSV export was a problem. but it looked like those were fixed?