Datasets:
| insert overwrite table internal_platform_db.dws_user_daily_active_by_channel_query_engine_104 partition(ds='20260608') | |
| select | |
| 20260608 as imp_date | |
| , channel | |
| , count(distinct user_id) as dau | |
| from | |
| internal_platform_db.dwd_user_activity_log_hi_query_engine_104 | |
| where | |
| imp_date = 20260608 | |
| group by | |
| channel | |
| order by | |
| channel | |