Thingies
This commit is contained in:
parent
1e53b3895c
commit
bccbff7205
3 changed files with 41 additions and 0 deletions
9
code_thingies/dbtlearn/tests/consistent_created_at.sql
Normal file
9
code_thingies/dbtlearn/tests/consistent_created_at.sql
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
SELECT *
|
||||
FROM
|
||||
{{ ref('fact_reviews') }} fr
|
||||
LEFT JOIN
|
||||
{{ ref('dim_listings_cleansed') }} dl
|
||||
ON
|
||||
fr.listing_id = dl.listing_id
|
||||
WHERE
|
||||
fr.review_date < dl.created_at
|
||||
Loading…
Add table
Add a link
Reference in a new issue