diff --git a/models/staging/drift/fact_drift_prediction_markets.sql b/models/staging/drift/fact_drift_prediction_markets.sql index 7979460e..b83f7991 100644 --- a/models/staging/drift/fact_drift_prediction_markets.sql +++ b/models/staging/drift/fact_drift_prediction_markets.sql @@ -2,12 +2,12 @@ with trump_data as ( select - DATE_TRUNC('DAY', extraction_date) as date, + DATE_TRUNC('DAY', extraction_date)::date as date, source_json as trump_price from {{ source("PROD_LANDING", "raw_drift_fill_price_trump") }} ), kamala_data as ( select - DATE_TRUNC('DAY', extraction_date) as date, + DATE_TRUNC('DAY', extraction_date)::date as date, source_json as kamala_price from {{ source("PROD_LANDING", "raw_drift_fill_price_kamala") }} )