From 4952e195bcbcd2b41e3855cbf0ca68c0c292d1c4 Mon Sep 17 00:00:00 2001 From: Ilias Xenogiannis Date: Sun, 6 Oct 2024 10:20:10 +0300 Subject: [PATCH] Fix pr tests --- .github/workflows/pr_tests.yml | 2 +- .../models/actual/snowplow_ecommerce_sessions_actual.sql | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pr_tests.yml b/.github/workflows/pr_tests.yml index 30db09a..a4cf0dc 100644 --- a/.github/workflows/pr_tests.yml +++ b/.github/workflows/pr_tests.yml @@ -72,7 +72,7 @@ jobs: warehouse: "snowflake" - dbt_version: "1.8.*" # Wildcard version for Databricks warehouse: "databricks" - - dbt_version: "1.8.*" # Wildcard version for Spark + - dbt_version: "1.8.0" # Wildcard version for Spark warehouse: "spark_iceberg" services: postgres: diff --git a/integration_tests/models/actual/snowplow_ecommerce_sessions_actual.sql b/integration_tests/models/actual/snowplow_ecommerce_sessions_actual.sql index 659aee7..90ea015 100644 --- a/integration_tests/models/actual/snowplow_ecommerce_sessions_actual.sql +++ b/integration_tests/models/actual/snowplow_ecommerce_sessions_actual.sql @@ -7,8 +7,7 @@ You may obtain a copy of the Snowplow Personal and Academic License Version 1.0 {% if target.type in ('databricks','spark') %} -SELECT {{ dbt_utils.star(from=ref('snowplow_ecommerce_sessions'), except=['start_tstamp_date'] )}}, -date(start_tstamp_date) as derived_tstamp_date +SELECT {{ dbt_utils.star(from=ref('snowplow_ecommerce_sessions'), except=['start_tstamp_date'] )}} {% else %} SELECT {{ dbt_utils.star(from=ref('snowplow_ecommerce_sessions')) }} {% endif %}