Created
June 19, 2022 10:47
-
-
Save danthelion/9a0b5ab70a40b8ce85f72aadcf9e2450 to your computer and use it in GitHub Desktop.
Find My Item reporting model
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{{ | |
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