{{ config(materialized='table') }}

with a as (
    select 
        action_name,
        source,
    from ios_events
    where p_date = '{{ ds }}'
    group by 1, 2    
)
select 
    action_name,
    source,
    description
from ios_events_metadata
left join a using (action_name, source);
