Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions integration_tests/ci/test_scenarios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ additional_schema_variables:

include_databricks_sql: false
include_sqlserver: false
include_duckdb: true
include_dbt_compile: true

test_scenarios:
Expand Down
57 changes: 50 additions & 7 deletions integration_tests/dbt_project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,22 +60,37 @@ seeds:
+quote_columns: "{{ target.type in ('redshift') or var('fivetran_using_source_casing', false) }}"
app_crash_daily:
+column_types:
_fivetran_synced: timestamp
app_id: "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}"
crashes: "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}"
unique_devices: "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}"
_fivetran_synced: "{{ 'timestamptz' if target.type == 'duckdb' else 'timestamp' }}"
app_session_standard_daily:
+column_types:
_fivetran_synced: timestamp
app_id: "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}"
sessions: "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}"
total_session_duration: "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}"
unique_devices: "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}"
_fivetran_synced: "{{ 'timestamptz' if target.type == 'duckdb' else 'timestamp' }}"
app_store_app:
+column_types:
_fivetran_synced: timestamp
app_store_discovery_and_engagement_standard_daily:
+column_types:
_fivetran_synced: timestamp
app_id: "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}"
counts: "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}"
unique_counts: "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}"
_fivetran_synced: "{{ 'timestamptz' if target.type == 'duckdb' else 'timestamp' }}"
app_store_download_standard_daily:
+column_types:
_fivetran_synced: timestamp
app_id: "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}"
counts: "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}"
_fivetran_synced: "{{ 'timestamptz' if target.type == 'duckdb' else 'timestamp' }}"
app_store_installation_and_deletion_standard_daily:
+column_types:
_fivetran_synced: timestamp
app_id: "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}"
counts: "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}"
unique_devices: "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}"
_fivetran_synced: "{{ 'timestamptz' if target.type == 'duckdb' else 'timestamp' }}"
earnings:
+column_types:
_fivetran_synced: timestamp
Expand All @@ -84,10 +99,38 @@ seeds:
_fivetran_synced: timestamp
sales_subscription_event_summary:
+column_types:
_fivetran_synced: timestamp
vendor_number: "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}"
app_apple_id: "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}"
subscription_apple_id: "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}"
subscription_group_id: "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}"
consecutive_paid_periods: "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}"
previous_subscription_apple_id: "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}"
days_before_canceling: "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}"
days_canceled: "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}"
quantity: "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}"
paid_service_days_recovered: "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}"
_fivetran_synced: "{{ 'timestamptz' if target.type == 'duckdb' else 'timestamp' }}"
sales_subscription_summary:
+column_types:
_fivetran_synced: timestamp
vendor_number: "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}"
app_apple_id: "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}"
subscription_apple_id: "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}"
subscription_group_id: "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}"
active_standard_price_subscriptions: "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}"
active_free_trial_introductory_offer_subscriptions: "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}"
active_pay_up_front_introductory_offer_subscriptions: "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}"
active_pay_as_you_go_introductory_offer_subscriptions: "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}"
free_trial_promotional_offer_subscriptions: "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}"
pay_up_front_promotional_offer_subscriptions: "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}"
pay_as_you_go_promotional_offer_subscriptions: "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}"
marketing_opt_ins: "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}"
billing_retry: "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}"
grace_period: "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}"
free_trial_offer_code_subscriptions: "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}"
pay_up_front_offer_code_subscriptions: "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}"
pay_as_you_go_offer_code_subscriptions: "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}"
subscribers: "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}"
_fivetran_synced: "{{ 'timestamptz' if target.type == 'duckdb' else 'timestamp' }}"
stats_crashes_app_version:
+column_types:
_fivetran_synced: timestamp
Expand Down