From 81115d83bef826b00644b647891227d6d20d7d14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C4=81ris=20Pop=C4=93ns?= <24903212+JustMaris@users.noreply.github.com> Date: Sat, 14 Oct 2023 12:11:29 +0300 Subject: [PATCH 1/3] Updating unique_table_sync_key to address incremental unique test fail Proposing a change for an easy fix --- models/fivetran_platform__audit_table.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/models/fivetran_platform__audit_table.sql b/models/fivetran_platform__audit_table.sql index 93475784..d01f9a6b 100644 --- a/models/fivetran_platform__audit_table.sql +++ b/models/fivetran_platform__audit_table.sql @@ -134,10 +134,10 @@ final as ( select *, - {{ dbt_utils.generate_surrogate_key(['connector_id', 'destination_id', 'table_name', 'write_to_table_start']) }} as unique_table_sync_key, -- for incremental materialization + {{ dbt_utils.generate_surrogate_key(['schema_name','connector_id', 'destination_id', 'table_name', 'write_to_table_start']) }} as unique_table_sync_key, -- for incremental materialization {{ dbt.date_trunc('day', 'sync_start') }} as sync_start_day -- for partitioning in databricks from sum_records_modified ) select * -from final \ No newline at end of file +from final From e8a136f51bec74e75a97fc23b9a07345e25d5c7d Mon Sep 17 00:00:00 2001 From: Joe Markiewicz <74217849+fivetran-joemarkiewicz@users.noreply.github.com> Date: Tue, 17 Oct 2023 10:19:03 -0500 Subject: [PATCH 2/3] jm review updates and under the hood changes --- .gitignore | 2 +- CHANGELOG.md | 10 ++++++++++ README.md | 2 +- dbt_project.yml | 2 +- docs/catalog.json | 2 +- docs/index.html | 24 ++++++++++++------------ docs/manifest.json | 2 +- docs/run_results.json | 2 +- integration_tests/dbt_project.yml | 2 +- integration_tests/requirements.txt | 1 - 10 files changed, 29 insertions(+), 20 deletions(-) diff --git a/.gitignore b/.gitignore index 0099fc65..6b340720 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ - +env/ target/ dbt_modules/ logs/ diff --git a/CHANGELOG.md b/CHANGELOG.md index 2b590a2f..5a373740 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,13 @@ +# dbt_fivetran_log v1.2.0 + +[PR #92](https://github.com/fivetran/dbt_fivetran_log/pull/92) includes the following updates: +## Bug Fixes +- The `unique_table_sync_key` surrogate key which is created within the `fivetran_platform__audit_table` has been updated to also be comprised of the `schema_name` in addition to the `connector_id`, `destination_id`, `table_name`, `write_to_table_start` fields. This update will also ensure the uniqueness test on this record is accurately testing the true grain of the model. + - 🚨 Please be aware that as the `fivetran_platform__audit_table` model is an incremental model a `--full-refresh` will be needed following the package upgrade in order for this change to properly be applied to all records in the end model. 🚨 + +## Contributors +- [@JustMaris](https://github.com/JustMaris) ([#92](https://github.com/fivetran/dbt_fivetran_log/pull/92)) + # dbt_fivetran_log v1.1.0 [PR #87](https://github.com/fivetran/dbt_fivetran_log/pull/87) includes the following updates: diff --git a/README.md b/README.md index 16367548..5ee90234 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,7 @@ Include the following Fivetran Platform package version range in your `packages. ```yaml packages: - package: fivetran/fivetran_log - version: [">=1.1.0", "<1.2.0"] + version: [">=1.2.0", "<1.3.0"] ``` > Note that altough the source connector is now "Fivetran Platform", the package retains the old name of "fivetran_log". diff --git a/dbt_project.yml b/dbt_project.yml index 2c56d4db..7efde40c 100644 --- a/dbt_project.yml +++ b/dbt_project.yml @@ -1,6 +1,6 @@ config-version: 2 name: 'fivetran_log' -version: '1.1.0' +version: '1.2.0' require-dbt-version: [">=1.3.0", "<2.0.0"] models: diff --git a/docs/catalog.json b/docs/catalog.json index ca4f2e83..5d8c359d 100644 --- a/docs/catalog.json +++ b/docs/catalog.json @@ -1 +1 @@ -{"metadata": {"dbt_schema_version": "https://schemas.getdbt.com/dbt/catalog/v1.json", "dbt_version": "1.5.4", "generated_at": "2023-08-24T17:20:35.092361Z", "invocation_id": "015aefea-f9b4-4c2c-8594-005bb6963220", "env": {}}, "nodes": {"seed.fivetran_log_integration_tests.account": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests", "name": "account", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "text", "index": 1, "name": "id", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 2, "name": "_fivetran_synced", "comment": null}, "country": {"type": "integer", "index": 3, "name": "country", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 4, "name": "created_at", "comment": null}, "name": {"type": "text", "index": 5, "name": "name", "comment": null}, "status": {"type": "text", "index": 6, "name": "status", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.fivetran_log_integration_tests.account"}, "seed.fivetran_log_integration_tests.connector": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests", "name": "connector", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"connector_id": {"type": "text", "index": 1, "name": "connector_id", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 2, "name": "_fivetran_synced", "comment": null}, "connecting_user_id": {"type": "text", "index": 3, "name": "connecting_user_id", "comment": null}, "connector_name": {"type": "text", "index": 4, "name": "connector_name", "comment": null}, "connector_type": {"type": "text", "index": 5, "name": "connector_type", "comment": null}, "destination_id": {"type": "text", "index": 6, "name": "destination_id", "comment": null}, "paused": {"type": "boolean", "index": 7, "name": "paused", "comment": null}, "signed_up": {"type": "timestamp without time zone", "index": 8, "name": "signed_up", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.fivetran_log_integration_tests.connector"}, "seed.fivetran_log_integration_tests.credits_used": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests", "name": "credits_used", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"destination_id": {"type": "text", "index": 1, "name": "destination_id", "comment": null}, "measured_month": {"type": "text", "index": 2, "name": "measured_month", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 3, "name": "_fivetran_synced", "comment": null}, "credits_consumed": {"type": "bigint", "index": 4, "name": "credits_consumed", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.fivetran_log_integration_tests.credits_used"}, "seed.fivetran_log_integration_tests.destination": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests", "name": "destination", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 2, "name": "_fivetran_synced", "comment": null}, "account_id": {"type": "text", "index": 3, "name": "account_id", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 4, "name": "created_at", "comment": null}, "name": {"type": "text", "index": 5, "name": "name", "comment": null}, "region": {"type": "text", "index": 6, "name": "region", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.fivetran_log_integration_tests.destination"}, "seed.fivetran_log_integration_tests.destination_membership": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests", "name": "destination_membership", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"destination_id": {"type": "text", "index": 1, "name": "destination_id", "comment": null}, "user_id": {"type": "text", "index": 2, "name": "user_id", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 3, "name": "_fivetran_synced", "comment": null}, "activated_at": {"type": "timestamp without time zone", "index": 4, "name": "activated_at", "comment": null}, "joined_at": {"type": "timestamp without time zone", "index": 5, "name": "joined_at", "comment": null}, "role": {"type": "text", "index": 6, "name": "role", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.fivetran_log_integration_tests.destination_membership"}, "seed.fivetran_log_integration_tests.incremental_mar": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests", "name": "incremental_mar", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"connector_id": {"type": "text", "index": 1, "name": "connector_id", "comment": null}, "destination_id": {"type": "text", "index": 2, "name": "destination_id", "comment": null}, "free_type": {"type": "text", "index": 3, "name": "free_type", "comment": null}, "measured_date": {"type": "timestamp without time zone", "index": 4, "name": "measured_date", "comment": null}, "schema_name": {"type": "text", "index": 5, "name": "schema_name", "comment": null}, "sync_type": {"type": "text", "index": 6, "name": "sync_type", "comment": null}, "table_name": {"type": "text", "index": 7, "name": "table_name", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 8, "name": "updated_at", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 9, "name": "_fivetran_synced", "comment": null}, "incremental_rows": {"type": "bigint", "index": 10, "name": "incremental_rows", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.fivetran_log_integration_tests.incremental_mar"}, "seed.fivetran_log_integration_tests.log": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests", "name": "log", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "text", "index": 1, "name": "id", "comment": null}, "time_stamp": {"type": "timestamp without time zone", "index": 2, "name": "time_stamp", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 3, "name": "_fivetran_synced", "comment": null}, "connector_id": {"type": "text", "index": 4, "name": "connector_id", "comment": null}, "event": {"type": "text", "index": 5, "name": "event", "comment": null}, "message_data": {"type": "text", "index": 6, "name": "message_data", "comment": null}, "message_event": {"type": "text", "index": 7, "name": "message_event", "comment": null}, "transformation_id": {"type": "character varying", "index": 8, "name": "transformation_id", "comment": null}, "sync_id": {"type": "text", "index": 9, "name": "sync_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.fivetran_log_integration_tests.log"}, "seed.fivetran_log_integration_tests.transformation": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests", "name": "transformation", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 2, "name": "_fivetran_synced", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 3, "name": "created_at", "comment": null}, "created_by_id": {"type": "text", "index": 4, "name": "created_by_id", "comment": null}, "destination_id": {"type": "character varying", "index": 5, "name": "destination_id", "comment": null}, "name": {"type": "text", "index": 6, "name": "name", "comment": null}, "paused": {"type": "boolean", "index": 7, "name": "paused", "comment": null}, "script": {"type": "text", "index": 8, "name": "script", "comment": null}, "trigger_delay": {"type": "integer", "index": 9, "name": "trigger_delay", "comment": null}, "trigger_interval": {"type": "integer", "index": 10, "name": "trigger_interval", "comment": null}, "trigger_type": {"type": "text", "index": 11, "name": "trigger_type", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.fivetran_log_integration_tests.transformation"}, "seed.fivetran_log_integration_tests.trigger_table": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests", "name": "trigger_table", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"table": {"type": "text", "index": 1, "name": "table", "comment": null}, "transformation_id": {"type": "character varying", "index": 2, "name": "transformation_id", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 3, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.fivetran_log_integration_tests.trigger_table"}, "seed.fivetran_log_integration_tests.usage_cost": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests", "name": "usage_cost", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"destination_id": {"type": "text", "index": 1, "name": "destination_id", "comment": null}, "measured_month": {"type": "text", "index": 2, "name": "measured_month", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 3, "name": "_fivetran_synced", "comment": null}, "amount": {"type": "double precision", "index": 4, "name": "amount", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.fivetran_log_integration_tests.usage_cost"}, "seed.fivetran_log_integration_tests.user": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests", "name": "user", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "text", "index": 1, "name": "id", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 2, "name": "_fivetran_synced", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 3, "name": "created_at", "comment": null}, "email": {"type": "text", "index": 4, "name": "email", "comment": null}, "email_disabled": {"type": "boolean", "index": 5, "name": "email_disabled", "comment": null}, "family_name": {"type": "text", "index": 6, "name": "family_name", "comment": null}, "given_name": {"type": "text", "index": 7, "name": "given_name", "comment": null}, "phone": {"type": "integer", "index": 8, "name": "phone", "comment": null}, "verified": {"type": "boolean", "index": 9, "name": "verified", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.fivetran_log_integration_tests.user"}, "model.fivetran_log.fivetran_platform__audit_table": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests_fivetran_platform", "name": "fivetran_platform__audit_table", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"connector_id": {"type": "text", "index": 1, "name": "connector_id", "comment": null}, "connector_name": {"type": "text", "index": 2, "name": "connector_name", "comment": null}, "schema_name": {"type": "text", "index": 3, "name": "schema_name", "comment": null}, "table_name": {"type": "text", "index": 4, "name": "table_name", "comment": null}, "destination_id": {"type": "text", "index": 5, "name": "destination_id", "comment": null}, "destination_name": {"type": "text", "index": 6, "name": "destination_name", "comment": null}, "write_to_table_start": {"type": "timestamp without time zone", "index": 7, "name": "write_to_table_start", "comment": null}, "write_to_table_end": {"type": "timestamp without time zone", "index": 8, "name": "write_to_table_end", "comment": null}, "sync_start": {"type": "timestamp without time zone", "index": 9, "name": "sync_start", "comment": null}, "sync_end": {"type": "timestamp without time zone", "index": 10, "name": "sync_end", "comment": null}, "sum_rows_replaced_or_inserted": {"type": "bigint", "index": 11, "name": "sum_rows_replaced_or_inserted", "comment": null}, "sum_rows_updated": {"type": "bigint", "index": 12, "name": "sum_rows_updated", "comment": null}, "sum_rows_deleted": {"type": "bigint", "index": 13, "name": "sum_rows_deleted", "comment": null}, "unique_table_sync_key": {"type": "text", "index": 14, "name": "unique_table_sync_key", "comment": null}, "sync_start_day": {"type": "timestamp without time zone", "index": 15, "name": "sync_start_day", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.fivetran_log.fivetran_platform__audit_table"}, "model.fivetran_log.fivetran_platform__connector_daily_events": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests_fivetran_platform", "name": "fivetran_platform__connector_daily_events", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"date_day": {"type": "timestamp without time zone", "index": 1, "name": "date_day", "comment": null}, "connector_name": {"type": "text", "index": 2, "name": "connector_name", "comment": null}, "connector_id": {"type": "text", "index": 3, "name": "connector_id", "comment": null}, "connector_type": {"type": "text", "index": 4, "name": "connector_type", "comment": null}, "destination_name": {"type": "text", "index": 5, "name": "destination_name", "comment": null}, "destination_id": {"type": "text", "index": 6, "name": "destination_id", "comment": null}, "count_api_calls": {"type": "bigint", "index": 7, "name": "count_api_calls", "comment": null}, "count_record_modifications": {"type": "bigint", "index": 8, "name": "count_record_modifications", "comment": null}, "count_schema_changes": {"type": "bigint", "index": 9, "name": "count_schema_changes", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.fivetran_log.fivetran_platform__connector_daily_events"}, "model.fivetran_log.fivetran_platform__connector_status": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests_fivetran_platform", "name": "fivetran_platform__connector_status", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"connector_id": {"type": "text", "index": 1, "name": "connector_id", "comment": null}, "connector_name": {"type": "text", "index": 2, "name": "connector_name", "comment": null}, "connector_type": {"type": "text", "index": 3, "name": "connector_type", "comment": null}, "destination_id": {"type": "text", "index": 4, "name": "destination_id", "comment": null}, "destination_name": {"type": "text", "index": 5, "name": "destination_name", "comment": null}, "connector_health": {"type": "text", "index": 6, "name": "connector_health", "comment": null}, "last_successful_sync_completed_at": {"type": "timestamp without time zone", "index": 7, "name": "last_successful_sync_completed_at", "comment": null}, "last_sync_started_at": {"type": "timestamp without time zone", "index": 8, "name": "last_sync_started_at", "comment": null}, "last_sync_completed_at": {"type": "timestamp without time zone", "index": 9, "name": "last_sync_completed_at", "comment": null}, "set_up_at": {"type": "timestamp without time zone", "index": 10, "name": "set_up_at", "comment": null}, "number_of_schema_changes_last_month": {"type": "bigint", "index": 11, "name": "number_of_schema_changes_last_month", "comment": null}, "errors_since_last_completed_sync": {"type": "text", "index": 12, "name": "errors_since_last_completed_sync", "comment": null}, "warnings_since_last_completed_sync": {"type": "text", "index": 13, "name": "warnings_since_last_completed_sync", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.fivetran_log.fivetran_platform__connector_status"}, "model.fivetran_log.fivetran_platform__mar_table_history": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests_fivetran_platform", "name": "fivetran_platform__mar_table_history", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"connector_name": {"type": "text", "index": 1, "name": "connector_name", "comment": null}, "schema_name": {"type": "text", "index": 2, "name": "schema_name", "comment": null}, "table_name": {"type": "text", "index": 3, "name": "table_name", "comment": null}, "destination_id": {"type": "text", "index": 4, "name": "destination_id", "comment": null}, "measured_month": {"type": "timestamp without time zone", "index": 5, "name": "measured_month", "comment": null}, "last_measured_at": {"type": "date", "index": 6, "name": "last_measured_at", "comment": null}, "free_monthly_active_rows": {"type": "numeric", "index": 7, "name": "free_monthly_active_rows", "comment": null}, "paid_monthly_active_rows": {"type": "numeric", "index": 8, "name": "paid_monthly_active_rows", "comment": null}, "total_monthly_active_rows": {"type": "numeric", "index": 9, "name": "total_monthly_active_rows", "comment": null}, "connector_type": {"type": "text", "index": 10, "name": "connector_type", "comment": null}, "connector_id": {"type": "text", "index": 11, "name": "connector_id", "comment": null}, "destination_name": {"type": "text", "index": 12, "name": "destination_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.fivetran_log.fivetran_platform__mar_table_history"}, "model.fivetran_log.fivetran_platform__schema_changelog": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests_fivetran_platform", "name": "fivetran_platform__schema_changelog", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"connector_id": {"type": "text", "index": 1, "name": "connector_id", "comment": null}, "connector_name": {"type": "text", "index": 2, "name": "connector_name", "comment": null}, "destination_id": {"type": "text", "index": 3, "name": "destination_id", "comment": null}, "destination_name": {"type": "text", "index": 4, "name": "destination_name", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 5, "name": "created_at", "comment": null}, "event_subtype": {"type": "text", "index": 6, "name": "event_subtype", "comment": null}, "message_data": {"type": "text", "index": 7, "name": "message_data", "comment": null}, "table_name": {"type": "text", "index": 8, "name": "table_name", "comment": null}, "schema_name": {"type": "text", "index": 9, "name": "schema_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.fivetran_log.fivetran_platform__schema_changelog"}, "model.fivetran_log.fivetran_platform__transformation_status": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests_fivetran_platform", "name": "fivetran_platform__transformation_status", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"transformation_id": {"type": "character varying", "index": 1, "name": "transformation_id", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 2, "name": "created_at", "comment": null}, "created_by_user_id": {"type": "text", "index": 3, "name": "created_by_user_id", "comment": null}, "destination_id": {"type": "character varying", "index": 4, "name": "destination_id", "comment": null}, "transformation_name": {"type": "text", "index": 5, "name": "transformation_name", "comment": null}, "is_paused": {"type": "boolean", "index": 6, "name": "is_paused", "comment": null}, "script": {"type": "text", "index": 7, "name": "script", "comment": null}, "trigger_delay": {"type": "integer", "index": 8, "name": "trigger_delay", "comment": null}, "trigger_interval": {"type": "integer", "index": 9, "name": "trigger_interval", "comment": null}, "trigger_type": {"type": "text", "index": 10, "name": "trigger_type", "comment": null}, "destination_name": {"type": "text", "index": 11, "name": "destination_name", "comment": null}, "last_successful_run_at": {"type": "timestamp without time zone", "index": 12, "name": "last_successful_run_at", "comment": null}, "last_run_attempt": {"type": "text", "index": 13, "name": "last_run_attempt", "comment": null}, "trigger_tables": {"type": "text", "index": 14, "name": "trigger_tables", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.fivetran_log.fivetran_platform__transformation_status"}, "model.fivetran_log.fivetran_platform__usage_mar_destination_history": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests_fivetran_platform", "name": "fivetran_platform__usage_mar_destination_history", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"measured_month": {"type": "timestamp without time zone", "index": 1, "name": "measured_month", "comment": null}, "destination_id": {"type": "text", "index": 2, "name": "destination_id", "comment": null}, "destination_name": {"type": "text", "index": 3, "name": "destination_name", "comment": null}, "credits_spent": {"type": "bigint", "index": 4, "name": "credits_spent", "comment": null}, "dollars_spent": {"type": "double precision", "index": 5, "name": "dollars_spent", "comment": null}, "free_monthly_active_rows": {"type": "numeric", "index": 6, "name": "free_monthly_active_rows", "comment": null}, "paid_monthly_active_rows": {"type": "numeric", "index": 7, "name": "paid_monthly_active_rows", "comment": null}, "total_monthly_active_rows": {"type": "numeric", "index": 8, "name": "total_monthly_active_rows", "comment": null}, "credits_spent_per_million_mar": {"type": "numeric", "index": 9, "name": "credits_spent_per_million_mar", "comment": null}, "mar_per_credit_spent": {"type": "numeric", "index": 10, "name": "mar_per_credit_spent", "comment": null}, "amount_spent_per_million_mar": {"type": "numeric", "index": 11, "name": "amount_spent_per_million_mar", "comment": null}, "mar_per_amount_spent": {"type": "numeric", "index": 12, "name": "mar_per_amount_spent", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.fivetran_log.fivetran_platform__usage_mar_destination_history"}, "model.fivetran_log.stg_fivetran_platform__account": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests_fivetran_platform", "name": "stg_fivetran_platform__account", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"account_id": {"type": "text", "index": 1, "name": "account_id", "comment": null}, "country": {"type": "integer", "index": 2, "name": "country", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 3, "name": "created_at", "comment": null}, "account_name": {"type": "text", "index": 4, "name": "account_name", "comment": null}, "status": {"type": "text", "index": 5, "name": "status", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.fivetran_log.stg_fivetran_platform__account"}, "model.fivetran_log.stg_fivetran_platform__connector": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests_fivetran_platform", "name": "stg_fivetran_platform__connector", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"connector_id": {"type": "text", "index": 1, "name": "connector_id", "comment": null}, "connector_name": {"type": "text", "index": 2, "name": "connector_name", "comment": null}, "connector_type": {"type": "text", "index": 3, "name": "connector_type", "comment": null}, "destination_id": {"type": "text", "index": 4, "name": "destination_id", "comment": null}, "connecting_user_id": {"type": "text", "index": 5, "name": "connecting_user_id", "comment": null}, "is_paused": {"type": "boolean", "index": 6, "name": "is_paused", "comment": null}, "set_up_at": {"type": "timestamp without time zone", "index": 7, "name": "set_up_at", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.fivetran_log.stg_fivetran_platform__connector"}, "model.fivetran_log.stg_fivetran_platform__connector_tmp": {"metadata": {"type": "VIEW", "schema": "fivetran_platform_integration_tests_fivetran_platform", "name": "stg_fivetran_platform__connector_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"connector_id": {"type": "text", "index": 1, "name": "connector_id", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 2, "name": "_fivetran_synced", "comment": null}, "connecting_user_id": {"type": "text", "index": 3, "name": "connecting_user_id", "comment": null}, "connector_name": {"type": "text", "index": 4, "name": "connector_name", "comment": null}, "connector_type": {"type": "text", "index": 5, "name": "connector_type", "comment": null}, "destination_id": {"type": "text", "index": 6, "name": "destination_id", "comment": null}, "paused": {"type": "boolean", "index": 7, "name": "paused", "comment": null}, "signed_up": {"type": "timestamp without time zone", "index": 8, "name": "signed_up", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.fivetran_log.stg_fivetran_platform__connector_tmp"}, "model.fivetran_log.stg_fivetran_platform__credits_used": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests_fivetran_platform", "name": "stg_fivetran_platform__credits_used", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"destination_id": {"type": "text", "index": 1, "name": "destination_id", "comment": null}, "measured_month": {"type": "text", "index": 2, "name": "measured_month", "comment": null}, "credits_spent": {"type": "bigint", "index": 3, "name": "credits_spent", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.fivetran_log.stg_fivetran_platform__credits_used"}, "model.fivetran_log.stg_fivetran_platform__destination": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests_fivetran_platform", "name": "stg_fivetran_platform__destination", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"destination_id": {"type": "character varying", "index": 1, "name": "destination_id", "comment": null}, "account_id": {"type": "text", "index": 2, "name": "account_id", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 3, "name": "created_at", "comment": null}, "destination_name": {"type": "text", "index": 4, "name": "destination_name", "comment": null}, "region": {"type": "text", "index": 5, "name": "region", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.fivetran_log.stg_fivetran_platform__destination"}, "model.fivetran_log.stg_fivetran_platform__destination_membership": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests_fivetran_platform", "name": "stg_fivetran_platform__destination_membership", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"destination_id": {"type": "text", "index": 1, "name": "destination_id", "comment": null}, "user_id": {"type": "text", "index": 2, "name": "user_id", "comment": null}, "activated_at": {"type": "timestamp without time zone", "index": 3, "name": "activated_at", "comment": null}, "joined_at": {"type": "timestamp without time zone", "index": 4, "name": "joined_at", "comment": null}, "destination_role": {"type": "text", "index": 5, "name": "destination_role", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.fivetran_log.stg_fivetran_platform__destination_membership"}, "model.fivetran_log.stg_fivetran_platform__incremental_mar": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests_fivetran_platform", "name": "stg_fivetran_platform__incremental_mar", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"connector_name": {"type": "text", "index": 1, "name": "connector_name", "comment": null}, "destination_id": {"type": "text", "index": 2, "name": "destination_id", "comment": null}, "free_type": {"type": "text", "index": 3, "name": "free_type", "comment": null}, "measured_date": {"type": "timestamp without time zone", "index": 4, "name": "measured_date", "comment": null}, "schema_name": {"type": "text", "index": 5, "name": "schema_name", "comment": null}, "sync_type": {"type": "text", "index": 6, "name": "sync_type", "comment": null}, "table_name": {"type": "text", "index": 7, "name": "table_name", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 8, "name": "updated_at", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 9, "name": "_fivetran_synced", "comment": null}, "incremental_rows": {"type": "bigint", "index": 10, "name": "incremental_rows", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.fivetran_log.stg_fivetran_platform__incremental_mar"}, "model.fivetran_log.stg_fivetran_platform__log": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests_fivetran_platform", "name": "stg_fivetran_platform__log", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"log_id": {"type": "text", "index": 1, "name": "log_id", "comment": null}, "sync_id": {"type": "text", "index": 2, "name": "sync_id", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 3, "name": "created_at", "comment": null}, "connector_id": {"type": "text", "index": 4, "name": "connector_id", "comment": null}, "event_type": {"type": "text", "index": 5, "name": "event_type", "comment": null}, "message_data": {"type": "text", "index": 6, "name": "message_data", "comment": null}, "event_subtype": {"type": "text", "index": 7, "name": "event_subtype", "comment": null}, "transformation_id": {"type": "character varying", "index": 8, "name": "transformation_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.fivetran_log.stg_fivetran_platform__log"}, "model.fivetran_log.stg_fivetran_platform__log_tmp": {"metadata": {"type": "VIEW", "schema": "fivetran_platform_integration_tests_fivetran_platform", "name": "stg_fivetran_platform__log_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "text", "index": 1, "name": "id", "comment": null}, "time_stamp": {"type": "timestamp without time zone", "index": 2, "name": "time_stamp", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 3, "name": "_fivetran_synced", "comment": null}, "connector_id": {"type": "text", "index": 4, "name": "connector_id", "comment": null}, "event": {"type": "text", "index": 5, "name": "event", "comment": null}, "message_data": {"type": "text", "index": 6, "name": "message_data", "comment": null}, "message_event": {"type": "text", "index": 7, "name": "message_event", "comment": null}, "transformation_id": {"type": "character varying", "index": 8, "name": "transformation_id", "comment": null}, "sync_id": {"type": "text", "index": 9, "name": "sync_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.fivetran_log.stg_fivetran_platform__log_tmp"}, "model.fivetran_log.stg_fivetran_platform__transformation": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests_fivetran_platform", "name": "stg_fivetran_platform__transformation", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"transformation_id": {"type": "character varying", "index": 1, "name": "transformation_id", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 2, "name": "created_at", "comment": null}, "created_by_user_id": {"type": "text", "index": 3, "name": "created_by_user_id", "comment": null}, "destination_id": {"type": "character varying", "index": 4, "name": "destination_id", "comment": null}, "transformation_name": {"type": "text", "index": 5, "name": "transformation_name", "comment": null}, "is_paused": {"type": "boolean", "index": 6, "name": "is_paused", "comment": null}, "script": {"type": "text", "index": 7, "name": "script", "comment": null}, "trigger_delay": {"type": "integer", "index": 8, "name": "trigger_delay", "comment": null}, "trigger_interval": {"type": "integer", "index": 9, "name": "trigger_interval", "comment": null}, "trigger_type": {"type": "text", "index": 10, "name": "trigger_type", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.fivetran_log.stg_fivetran_platform__transformation"}, "model.fivetran_log.stg_fivetran_platform__trigger_table": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests_fivetran_platform", "name": "stg_fivetran_platform__trigger_table", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"trigger_table": {"type": "text", "index": 1, "name": "trigger_table", "comment": null}, "transformation_id": {"type": "character varying", "index": 2, "name": "transformation_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.fivetran_log.stg_fivetran_platform__trigger_table"}, "model.fivetran_log.stg_fivetran_platform__usage_cost": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests_fivetran_platform", "name": "stg_fivetran_platform__usage_cost", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"destination_id": {"type": "text", "index": 1, "name": "destination_id", "comment": null}, "measured_month": {"type": "text", "index": 2, "name": "measured_month", "comment": null}, "dollars_spent": {"type": "double precision", "index": 3, "name": "dollars_spent", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.fivetran_log.stg_fivetran_platform__usage_cost"}, "model.fivetran_log.stg_fivetran_platform__user": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests_fivetran_platform", "name": "stg_fivetran_platform__user", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"user_id": {"type": "text", "index": 1, "name": "user_id", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 2, "name": "created_at", "comment": null}, "email": {"type": "text", "index": 3, "name": "email", "comment": null}, "has_disabled_email_notifications": {"type": "boolean", "index": 4, "name": "has_disabled_email_notifications", "comment": null}, "last_name": {"type": "text", "index": 5, "name": "last_name", "comment": null}, "first_name": {"type": "text", "index": 6, "name": "first_name", "comment": null}, "phone": {"type": "integer", "index": 7, "name": "phone", "comment": null}, "is_verified": {"type": "boolean", "index": 8, "name": "is_verified", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.fivetran_log.stg_fivetran_platform__user"}}, "sources": {"source.fivetran_log.fivetran_platform.account": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests", "name": "account", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "text", "index": 1, "name": "id", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 2, "name": "_fivetran_synced", "comment": null}, "country": {"type": "integer", "index": 3, "name": "country", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 4, "name": "created_at", "comment": null}, "name": {"type": "text", "index": 5, "name": "name", "comment": null}, "status": {"type": "text", "index": 6, "name": "status", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.fivetran_log.fivetran_platform.account"}, "source.fivetran_log.fivetran_platform.connector": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests", "name": "connector", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"connector_id": {"type": "text", "index": 1, "name": "connector_id", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 2, "name": "_fivetran_synced", "comment": null}, "connecting_user_id": {"type": "text", "index": 3, "name": "connecting_user_id", "comment": null}, "connector_name": {"type": "text", "index": 4, "name": "connector_name", "comment": null}, "connector_type": {"type": "text", "index": 5, "name": "connector_type", "comment": null}, "destination_id": {"type": "text", "index": 6, "name": "destination_id", "comment": null}, "paused": {"type": "boolean", "index": 7, "name": "paused", "comment": null}, "signed_up": {"type": "timestamp without time zone", "index": 8, "name": "signed_up", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.fivetran_log.fivetran_platform.connector"}, "source.fivetran_log.fivetran_platform.credits_used": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests", "name": "credits_used", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"destination_id": {"type": "text", "index": 1, "name": "destination_id", "comment": null}, "measured_month": {"type": "text", "index": 2, "name": "measured_month", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 3, "name": "_fivetran_synced", "comment": null}, "credits_consumed": {"type": "bigint", "index": 4, "name": "credits_consumed", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.fivetran_log.fivetran_platform.credits_used"}, "source.fivetran_log.fivetran_platform.destination": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests", "name": "destination", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 2, "name": "_fivetran_synced", "comment": null}, "account_id": {"type": "text", "index": 3, "name": "account_id", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 4, "name": "created_at", "comment": null}, "name": {"type": "text", "index": 5, "name": "name", "comment": null}, "region": {"type": "text", "index": 6, "name": "region", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.fivetran_log.fivetran_platform.destination"}, "source.fivetran_log.fivetran_platform.destination_membership": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests", "name": "destination_membership", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"destination_id": {"type": "text", "index": 1, "name": "destination_id", "comment": null}, "user_id": {"type": "text", "index": 2, "name": "user_id", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 3, "name": "_fivetran_synced", "comment": null}, "activated_at": {"type": "timestamp without time zone", "index": 4, "name": "activated_at", "comment": null}, "joined_at": {"type": "timestamp without time zone", "index": 5, "name": "joined_at", "comment": null}, "role": {"type": "text", "index": 6, "name": "role", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.fivetran_log.fivetran_platform.destination_membership"}, "source.fivetran_log.fivetran_platform.incremental_mar": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests", "name": "incremental_mar", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"connector_id": {"type": "text", "index": 1, "name": "connector_id", "comment": null}, "destination_id": {"type": "text", "index": 2, "name": "destination_id", "comment": null}, "free_type": {"type": "text", "index": 3, "name": "free_type", "comment": null}, "measured_date": {"type": "timestamp without time zone", "index": 4, "name": "measured_date", "comment": null}, "schema_name": {"type": "text", "index": 5, "name": "schema_name", "comment": null}, "sync_type": {"type": "text", "index": 6, "name": "sync_type", "comment": null}, "table_name": {"type": "text", "index": 7, "name": "table_name", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 8, "name": "updated_at", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 9, "name": "_fivetran_synced", "comment": null}, "incremental_rows": {"type": "bigint", "index": 10, "name": "incremental_rows", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.fivetran_log.fivetran_platform.incremental_mar"}, "source.fivetran_log.fivetran_platform.log": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests", "name": "log", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "text", "index": 1, "name": "id", "comment": null}, "time_stamp": {"type": "timestamp without time zone", "index": 2, "name": "time_stamp", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 3, "name": "_fivetran_synced", "comment": null}, "connector_id": {"type": "text", "index": 4, "name": "connector_id", "comment": null}, "event": {"type": "text", "index": 5, "name": "event", "comment": null}, "message_data": {"type": "text", "index": 6, "name": "message_data", "comment": null}, "message_event": {"type": "text", "index": 7, "name": "message_event", "comment": null}, "transformation_id": {"type": "character varying", "index": 8, "name": "transformation_id", "comment": null}, "sync_id": {"type": "text", "index": 9, "name": "sync_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.fivetran_log.fivetran_platform.log"}, "source.fivetran_log.fivetran_platform.transformation": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests", "name": "transformation", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 2, "name": "_fivetran_synced", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 3, "name": "created_at", "comment": null}, "created_by_id": {"type": "text", "index": 4, "name": "created_by_id", "comment": null}, "destination_id": {"type": "character varying", "index": 5, "name": "destination_id", "comment": null}, "name": {"type": "text", "index": 6, "name": "name", "comment": null}, "paused": {"type": "boolean", "index": 7, "name": "paused", "comment": null}, "script": {"type": "text", "index": 8, "name": "script", "comment": null}, "trigger_delay": {"type": "integer", "index": 9, "name": "trigger_delay", "comment": null}, "trigger_interval": {"type": "integer", "index": 10, "name": "trigger_interval", "comment": null}, "trigger_type": {"type": "text", "index": 11, "name": "trigger_type", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.fivetran_log.fivetran_platform.transformation"}, "source.fivetran_log.fivetran_platform.trigger_table": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests", "name": "trigger_table", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"table": {"type": "text", "index": 1, "name": "table", "comment": null}, "transformation_id": {"type": "character varying", "index": 2, "name": "transformation_id", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 3, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.fivetran_log.fivetran_platform.trigger_table"}, "source.fivetran_log.fivetran_platform.usage_cost": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests", "name": "usage_cost", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"destination_id": {"type": "text", "index": 1, "name": "destination_id", "comment": null}, "measured_month": {"type": "text", "index": 2, "name": "measured_month", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 3, "name": "_fivetran_synced", "comment": null}, "amount": {"type": "double precision", "index": 4, "name": "amount", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.fivetran_log.fivetran_platform.usage_cost"}, "source.fivetran_log.fivetran_platform.user": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests", "name": "user", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "text", "index": 1, "name": "id", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 2, "name": "_fivetran_synced", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 3, "name": "created_at", "comment": null}, "email": {"type": "text", "index": 4, "name": "email", "comment": null}, "email_disabled": {"type": "boolean", "index": 5, "name": "email_disabled", "comment": null}, "family_name": {"type": "text", "index": 6, "name": "family_name", "comment": null}, "given_name": {"type": "text", "index": 7, "name": "given_name", "comment": null}, "phone": {"type": "integer", "index": 8, "name": "phone", "comment": null}, "verified": {"type": "boolean", "index": 9, "name": "verified", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.fivetran_log.fivetran_platform.user"}}, "errors": null} \ No newline at end of file +{"metadata": {"dbt_schema_version": "https://schemas.getdbt.com/dbt/catalog/v1.json", "dbt_version": "1.6.6", "generated_at": "2023-10-17T15:18:04.660705Z", "invocation_id": "eceb973c-cb98-4430-adb6-cf872d64d01a", "env": {}}, "nodes": {"seed.fivetran_log_integration_tests.account": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests", "name": "account", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "text", "index": 1, "name": "id", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 2, "name": "_fivetran_synced", "comment": null}, "country": {"type": "integer", "index": 3, "name": "country", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 4, "name": "created_at", "comment": null}, "name": {"type": "text", "index": 5, "name": "name", "comment": null}, "status": {"type": "text", "index": 6, "name": "status", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.fivetran_log_integration_tests.account"}, "seed.fivetran_log_integration_tests.connector": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests", "name": "connector", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"connector_id": {"type": "text", "index": 1, "name": "connector_id", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 2, "name": "_fivetran_synced", "comment": null}, "connecting_user_id": {"type": "text", "index": 3, "name": "connecting_user_id", "comment": null}, "connector_name": {"type": "text", "index": 4, "name": "connector_name", "comment": null}, "connector_type": {"type": "text", "index": 5, "name": "connector_type", "comment": null}, "destination_id": {"type": "text", "index": 6, "name": "destination_id", "comment": null}, "paused": {"type": "boolean", "index": 7, "name": "paused", "comment": null}, "signed_up": {"type": "timestamp without time zone", "index": 8, "name": "signed_up", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.fivetran_log_integration_tests.connector"}, "seed.fivetran_log_integration_tests.credits_used": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests", "name": "credits_used", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"destination_id": {"type": "text", "index": 1, "name": "destination_id", "comment": null}, "measured_month": {"type": "text", "index": 2, "name": "measured_month", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 3, "name": "_fivetran_synced", "comment": null}, "credits_consumed": {"type": "bigint", "index": 4, "name": "credits_consumed", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.fivetran_log_integration_tests.credits_used"}, "seed.fivetran_log_integration_tests.destination": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests", "name": "destination", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 2, "name": "_fivetran_synced", "comment": null}, "account_id": {"type": "text", "index": 3, "name": "account_id", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 4, "name": "created_at", "comment": null}, "name": {"type": "text", "index": 5, "name": "name", "comment": null}, "region": {"type": "text", "index": 6, "name": "region", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.fivetran_log_integration_tests.destination"}, "seed.fivetran_log_integration_tests.destination_membership": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests", "name": "destination_membership", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"destination_id": {"type": "text", "index": 1, "name": "destination_id", "comment": null}, "user_id": {"type": "text", "index": 2, "name": "user_id", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 3, "name": "_fivetran_synced", "comment": null}, "activated_at": {"type": "timestamp without time zone", "index": 4, "name": "activated_at", "comment": null}, "joined_at": {"type": "timestamp without time zone", "index": 5, "name": "joined_at", "comment": null}, "role": {"type": "text", "index": 6, "name": "role", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.fivetran_log_integration_tests.destination_membership"}, "seed.fivetran_log_integration_tests.incremental_mar": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests", "name": "incremental_mar", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"connector_id": {"type": "text", "index": 1, "name": "connector_id", "comment": null}, "destination_id": {"type": "text", "index": 2, "name": "destination_id", "comment": null}, "free_type": {"type": "text", "index": 3, "name": "free_type", "comment": null}, "measured_date": {"type": "timestamp without time zone", "index": 4, "name": "measured_date", "comment": null}, "schema_name": {"type": "text", "index": 5, "name": "schema_name", "comment": null}, "sync_type": {"type": "text", "index": 6, "name": "sync_type", "comment": null}, "table_name": {"type": "text", "index": 7, "name": "table_name", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 8, "name": "updated_at", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 9, "name": "_fivetran_synced", "comment": null}, "incremental_rows": {"type": "bigint", "index": 10, "name": "incremental_rows", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.fivetran_log_integration_tests.incremental_mar"}, "seed.fivetran_log_integration_tests.log": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests", "name": "log", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "text", "index": 1, "name": "id", "comment": null}, "time_stamp": {"type": "timestamp without time zone", "index": 2, "name": "time_stamp", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 3, "name": "_fivetran_synced", "comment": null}, "connector_id": {"type": "text", "index": 4, "name": "connector_id", "comment": null}, "event": {"type": "text", "index": 5, "name": "event", "comment": null}, "message_data": {"type": "text", "index": 6, "name": "message_data", "comment": null}, "message_event": {"type": "text", "index": 7, "name": "message_event", "comment": null}, "transformation_id": {"type": "character varying", "index": 8, "name": "transformation_id", "comment": null}, "sync_id": {"type": "text", "index": 9, "name": "sync_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.fivetran_log_integration_tests.log"}, "seed.fivetran_log_integration_tests.transformation": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests", "name": "transformation", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 2, "name": "_fivetran_synced", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 3, "name": "created_at", "comment": null}, "created_by_id": {"type": "text", "index": 4, "name": "created_by_id", "comment": null}, "destination_id": {"type": "character varying", "index": 5, "name": "destination_id", "comment": null}, "name": {"type": "text", "index": 6, "name": "name", "comment": null}, "paused": {"type": "boolean", "index": 7, "name": "paused", "comment": null}, "script": {"type": "text", "index": 8, "name": "script", "comment": null}, "trigger_delay": {"type": "integer", "index": 9, "name": "trigger_delay", "comment": null}, "trigger_interval": {"type": "integer", "index": 10, "name": "trigger_interval", "comment": null}, "trigger_type": {"type": "text", "index": 11, "name": "trigger_type", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.fivetran_log_integration_tests.transformation"}, "seed.fivetran_log_integration_tests.trigger_table": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests", "name": "trigger_table", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"table": {"type": "text", "index": 1, "name": "table", "comment": null}, "transformation_id": {"type": "character varying", "index": 2, "name": "transformation_id", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 3, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.fivetran_log_integration_tests.trigger_table"}, "seed.fivetran_log_integration_tests.usage_cost": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests", "name": "usage_cost", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"destination_id": {"type": "text", "index": 1, "name": "destination_id", "comment": null}, "measured_month": {"type": "text", "index": 2, "name": "measured_month", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 3, "name": "_fivetran_synced", "comment": null}, "amount": {"type": "double precision", "index": 4, "name": "amount", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.fivetran_log_integration_tests.usage_cost"}, "seed.fivetran_log_integration_tests.user": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests", "name": "user", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "text", "index": 1, "name": "id", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 2, "name": "_fivetran_synced", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 3, "name": "created_at", "comment": null}, "email": {"type": "text", "index": 4, "name": "email", "comment": null}, "email_disabled": {"type": "boolean", "index": 5, "name": "email_disabled", "comment": null}, "family_name": {"type": "text", "index": 6, "name": "family_name", "comment": null}, "given_name": {"type": "text", "index": 7, "name": "given_name", "comment": null}, "phone": {"type": "integer", "index": 8, "name": "phone", "comment": null}, "verified": {"type": "boolean", "index": 9, "name": "verified", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.fivetran_log_integration_tests.user"}, "model.fivetran_log.fivetran_platform__audit_table": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests_fivetran_platform", "name": "fivetran_platform__audit_table", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"connector_id": {"type": "text", "index": 1, "name": "connector_id", "comment": null}, "connector_name": {"type": "text", "index": 2, "name": "connector_name", "comment": null}, "schema_name": {"type": "text", "index": 3, "name": "schema_name", "comment": null}, "table_name": {"type": "text", "index": 4, "name": "table_name", "comment": null}, "destination_id": {"type": "text", "index": 5, "name": "destination_id", "comment": null}, "destination_name": {"type": "text", "index": 6, "name": "destination_name", "comment": null}, "write_to_table_start": {"type": "timestamp without time zone", "index": 7, "name": "write_to_table_start", "comment": null}, "write_to_table_end": {"type": "timestamp without time zone", "index": 8, "name": "write_to_table_end", "comment": null}, "sync_start": {"type": "timestamp without time zone", "index": 9, "name": "sync_start", "comment": null}, "sync_end": {"type": "timestamp without time zone", "index": 10, "name": "sync_end", "comment": null}, "sum_rows_replaced_or_inserted": {"type": "bigint", "index": 11, "name": "sum_rows_replaced_or_inserted", "comment": null}, "sum_rows_updated": {"type": "bigint", "index": 12, "name": "sum_rows_updated", "comment": null}, "sum_rows_deleted": {"type": "bigint", "index": 13, "name": "sum_rows_deleted", "comment": null}, "unique_table_sync_key": {"type": "text", "index": 14, "name": "unique_table_sync_key", "comment": null}, "sync_start_day": {"type": "timestamp without time zone", "index": 15, "name": "sync_start_day", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.fivetran_log.fivetran_platform__audit_table"}, "model.fivetran_log.fivetran_platform__connector_daily_events": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests_fivetran_platform", "name": "fivetran_platform__connector_daily_events", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"date_day": {"type": "timestamp without time zone", "index": 1, "name": "date_day", "comment": null}, "connector_name": {"type": "text", "index": 2, "name": "connector_name", "comment": null}, "connector_id": {"type": "text", "index": 3, "name": "connector_id", "comment": null}, "connector_type": {"type": "text", "index": 4, "name": "connector_type", "comment": null}, "destination_name": {"type": "text", "index": 5, "name": "destination_name", "comment": null}, "destination_id": {"type": "text", "index": 6, "name": "destination_id", "comment": null}, "count_api_calls": {"type": "bigint", "index": 7, "name": "count_api_calls", "comment": null}, "count_record_modifications": {"type": "bigint", "index": 8, "name": "count_record_modifications", "comment": null}, "count_schema_changes": {"type": "bigint", "index": 9, "name": "count_schema_changes", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.fivetran_log.fivetran_platform__connector_daily_events"}, "model.fivetran_log.fivetran_platform__connector_status": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests_fivetran_platform", "name": "fivetran_platform__connector_status", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"connector_id": {"type": "text", "index": 1, "name": "connector_id", "comment": null}, "connector_name": {"type": "text", "index": 2, "name": "connector_name", "comment": null}, "connector_type": {"type": "text", "index": 3, "name": "connector_type", "comment": null}, "destination_id": {"type": "text", "index": 4, "name": "destination_id", "comment": null}, "destination_name": {"type": "text", "index": 5, "name": "destination_name", "comment": null}, "connector_health": {"type": "text", "index": 6, "name": "connector_health", "comment": null}, "last_successful_sync_completed_at": {"type": "timestamp without time zone", "index": 7, "name": "last_successful_sync_completed_at", "comment": null}, "last_sync_started_at": {"type": "timestamp without time zone", "index": 8, "name": "last_sync_started_at", "comment": null}, "last_sync_completed_at": {"type": "timestamp without time zone", "index": 9, "name": "last_sync_completed_at", "comment": null}, "set_up_at": {"type": "timestamp without time zone", "index": 10, "name": "set_up_at", "comment": null}, "number_of_schema_changes_last_month": {"type": "bigint", "index": 11, "name": "number_of_schema_changes_last_month", "comment": null}, "errors_since_last_completed_sync": {"type": "text", "index": 12, "name": "errors_since_last_completed_sync", "comment": null}, "warnings_since_last_completed_sync": {"type": "text", "index": 13, "name": "warnings_since_last_completed_sync", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.fivetran_log.fivetran_platform__connector_status"}, "model.fivetran_log.fivetran_platform__mar_table_history": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests_fivetran_platform", "name": "fivetran_platform__mar_table_history", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"connector_name": {"type": "text", "index": 1, "name": "connector_name", "comment": null}, "schema_name": {"type": "text", "index": 2, "name": "schema_name", "comment": null}, "table_name": {"type": "text", "index": 3, "name": "table_name", "comment": null}, "destination_id": {"type": "text", "index": 4, "name": "destination_id", "comment": null}, "measured_month": {"type": "timestamp without time zone", "index": 5, "name": "measured_month", "comment": null}, "last_measured_at": {"type": "date", "index": 6, "name": "last_measured_at", "comment": null}, "free_monthly_active_rows": {"type": "numeric", "index": 7, "name": "free_monthly_active_rows", "comment": null}, "paid_monthly_active_rows": {"type": "numeric", "index": 8, "name": "paid_monthly_active_rows", "comment": null}, "total_monthly_active_rows": {"type": "numeric", "index": 9, "name": "total_monthly_active_rows", "comment": null}, "connector_type": {"type": "text", "index": 10, "name": "connector_type", "comment": null}, "connector_id": {"type": "text", "index": 11, "name": "connector_id", "comment": null}, "destination_name": {"type": "text", "index": 12, "name": "destination_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.fivetran_log.fivetran_platform__mar_table_history"}, "model.fivetran_log.fivetran_platform__schema_changelog": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests_fivetran_platform", "name": "fivetran_platform__schema_changelog", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"connector_id": {"type": "text", "index": 1, "name": "connector_id", "comment": null}, "connector_name": {"type": "text", "index": 2, "name": "connector_name", "comment": null}, "destination_id": {"type": "text", "index": 3, "name": "destination_id", "comment": null}, "destination_name": {"type": "text", "index": 4, "name": "destination_name", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 5, "name": "created_at", "comment": null}, "event_subtype": {"type": "text", "index": 6, "name": "event_subtype", "comment": null}, "message_data": {"type": "text", "index": 7, "name": "message_data", "comment": null}, "table_name": {"type": "text", "index": 8, "name": "table_name", "comment": null}, "schema_name": {"type": "text", "index": 9, "name": "schema_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.fivetran_log.fivetran_platform__schema_changelog"}, "model.fivetran_log.fivetran_platform__transformation_status": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests_fivetran_platform", "name": "fivetran_platform__transformation_status", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"transformation_id": {"type": "character varying", "index": 1, "name": "transformation_id", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 2, "name": "created_at", "comment": null}, "created_by_user_id": {"type": "text", "index": 3, "name": "created_by_user_id", "comment": null}, "destination_id": {"type": "character varying", "index": 4, "name": "destination_id", "comment": null}, "transformation_name": {"type": "text", "index": 5, "name": "transformation_name", "comment": null}, "is_paused": {"type": "boolean", "index": 6, "name": "is_paused", "comment": null}, "script": {"type": "text", "index": 7, "name": "script", "comment": null}, "trigger_delay": {"type": "integer", "index": 8, "name": "trigger_delay", "comment": null}, "trigger_interval": {"type": "integer", "index": 9, "name": "trigger_interval", "comment": null}, "trigger_type": {"type": "text", "index": 10, "name": "trigger_type", "comment": null}, "destination_name": {"type": "text", "index": 11, "name": "destination_name", "comment": null}, "last_successful_run_at": {"type": "timestamp without time zone", "index": 12, "name": "last_successful_run_at", "comment": null}, "last_run_attempt": {"type": "text", "index": 13, "name": "last_run_attempt", "comment": null}, "trigger_tables": {"type": "text", "index": 14, "name": "trigger_tables", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.fivetran_log.fivetran_platform__transformation_status"}, "model.fivetran_log.fivetran_platform__usage_mar_destination_history": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests_fivetran_platform", "name": "fivetran_platform__usage_mar_destination_history", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"measured_month": {"type": "timestamp without time zone", "index": 1, "name": "measured_month", "comment": null}, "destination_id": {"type": "text", "index": 2, "name": "destination_id", "comment": null}, "destination_name": {"type": "text", "index": 3, "name": "destination_name", "comment": null}, "credits_spent": {"type": "bigint", "index": 4, "name": "credits_spent", "comment": null}, "dollars_spent": {"type": "double precision", "index": 5, "name": "dollars_spent", "comment": null}, "free_monthly_active_rows": {"type": "numeric", "index": 6, "name": "free_monthly_active_rows", "comment": null}, "paid_monthly_active_rows": {"type": "numeric", "index": 7, "name": "paid_monthly_active_rows", "comment": null}, "total_monthly_active_rows": {"type": "numeric", "index": 8, "name": "total_monthly_active_rows", "comment": null}, "credits_spent_per_million_mar": {"type": "numeric", "index": 9, "name": "credits_spent_per_million_mar", "comment": null}, "mar_per_credit_spent": {"type": "numeric", "index": 10, "name": "mar_per_credit_spent", "comment": null}, "amount_spent_per_million_mar": {"type": "numeric", "index": 11, "name": "amount_spent_per_million_mar", "comment": null}, "mar_per_amount_spent": {"type": "numeric", "index": 12, "name": "mar_per_amount_spent", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.fivetran_log.fivetran_platform__usage_mar_destination_history"}, "model.fivetran_log.stg_fivetran_platform__account": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests_fivetran_platform", "name": "stg_fivetran_platform__account", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"account_id": {"type": "text", "index": 1, "name": "account_id", "comment": null}, "country": {"type": "integer", "index": 2, "name": "country", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 3, "name": "created_at", "comment": null}, "account_name": {"type": "text", "index": 4, "name": "account_name", "comment": null}, "status": {"type": "text", "index": 5, "name": "status", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.fivetran_log.stg_fivetran_platform__account"}, "model.fivetran_log.stg_fivetran_platform__connector": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests_fivetran_platform", "name": "stg_fivetran_platform__connector", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"connector_id": {"type": "text", "index": 1, "name": "connector_id", "comment": null}, "connector_name": {"type": "text", "index": 2, "name": "connector_name", "comment": null}, "connector_type": {"type": "text", "index": 3, "name": "connector_type", "comment": null}, "destination_id": {"type": "text", "index": 4, "name": "destination_id", "comment": null}, "connecting_user_id": {"type": "text", "index": 5, "name": "connecting_user_id", "comment": null}, "is_paused": {"type": "boolean", "index": 6, "name": "is_paused", "comment": null}, "set_up_at": {"type": "timestamp without time zone", "index": 7, "name": "set_up_at", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.fivetran_log.stg_fivetran_platform__connector"}, "model.fivetran_log.stg_fivetran_platform__connector_tmp": {"metadata": {"type": "VIEW", "schema": "fivetran_platform_integration_tests_fivetran_platform", "name": "stg_fivetran_platform__connector_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"connector_id": {"type": "text", "index": 1, "name": "connector_id", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 2, "name": "_fivetran_synced", "comment": null}, "connecting_user_id": {"type": "text", "index": 3, "name": "connecting_user_id", "comment": null}, "connector_name": {"type": "text", "index": 4, "name": "connector_name", "comment": null}, "connector_type": {"type": "text", "index": 5, "name": "connector_type", "comment": null}, "destination_id": {"type": "text", "index": 6, "name": "destination_id", "comment": null}, "paused": {"type": "boolean", "index": 7, "name": "paused", "comment": null}, "signed_up": {"type": "timestamp without time zone", "index": 8, "name": "signed_up", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.fivetran_log.stg_fivetran_platform__connector_tmp"}, "model.fivetran_log.stg_fivetran_platform__credits_used": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests_fivetran_platform", "name": "stg_fivetran_platform__credits_used", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"destination_id": {"type": "text", "index": 1, "name": "destination_id", "comment": null}, "measured_month": {"type": "text", "index": 2, "name": "measured_month", "comment": null}, "credits_spent": {"type": "bigint", "index": 3, "name": "credits_spent", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.fivetran_log.stg_fivetran_platform__credits_used"}, "model.fivetran_log.stg_fivetran_platform__destination": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests_fivetran_platform", "name": "stg_fivetran_platform__destination", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"destination_id": {"type": "character varying", "index": 1, "name": "destination_id", "comment": null}, "account_id": {"type": "text", "index": 2, "name": "account_id", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 3, "name": "created_at", "comment": null}, "destination_name": {"type": "text", "index": 4, "name": "destination_name", "comment": null}, "region": {"type": "text", "index": 5, "name": "region", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.fivetran_log.stg_fivetran_platform__destination"}, "model.fivetran_log.stg_fivetran_platform__destination_membership": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests_fivetran_platform", "name": "stg_fivetran_platform__destination_membership", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"destination_id": {"type": "text", "index": 1, "name": "destination_id", "comment": null}, "user_id": {"type": "text", "index": 2, "name": "user_id", "comment": null}, "activated_at": {"type": "timestamp without time zone", "index": 3, "name": "activated_at", "comment": null}, "joined_at": {"type": "timestamp without time zone", "index": 4, "name": "joined_at", "comment": null}, "destination_role": {"type": "text", "index": 5, "name": "destination_role", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.fivetran_log.stg_fivetran_platform__destination_membership"}, "model.fivetran_log.stg_fivetran_platform__incremental_mar": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests_fivetran_platform", "name": "stg_fivetran_platform__incremental_mar", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"connector_name": {"type": "text", "index": 1, "name": "connector_name", "comment": null}, "destination_id": {"type": "text", "index": 2, "name": "destination_id", "comment": null}, "free_type": {"type": "text", "index": 3, "name": "free_type", "comment": null}, "measured_date": {"type": "timestamp without time zone", "index": 4, "name": "measured_date", "comment": null}, "schema_name": {"type": "text", "index": 5, "name": "schema_name", "comment": null}, "sync_type": {"type": "text", "index": 6, "name": "sync_type", "comment": null}, "table_name": {"type": "text", "index": 7, "name": "table_name", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 8, "name": "updated_at", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 9, "name": "_fivetran_synced", "comment": null}, "incremental_rows": {"type": "bigint", "index": 10, "name": "incremental_rows", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.fivetran_log.stg_fivetran_platform__incremental_mar"}, "model.fivetran_log.stg_fivetran_platform__log": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests_fivetran_platform", "name": "stg_fivetran_platform__log", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"log_id": {"type": "text", "index": 1, "name": "log_id", "comment": null}, "sync_id": {"type": "text", "index": 2, "name": "sync_id", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 3, "name": "created_at", "comment": null}, "connector_id": {"type": "text", "index": 4, "name": "connector_id", "comment": null}, "event_type": {"type": "text", "index": 5, "name": "event_type", "comment": null}, "message_data": {"type": "text", "index": 6, "name": "message_data", "comment": null}, "event_subtype": {"type": "text", "index": 7, "name": "event_subtype", "comment": null}, "transformation_id": {"type": "character varying", "index": 8, "name": "transformation_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.fivetran_log.stg_fivetran_platform__log"}, "model.fivetran_log.stg_fivetran_platform__log_tmp": {"metadata": {"type": "VIEW", "schema": "fivetran_platform_integration_tests_fivetran_platform", "name": "stg_fivetran_platform__log_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "text", "index": 1, "name": "id", "comment": null}, "time_stamp": {"type": "timestamp without time zone", "index": 2, "name": "time_stamp", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 3, "name": "_fivetran_synced", "comment": null}, "connector_id": {"type": "text", "index": 4, "name": "connector_id", "comment": null}, "event": {"type": "text", "index": 5, "name": "event", "comment": null}, "message_data": {"type": "text", "index": 6, "name": "message_data", "comment": null}, "message_event": {"type": "text", "index": 7, "name": "message_event", "comment": null}, "transformation_id": {"type": "character varying", "index": 8, "name": "transformation_id", "comment": null}, "sync_id": {"type": "text", "index": 9, "name": "sync_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.fivetran_log.stg_fivetran_platform__log_tmp"}, "model.fivetran_log.stg_fivetran_platform__transformation": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests_fivetran_platform", "name": "stg_fivetran_platform__transformation", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"transformation_id": {"type": "character varying", "index": 1, "name": "transformation_id", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 2, "name": "created_at", "comment": null}, "created_by_user_id": {"type": "text", "index": 3, "name": "created_by_user_id", "comment": null}, "destination_id": {"type": "character varying", "index": 4, "name": "destination_id", "comment": null}, "transformation_name": {"type": "text", "index": 5, "name": "transformation_name", "comment": null}, "is_paused": {"type": "boolean", "index": 6, "name": "is_paused", "comment": null}, "script": {"type": "text", "index": 7, "name": "script", "comment": null}, "trigger_delay": {"type": "integer", "index": 8, "name": "trigger_delay", "comment": null}, "trigger_interval": {"type": "integer", "index": 9, "name": "trigger_interval", "comment": null}, "trigger_type": {"type": "text", "index": 10, "name": "trigger_type", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.fivetran_log.stg_fivetran_platform__transformation"}, "model.fivetran_log.stg_fivetran_platform__trigger_table": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests_fivetran_platform", "name": "stg_fivetran_platform__trigger_table", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"trigger_table": {"type": "text", "index": 1, "name": "trigger_table", "comment": null}, "transformation_id": {"type": "character varying", "index": 2, "name": "transformation_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.fivetran_log.stg_fivetran_platform__trigger_table"}, "model.fivetran_log.stg_fivetran_platform__usage_cost": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests_fivetran_platform", "name": "stg_fivetran_platform__usage_cost", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"destination_id": {"type": "text", "index": 1, "name": "destination_id", "comment": null}, "measured_month": {"type": "text", "index": 2, "name": "measured_month", "comment": null}, "dollars_spent": {"type": "double precision", "index": 3, "name": "dollars_spent", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.fivetran_log.stg_fivetran_platform__usage_cost"}, "model.fivetran_log.stg_fivetran_platform__user": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests_fivetran_platform", "name": "stg_fivetran_platform__user", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"user_id": {"type": "text", "index": 1, "name": "user_id", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 2, "name": "created_at", "comment": null}, "email": {"type": "text", "index": 3, "name": "email", "comment": null}, "has_disabled_email_notifications": {"type": "boolean", "index": 4, "name": "has_disabled_email_notifications", "comment": null}, "last_name": {"type": "text", "index": 5, "name": "last_name", "comment": null}, "first_name": {"type": "text", "index": 6, "name": "first_name", "comment": null}, "phone": {"type": "integer", "index": 7, "name": "phone", "comment": null}, "is_verified": {"type": "boolean", "index": 8, "name": "is_verified", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.fivetran_log.stg_fivetran_platform__user"}}, "sources": {"source.fivetran_log.fivetran_platform.account": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests", "name": "account", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "text", "index": 1, "name": "id", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 2, "name": "_fivetran_synced", "comment": null}, "country": {"type": "integer", "index": 3, "name": "country", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 4, "name": "created_at", "comment": null}, "name": {"type": "text", "index": 5, "name": "name", "comment": null}, "status": {"type": "text", "index": 6, "name": "status", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.fivetran_log.fivetran_platform.account"}, "source.fivetran_log.fivetran_platform.connector": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests", "name": "connector", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"connector_id": {"type": "text", "index": 1, "name": "connector_id", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 2, "name": "_fivetran_synced", "comment": null}, "connecting_user_id": {"type": "text", "index": 3, "name": "connecting_user_id", "comment": null}, "connector_name": {"type": "text", "index": 4, "name": "connector_name", "comment": null}, "connector_type": {"type": "text", "index": 5, "name": "connector_type", "comment": null}, "destination_id": {"type": "text", "index": 6, "name": "destination_id", "comment": null}, "paused": {"type": "boolean", "index": 7, "name": "paused", "comment": null}, "signed_up": {"type": "timestamp without time zone", "index": 8, "name": "signed_up", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.fivetran_log.fivetran_platform.connector"}, "source.fivetran_log.fivetran_platform.credits_used": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests", "name": "credits_used", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"destination_id": {"type": "text", "index": 1, "name": "destination_id", "comment": null}, "measured_month": {"type": "text", "index": 2, "name": "measured_month", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 3, "name": "_fivetran_synced", "comment": null}, "credits_consumed": {"type": "bigint", "index": 4, "name": "credits_consumed", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.fivetran_log.fivetran_platform.credits_used"}, "source.fivetran_log.fivetran_platform.destination": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests", "name": "destination", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 2, "name": "_fivetran_synced", "comment": null}, "account_id": {"type": "text", "index": 3, "name": "account_id", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 4, "name": "created_at", "comment": null}, "name": {"type": "text", "index": 5, "name": "name", "comment": null}, "region": {"type": "text", "index": 6, "name": "region", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.fivetran_log.fivetran_platform.destination"}, "source.fivetran_log.fivetran_platform.destination_membership": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests", "name": "destination_membership", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"destination_id": {"type": "text", "index": 1, "name": "destination_id", "comment": null}, "user_id": {"type": "text", "index": 2, "name": "user_id", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 3, "name": "_fivetran_synced", "comment": null}, "activated_at": {"type": "timestamp without time zone", "index": 4, "name": "activated_at", "comment": null}, "joined_at": {"type": "timestamp without time zone", "index": 5, "name": "joined_at", "comment": null}, "role": {"type": "text", "index": 6, "name": "role", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.fivetran_log.fivetran_platform.destination_membership"}, "source.fivetran_log.fivetran_platform.incremental_mar": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests", "name": "incremental_mar", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"connector_id": {"type": "text", "index": 1, "name": "connector_id", "comment": null}, "destination_id": {"type": "text", "index": 2, "name": "destination_id", "comment": null}, "free_type": {"type": "text", "index": 3, "name": "free_type", "comment": null}, "measured_date": {"type": "timestamp without time zone", "index": 4, "name": "measured_date", "comment": null}, "schema_name": {"type": "text", "index": 5, "name": "schema_name", "comment": null}, "sync_type": {"type": "text", "index": 6, "name": "sync_type", "comment": null}, "table_name": {"type": "text", "index": 7, "name": "table_name", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 8, "name": "updated_at", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 9, "name": "_fivetran_synced", "comment": null}, "incremental_rows": {"type": "bigint", "index": 10, "name": "incremental_rows", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.fivetran_log.fivetran_platform.incremental_mar"}, "source.fivetran_log.fivetran_platform.log": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests", "name": "log", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "text", "index": 1, "name": "id", "comment": null}, "time_stamp": {"type": "timestamp without time zone", "index": 2, "name": "time_stamp", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 3, "name": "_fivetran_synced", "comment": null}, "connector_id": {"type": "text", "index": 4, "name": "connector_id", "comment": null}, "event": {"type": "text", "index": 5, "name": "event", "comment": null}, "message_data": {"type": "text", "index": 6, "name": "message_data", "comment": null}, "message_event": {"type": "text", "index": 7, "name": "message_event", "comment": null}, "transformation_id": {"type": "character varying", "index": 8, "name": "transformation_id", "comment": null}, "sync_id": {"type": "text", "index": 9, "name": "sync_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.fivetran_log.fivetran_platform.log"}, "source.fivetran_log.fivetran_platform.transformation": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests", "name": "transformation", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 2, "name": "_fivetran_synced", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 3, "name": "created_at", "comment": null}, "created_by_id": {"type": "text", "index": 4, "name": "created_by_id", "comment": null}, "destination_id": {"type": "character varying", "index": 5, "name": "destination_id", "comment": null}, "name": {"type": "text", "index": 6, "name": "name", "comment": null}, "paused": {"type": "boolean", "index": 7, "name": "paused", "comment": null}, "script": {"type": "text", "index": 8, "name": "script", "comment": null}, "trigger_delay": {"type": "integer", "index": 9, "name": "trigger_delay", "comment": null}, "trigger_interval": {"type": "integer", "index": 10, "name": "trigger_interval", "comment": null}, "trigger_type": {"type": "text", "index": 11, "name": "trigger_type", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.fivetran_log.fivetran_platform.transformation"}, "source.fivetran_log.fivetran_platform.trigger_table": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests", "name": "trigger_table", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"table": {"type": "text", "index": 1, "name": "table", "comment": null}, "transformation_id": {"type": "character varying", "index": 2, "name": "transformation_id", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 3, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.fivetran_log.fivetran_platform.trigger_table"}, "source.fivetran_log.fivetran_platform.usage_cost": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests", "name": "usage_cost", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"destination_id": {"type": "text", "index": 1, "name": "destination_id", "comment": null}, "measured_month": {"type": "text", "index": 2, "name": "measured_month", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 3, "name": "_fivetran_synced", "comment": null}, "amount": {"type": "double precision", "index": 4, "name": "amount", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.fivetran_log.fivetran_platform.usage_cost"}, "source.fivetran_log.fivetran_platform.user": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests", "name": "user", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "text", "index": 1, "name": "id", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 2, "name": "_fivetran_synced", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 3, "name": "created_at", "comment": null}, "email": {"type": "text", "index": 4, "name": "email", "comment": null}, "email_disabled": {"type": "boolean", "index": 5, "name": "email_disabled", "comment": null}, "family_name": {"type": "text", "index": 6, "name": "family_name", "comment": null}, "given_name": {"type": "text", "index": 7, "name": "given_name", "comment": null}, "phone": {"type": "integer", "index": 8, "name": "phone", "comment": null}, "verified": {"type": "boolean", "index": 9, "name": "verified", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.fivetran_log.fivetran_platform.user"}}, "errors": null} \ No newline at end of file diff --git a/docs/index.html b/docs/index.html index 5631ac61..2bcc7941 100644 --- a/docs/index.html +++ b/docs/index.html @@ -24,7 +24,7 @@
-