pingcap / ossinsight-lite

🚧[WIP] Yet another customizable free GitHub stats dashboard based on TiDB Serverless: https://ossinsight-lite.vercel.app, hand-drawn style.
https://ossinsight-lite.vercel.app
Apache License 2.0
383 stars 121 forks source link

Page crash for some sql query #131

Closed hooopo closed 1 year ago

hooopo commented 1 year ago

for example:

SELECT 
    DATE_SUB(DATE(starred_at), INTERVAL WEEKDAY(starred_at) DAY) AS week_beginning, 
    COUNT(*) as stars
FROM 
    starred_repos
WHERE 
    starred_at >= DATE_SUB(CURRENT_DATE, INTERVAL 30 DAY)
GROUP BY 
    week_beginning
ORDER BY 
    week_beginning ASC;
634750802 commented 1 year ago

related to #127