diff --git a/README.md b/README.md index 85dee68..a699d91 100644 --- a/README.md +++ b/README.md @@ -1,21 +1,6 @@ # Hubspot dbt Package -
- This dbt package transforms data from Fivetran's Hubspot connector into analytics-ready tables. ## Resources @@ -29,6 +14,8 @@ This dbt package transforms data from Fivetran's Hubspot connector into analytic - [dbt Docs](https://fivetran.github.io/dbt_hubspot/#!/overview) - [DAG](https://fivetran.github.io/dbt_hubspot/#!/overview?g_v=1) - [Changelog](https://github.com/fivetran/dbt_hubspot/blob/main/CHANGELOG.md) +- dbt Core™ supported versions + - `>=1.3.0, <3.0.0` ## What does this dbt package do? This package enables you to better understand your HubSpot email and engagement performance and generates comprehensive data dictionaries. It creates enriched models with metrics focused on contacts, companies, deals, and analysis-ready event tables for email and engagement activities. diff --git a/integration_tests/ci/sample.profiles.yml b/integration_tests/ci/sample.profiles.yml index 2876a61..94bd6ab 100644 --- a/integration_tests/ci/sample.profiles.yml +++ b/integration_tests/ci/sample.profiles.yml @@ -12,13 +12,13 @@ integration_tests: pass: "{{ env_var('CI_REDSHIFT_DBT_PASS') }}" dbname: "{{ env_var('CI_REDSHIFT_DBT_DBNAME') }}" port: 5439 - schema: hubspot_integration_tests_66 + schema: hubspot_integration_tests threads: 8 bigquery: type: bigquery method: service-account-json project: 'dbt-package-testing' - schema: hubspot_integration_tests_66 + schema: hubspot_integration_tests threads: 8 keyfile_json: "{{ env_var('GCLOUD_SERVICE_KEY') | as_native }}" snowflake: @@ -29,7 +29,7 @@ integration_tests: role: "{{ env_var('CI_SNOWFLAKE_DBT_ROLE') }}" database: "{{ env_var('CI_SNOWFLAKE_DBT_DATABASE') }}" warehouse: "{{ env_var('CI_SNOWFLAKE_DBT_WAREHOUSE') }}" - schema: hubspot_integration_tests_66 + schema: hubspot_integration_tests threads: 8 postgres: type: postgres @@ -38,13 +38,13 @@ integration_tests: pass: "{{ env_var('CI_POSTGRES_DBT_PASS') }}" dbname: "{{ env_var('CI_POSTGRES_DBT_DBNAME') }}" port: 5432 - schema: hubspot_integration_tests_66 + schema: hubspot_integration_tests threads: 8 databricks: catalog: "{{ env_var('CI_DATABRICKS_DBT_CATALOG') }}" host: "{{ env_var('CI_DATABRICKS_DBT_HOST') }}" http_path: "{{ env_var('CI_DATABRICKS_DBT_HTTP_PATH') }}" - schema: hubspot_integration_tests_66 + schema: hubspot_integration_tests threads: 8 token: "{{ env_var('CI_DATABRICKS_DBT_TOKEN') }}" type: databricks @@ -52,7 +52,7 @@ integration_tests: catalog: "{{ env_var('CI_DATABRICKS_DBT_CATALOG') }}" host: "{{ env_var('CI_DATABRICKS_DBT_HOST') }}" http_path: "{{ env_var('CI_DATABRICKS_SQL_DBT_HTTP_PATH') }}" - schema: hubspot_sqlw_tests_6 + schema: hubspot_sqlw_integration_tests threads: 8 token: "{{ env_var('CI_DATABRICKS_SQL_DBT_TOKEN') }}" - type: databricks \ No newline at end of file + type: databricks diff --git a/integration_tests/dbt_project.yml b/integration_tests/dbt_project.yml index 78f69f5..ba1365a 100644 --- a/integration_tests/dbt_project.yml +++ b/integration_tests/dbt_project.yml @@ -5,7 +5,10 @@ profile: 'integration_tests' config-version: 2 models: - +schema: "{{ 'hubspot_sqlw_tests_6' if target.name == 'databricks-sql' else 'hubspot' }}" + +persist_docs: + relation: true + columns: "{{ false if target.type in ('databricks') else true }}" + +schema: "{{ 'hubspot_sqlw_integration_tests' if target.name == 'databricks-sql' else 'hubspot' }}" # +schema: "hubspot_{{ var('directed_schema','dev') }}" ## To be used for validation testing vars: @@ -27,7 +30,7 @@ vars: # hubspot_role_enabled: true # @docs-include # hubspot_team_enabled: true # @docs-include - hubspot_schema: hubspot_integration_tests_66 + hubspot_schema: hubspot_integration_tests # hubspot__pass_through_all_columns: true hubspot__company_pass_through_columns: # @docs-ignore @@ -285,4 +288,4 @@ dispatch: flags: send_anonymous_usage_stats: False - use_colors: True \ No newline at end of file + use_colors: True