Skip to content

Instantly share code, notes, and snippets.

@danthelion
Created June 19, 2022 10:47
Show Gist options
  • Save danthelion/9a0b5ab70a40b8ce85f72aadcf9e2450 to your computer and use it in GitHub Desktop.
Save danthelion/9a0b5ab70a40b8ce85f72aadcf9e2450 to your computer and use it in GitHub Desktop.
Find My Item reporting model
{{
config(
materialized='table'
)
}}
select
latitude,
longitude,
ts,
concat(emoji, ' ', name) as item_label
from {{ ref('stg_item') }}
where ts > current_date - interval '1 day'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment