diff --git a/integration_tests/ci/test_scenarios.yml b/integration_tests/ci/test_scenarios.yml index 31298cb..cd18f47 100644 --- a/integration_tests/ci/test_scenarios.yml +++ b/integration_tests/ci/test_scenarios.yml @@ -1,10 +1,13 @@ -# Only set if not using default adapter ranges +# Only set these to override the default version ranges: +# dbt_core_version: ">=1.3.0,<2.0.0" +# dbt_core_version_v2: ">=2.0.0,<3.0.0" # dbt_adapter_versions: # snowflake: ">=1.3.0,<2.0.0" # bigquery: ">=1.3.0,<2.0.0" # postgres: ">=1.3.0,<2.0.0" # redshift: ">=1.3.0,<2.0.0" -# databricks: ">=1.6.0,<2.0.0" +# databricks: ">=1.3.0,<2.0.0" +# duckdb: ">=1.3.0,<2.0.0" schema_variable_name: "twitter_organic_schema" additional_schema_variables: diff --git a/integration_tests/dbt_project.yml b/integration_tests/dbt_project.yml index 168f2ff..f01a9c3 100644 --- a/integration_tests/dbt_project.yml +++ b/integration_tests/dbt_project.yml @@ -48,7 +48,6 @@ models: relation: true columns: "{{ false if target.type in ('databricks') else true }}" +schema: "social_media_{{ var('directed_schema','dev') }}" - +quote_columns: "{{ target.type in ('redshift') or var('fivetran_using_source_casing', false) }}" social_media_reporting: +materialized: table facebook_pages: @@ -97,7 +96,8 @@ seeds: id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}" ig_id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}" user_id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}" - carousel_album_id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}" + carousel_album_id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}" + media_url: "{%- if target.type in ('redshift', 'postgres') -%} varchar(500) {%- else -%} string {%- endif -%}" instagram_business_media_insights_data: +column_types: id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}" diff --git a/integration_tests/requirements.txt b/integration_tests/requirements.txt deleted file mode 100644 index 7488175..0000000 --- a/integration_tests/requirements.txt +++ /dev/null @@ -1,9 +0,0 @@ -dbt-snowflake>=1.3.0,<2.0.0 -dbt-bigquery>=1.3.0,<2.0.0 -dbt-redshift>=1.3.0,<2.0.0 -dbt-postgres>=1.3.0,<2.0.0 -dbt-spark>=1.3.0,<2.0.0 -dbt-spark[PyHive]>=1.3.0,<2.0.0 -dbt-databricks>=1.3.0,<2.0.0 -dbt-duckdb>=1.3.0,<2.0.0 -certifi==2025.1.31 \ No newline at end of file