RUN SELECT year(DT) AS dt_year, app_type_id, month(dt) AS dt_month, DAYOFMONTH(dt) AS dt_day, count(DISTINCT user_id) AS total_active FROM log_user_by_day WHERE dt>=? AND app_id=5 GROUP BY dt_year , dt_month ,dt_day , app_type_id ORDER BY dt_year DESC, dt_month DESC, dt_day DESC 2025-03-15 - daily - 0 - get_active_user_stats 2025-03-15 - daily - 10 - get_active_user_stats 2025-03-15 - daily - 11 - get_active_user_stats 2025-03-14 - daily - 0 - get_active_user_stats 2025-03-14 - daily - 10 - get_active_user_stats 2025-03-14 - daily - 11 - get_active_user_stats 2025-03-13 - daily - 0 - get_active_user_stats 2025-03-13 - daily - 10 - get_active_user_stats 2025-03-13 - daily - 11 - get_active_user_stats 2025-03-12 - daily - 10 - get_active_user_stats 2025-03-12 - daily - 11 - get_active_user_stats 2025-03-15 11:22:24 done