Skip to content

Commit

Permalink
cast as date
Browse files Browse the repository at this point in the history
  • Loading branch information
akan72 committed Aug 19, 2024
1 parent 914e013 commit 2b57b17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions models/staging/drift/fact_drift_prediction_markets.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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") }}
)
Expand Down

0 comments on commit 2b57b17

Please sign in to comment.