diff --git a/.buildkite/scripts/run_models.sh b/.buildkite/scripts/run_models.sh index 3becf96..15f1e3a 100644 --- a/.buildkite/scripts/run_models.sh +++ b/.buildkite/scripts/run_models.sh @@ -37,20 +37,20 @@ echo `pwd` cd integration_tests dbt deps if [ "$db" = "databricks-sql" ]; then -dbt seed --vars '{fivetran_platform_schema: sqlw_tests}' --target "$db" --full-refresh -dbt compile --vars '{fivetran_platform_schema: sqlw_tests}' --target "$db" -dbt run --vars '{fivetran_platform_schema: sqlw_tests}' --target "$db" --full-refresh -dbt run --vars '{fivetran_platform_schema: sqlw_tests}' --target "$db" -dbt test --vars '{fivetran_platform_schema: sqlw_tests}' --target "$db" -dbt run --vars '{fivetran_platform_schema: sqlw_tests, fivetran_platform__usage_pricing: true}' --target "$db" --full-refresh -dbt run --vars '{fivetran_platform_schema: sqlw_tests, fivetran_platform__usage_pricing: true}' --target "$db" -dbt test --vars '{fivetran_platform_schema: sqlw_tests}' --target "$db" -dbt run --vars '{fivetran_platform_schema: sqlw_tests, fivetran_platform__credits_pricing: false, fivetran_platform__usage_pricing: true}' --target "$db" --full-refresh -dbt run --vars '{fivetran_platform_schema: sqlw_tests, fivetran_platform__credits_pricing: false, fivetran_platform__usage_pricing: true}' --target "$db" -dbt test --vars '{fivetran_platform_schema: sqlw_tests}' --target "$db" -dbt run --vars '{fivetran_platform_schema: sqlw_tests, fivetran_platform__usage_pricing: false, fivetran_platform_using_destination_membership: false, fivetran_platform_using_user: false}' --target "$db" --full-refresh -dbt run --vars '{fivetran_platform_schema: sqlw_tests, fivetran_platform__usage_pricing: false, fivetran_platform_using_destination_membership: false, fivetran_platform_using_user: false}' --target "$db" -dbt test --vars '{fivetran_platform_schema: sqlw_tests}' --target "$db" +dbt seed --vars '{fivetran_platform_schema: sqlw_tests_4}' --target "$db" --full-refresh +dbt compile --vars '{fivetran_platform_schema: sqlw_tests_4}' --target "$db" +dbt run --vars '{fivetran_platform_schema: sqlw_tests_4}' --target "$db" --full-refresh +dbt run --vars '{fivetran_platform_schema: sqlw_tests_4}' --target "$db" +dbt test --vars '{fivetran_platform_schema: sqlw_tests_4}' --target "$db" +dbt run --vars '{fivetran_platform_schema: sqlw_tests_4, fivetran_platform__usage_pricing: true}' --target "$db" --full-refresh +dbt run --vars '{fivetran_platform_schema: sqlw_tests_4, fivetran_platform__usage_pricing: true}' --target "$db" +dbt test --vars '{fivetran_platform_schema: sqlw_tests_4}' --target "$db" +dbt run --vars '{fivetran_platform_schema: sqlw_tests_4, fivetran_platform__credits_pricing: false, fivetran_platform__usage_pricing: true, fivetran_platform_using_transformations: true}' --target "$db" --full-refresh +dbt run --vars '{fivetran_platform_schema: sqlw_tests_4, fivetran_platform__credits_pricing: false, fivetran_platform__usage_pricing: true, fivetran_platform_using_transformations: true}' --target "$db" +dbt test --vars '{fivetran_platform_schema: sqlw_tests_4}' --target "$db" +dbt run --vars '{fivetran_platform_schema: sqlw_tests_4, fivetran_platform__usage_pricing: false, fivetran_platform_using_destination_membership: false, fivetran_platform_using_user: false, fivetran_platform_using_transformations: false}' --target "$db" --full-refresh +dbt run --vars '{fivetran_platform_schema: sqlw_tests_4, fivetran_platform__usage_pricing: false, fivetran_platform_using_destination_membership: false, fivetran_platform_using_user: false, fivetran_platform_using_transformations: false}' --target "$db" +dbt test --vars '{fivetran_platform_schema: sqlw_tests_4}' --target "$db" else dbt seed --target "$db" --full-refresh dbt compile --target "$db" @@ -60,11 +60,11 @@ dbt test --target "$db" dbt run --vars '{fivetran_platform__usage_pricing: true}' --target "$db" --full-refresh dbt run --vars '{fivetran_platform__usage_pricing: true}' --target "$db" dbt test --target "$db" -dbt run --vars '{fivetran_platform__credits_pricing: false, fivetran_platform__usage_pricing: true}' --target "$db" --full-refresh -dbt run --vars '{fivetran_platform__credits_pricing: false, fivetran_platform__usage_pricing: true}' --target "$db" +dbt run --vars '{fivetran_platform__credits_pricing: false, fivetran_platform__usage_pricing: true, fivetran_platform_using_transformations: true}' --target "$db" --full-refresh +dbt run --vars '{fivetran_platform__credits_pricing: false, fivetran_platform__usage_pricing: true, fivetran_platform_using_transformations: true}' --target "$db" dbt test --target "$db" -dbt run --vars '{fivetran_platform__usage_pricing: false, fivetran_platform_using_destination_membership: false, fivetran_platform_using_user: false}' --target "$db" --full-refresh -dbt run --vars '{fivetran_platform__usage_pricing: false, fivetran_platform_using_destination_membership: false, fivetran_platform_using_user: false}' --target "$db" +dbt run --vars '{fivetran_platform__usage_pricing: false, fivetran_platform_using_destination_membership: false, fivetran_platform_using_user: false, fivetran_platform_using_transformations: false}' --target "$db" --full-refresh +dbt run --vars '{fivetran_platform__usage_pricing: false, fivetran_platform_using_destination_membership: false, fivetran_platform_using_user: false, fivetran_platform_using_transformations: false}' --target "$db" dbt test --target "$db" fi if [ "$1" != "sqlserver" ]; then diff --git a/CHANGELOG.md b/CHANGELOG.md index d5d80c6..6103ff4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,27 @@ -# dbt_fivetran_log version.version +# dbt_fivetran_log v1.11.0 +[PR #141](https://github.com/fivetran/dbt_fivetran_log/pull/141) includes the following updates: -## Documentation +## Schema Changes: Adding the Transformation Runs Table +- This package now accounts for the `transformation_runs` source table. Therefore, a new staging model [`stg_fivetran_platform__transformation_runs`](https://fivetran.github.io/dbt_fivetran_log/#!/model/model.fivetran_log.stg_fivetran_platform__transformation_runs) has been added. Note that not all customers have the `transformation_runs` source table, particularly if they are not using Fivetran Transformations. If the table doesn't exist, `stg_fivetran_platform__transformation_runs` will persist as an empty model and respective downstream fields will be null. + +- In addition, the following fields have been added to the [`fivetran_platform__usage_mar_destination_history`](https://fivetran.github.io/dbt_fivetran_log/#!/model/model.fivetran_log.fivetran_platform__usage_mar_destination_history) end model: + - `paid_model_runs` + - `free_model_runs` + - `total_model_runs` + +## Documentation Updates +- Included documentation about the `transformation_runs` source table and the aggregated `*_model_runs` fields. +- Added information about manually configuring the `fivetran_platform_using_transformations` variable in the [DECISION LOG.](https://github.com/fivetran/dbt_fivetran_log/blob/main/DECISIONLOG.md) - Added Quickstart model counts to README. ([#145](https://github.com/fivetran/dbt_fivetran_log/pull/145)) - Corrected references to connectors and connections in the README. ([#145](https://github.com/fivetran/dbt_fivetran_log/pull/145)) +## Under the Hood +- Introduced the variable `fivetran_platform_using_transformations` to control the `stg_fivetran_platform__transformation_runs` output. It is configured based on whether the `transformation_runs` table exists. For more information, refer to the [DECISION LOG.](https://github.com/fivetran/dbt_fivetran_log/blob/main/DECISIONLOG.md) +- Added the `get_transformation_runs_columns()` macro to ensure all required columns are present. +- Added `transformation_runs` seed data in `integration_tests/seeds/`. +- Added a `run_count__usage_mar_destination_history` validation test to check model run counts across staging and end model. +- (Redshift only) Updates to use limit 1 instead of limit 0 for empty tables. This ensures that Redshift will respect the package's datatype casts. + # dbt_fivetran_log v1.10.0 [PR #140](https://github.com/fivetran/dbt_fivetran_log/pull/140) includes the following updates: @@ -16,6 +34,7 @@ ## Under the Hood (Maintainers Only) - Enhanced seed data for integration testing to include the different spellings and ensure compatibility with Redshift. + # dbt_fivetran_log v1.9.1 [PR #138](https://github.com/fivetran/dbt_fivetran_log/pull/138) includes the following updates: diff --git a/DECISIONLOG.md b/DECISIONLOG.md index 8aab435..b9967f6 100644 --- a/DECISIONLOG.md +++ b/DECISIONLOG.md @@ -9,4 +9,14 @@ The below variables control the respective behaviors and may be overridden if de vars: fivetran_platform__usage_pricing: true ## Dynamically checks the source at runtime to set as either true or false. May be overridden using this variable if desired. fivetran_platform__credits_pricing: false ## Dynamically checks the source at runtime to set as either true or false. May be overridden using this variable if desired. +``` + +## Transformation Runs +Not all customers have the `transformation_runs` source table, particularly if they are not using Fivetran Transformations. Therefore, we leverage a new variable `fivetran_platform_using_transformations`, which automatically checks for the table. If it exists, the variable is set to True, which then persists the `transformation_runs` source table and related models and downstream fields. If the table doesn't exist, the staging `stg_fivetran_platform__transformation_runs` model will persist as an empty model and respective downstream fields will be null. + +In the case you have the `transformation_runs` source table but still wish to disable it to prevent it from being populated in the package, you may set `fivetran_platform_using_transformations` to False in your project.yml: + +```yml +vars: + fivetran_platform_using_transformations: false ## Dynamically checks the source at runtime to set as either true or false. May be overridden using this variable if desired. ``` \ No newline at end of file diff --git a/README.md b/README.md index 9fd8f67..b858a7a 100644 --- a/README.md +++ b/README.md @@ -90,12 +90,12 @@ vars: ``` ### Step 4: Disable Models for Non Existent Sources -If you do not leverage Fivetran RBAC, then you will not have the `user` or `destination_membership` sources. It's also possible you might not have any To disable the corresponding functionality in the package, you must add the following variable(s) to your root `dbt_project.yml` file. By default, all variables are assumed to be `true`: +If you do not leverage Fivetran RBAC, then you will not have the `user` or `destination_membership` source tables. The `user` and `destination_membership` are enabled by default. Therefore in order to switch the default configurations, you must add the following variable(s) to your root `dbt_project.yml` file for the respective source tables you wish to disable: ```yml vars: - fivetran_platform_using_destination_membership: false # this will disable only the destination membership logic - fivetran_platform_using_user: false # this will disable only the user logic + fivetran_platform_using_destination_membership: false # Default is true. This will disable only the destination membership logic + fivetran_platform_using_user: false # Default is true. This will disable only the user logic ``` ### (Optional) Step 5: Additional Configurations diff --git a/dbt_project.yml b/dbt_project.yml index 20459d4..28a466a 100644 --- a/dbt_project.yml +++ b/dbt_project.yml @@ -1,6 +1,6 @@ config-version: 2 name: 'fivetran_log' -version: '1.10.0' +version: '1.11.0' require-dbt-version: [">=1.3.0", "<2.0.0"] models: @@ -22,4 +22,5 @@ vars: destination_membership: "{{ source('fivetran_platform', 'destination_membership') }}" log: "{{ source('fivetran_platform', 'log') }}" user: "{{ source('fivetran_platform', 'user') }}" - usage_cost: "{{ source('fivetran_platform', 'usage_cost') }}" \ No newline at end of file + usage_cost: "{{ source('fivetran_platform', 'usage_cost') }}" + transformation_runs: "{{ source('fivetran_platform','transformation_runs') }}" diff --git a/docs/catalog.json b/docs/catalog.json index a1ce428..b35a68b 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.8.8", "generated_at": "2024-12-13T02:44:15.875745Z", "invocation_id": "c90cb6a0-1ed1-4382-937e-0130c5808aa3", "env": {}}, "nodes": {"seed.fivetran_log_integration_tests.account": {"metadata": {"type": "BASE TABLE", "schema": "zz_fivetran_log", "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": "zz_fivetran_log", "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}, "_fivetran_deleted": {"type": "boolean", "index": 9, "name": "_fivetran_deleted", "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": "zz_fivetran_log", "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": "zz_fivetran_log", "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": "zz_fivetran_log", "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": "zz_fivetran_log", "name": "incremental_mar", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"connector_name": {"type": "text", "index": 1, "name": "connector_name", "comment": null}, "connector_id": {"type": "text", "index": 2, "name": "connector_id", "comment": null}, "destination_id": {"type": "text", "index": 3, "name": "destination_id", "comment": null}, "free_type": {"type": "text", "index": 4, "name": "free_type", "comment": null}, "measured_date": {"type": "timestamp without time zone", "index": 5, "name": "measured_date", "comment": null}, "schema_name": {"type": "text", "index": 6, "name": "schema_name", "comment": null}, "sync_type": {"type": "text", "index": 7, "name": "sync_type", "comment": null}, "table_name": {"type": "text", "index": 8, "name": "table_name", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 9, "name": "updated_at", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 10, "name": "_fivetran_synced", "comment": null}, "incremental_rows": {"type": "bigint", "index": 11, "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": "zz_fivetran_log", "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.usage_cost": {"metadata": {"type": "BASE TABLE", "schema": "zz_fivetran_log", "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": "zz_fivetran_log", "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": "zz_fivetran_log_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": "numeric", "index": 11, "name": "sum_rows_replaced_or_inserted", "comment": null}, "sum_rows_updated": {"type": "numeric", "index": 12, "name": "sum_rows_updated", "comment": null}, "sum_rows_deleted": {"type": "numeric", "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": "date", "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__audit_user_activity": {"metadata": {"type": "BASE TABLE", "schema": "zz_fivetran_log_fivetran_platform", "name": "fivetran_platform__audit_user_activity", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"date_day": {"type": "timestamp without time zone", "index": 1, "name": "date_day", "comment": null}, "day_name": {"type": "text", "index": 2, "name": "day_name", "comment": null}, "day_of_month": {"type": "double precision", "index": 3, "name": "day_of_month", "comment": null}, "occurred_at": {"type": "timestamp without time zone", "index": 4, "name": "occurred_at", "comment": null}, "destination_name": {"type": "text", "index": 5, "name": "destination_name", "comment": null}, "destination_id": {"type": "character varying", "index": 6, "name": "destination_id", "comment": null}, "connector_name": {"type": "text", "index": 7, "name": "connector_name", "comment": null}, "connector_id": {"type": "text", "index": 8, "name": "connector_id", "comment": null}, "email": {"type": "text", "index": 9, "name": "email", "comment": null}, "first_name": {"type": "text", "index": 10, "name": "first_name", "comment": null}, "last_name": {"type": "text", "index": 11, "name": "last_name", "comment": null}, "user_id": {"type": "text", "index": 12, "name": "user_id", "comment": null}, "destination_role": {"type": "text", "index": 13, "name": "destination_role", "comment": null}, "event_type": {"type": "text", "index": 14, "name": "event_type", "comment": null}, "event_subtype": {"type": "text", "index": 15, "name": "event_subtype", "comment": null}, "message_data": {"type": "text", "index": 16, "name": "message_data", "comment": null}, "log_id": {"type": "text", "index": 17, "name": "log_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.fivetran_platform__audit_user_activity"}, "model.fivetran_log.fivetran_platform__connector_daily_events": {"metadata": {"type": "BASE TABLE", "schema": "zz_fivetran_log_fivetran_platform", "name": "fivetran_platform__connector_daily_events", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"date_day": {"type": "date", "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": "numeric", "index": 7, "name": "count_api_calls", "comment": null}, "count_record_modifications": {"type": "numeric", "index": 8, "name": "count_record_modifications", "comment": null}, "count_schema_changes": {"type": "numeric", "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": "zz_fivetran_log_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}, "number_errors_since_last_completed_sync": {"type": "bigint", "index": 12, "name": "number_errors_since_last_completed_sync", "comment": null}, "number_warnings_since_last_completed_sync": {"type": "bigint", "index": 13, "name": "number_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": "zz_fivetran_log_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": "zz_fivetran_log_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__usage_mar_destination_history": {"metadata": {"type": "BASE TABLE", "schema": "zz_fivetran_log_fivetran_platform", "name": "fivetran_platform__usage_mar_destination_history", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"measured_month": {"type": "date", "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": "zz_fivetran_log_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": "zz_fivetran_log_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}, "is_deleted": {"type": "boolean", "index": 8, "name": "is_deleted", "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": "zz_fivetran_log_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}, "_fivetran_deleted": {"type": "boolean", "index": 9, "name": "_fivetran_deleted", "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": "zz_fivetran_log_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": "zz_fivetran_log_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": "zz_fivetran_log_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": "zz_fivetran_log_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__incremental_mar_tmp": {"metadata": {"type": "VIEW", "schema": "zz_fivetran_log_fivetran_platform", "name": "stg_fivetran_platform__incremental_mar_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"connector_name": {"type": "text", "index": 1, "name": "connector_name", "comment": null}, "connector_id": {"type": "text", "index": 2, "name": "connector_id", "comment": null}, "destination_id": {"type": "text", "index": 3, "name": "destination_id", "comment": null}, "free_type": {"type": "text", "index": 4, "name": "free_type", "comment": null}, "measured_date": {"type": "timestamp without time zone", "index": 5, "name": "measured_date", "comment": null}, "schema_name": {"type": "text", "index": 6, "name": "schema_name", "comment": null}, "sync_type": {"type": "text", "index": 7, "name": "sync_type", "comment": null}, "table_name": {"type": "text", "index": 8, "name": "table_name", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 9, "name": "updated_at", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 10, "name": "_fivetran_synced", "comment": null}, "incremental_rows": {"type": "bigint", "index": 11, "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_tmp"}, "model.fivetran_log.stg_fivetran_platform__log": {"metadata": {"type": "BASE TABLE", "schema": "zz_fivetran_log_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": "zz_fivetran_log_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__usage_cost": {"metadata": {"type": "BASE TABLE", "schema": "zz_fivetran_log_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": "zz_fivetran_log_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": "zz_fivetran_log", "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": "zz_fivetran_log", "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}, "_fivetran_deleted": {"type": "boolean", "index": 9, "name": "_fivetran_deleted", "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": "zz_fivetran_log", "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": "zz_fivetran_log", "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": "zz_fivetran_log", "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": "zz_fivetran_log", "name": "incremental_mar", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"connector_name": {"type": "text", "index": 1, "name": "connector_name", "comment": null}, "connector_id": {"type": "text", "index": 2, "name": "connector_id", "comment": null}, "destination_id": {"type": "text", "index": 3, "name": "destination_id", "comment": null}, "free_type": {"type": "text", "index": 4, "name": "free_type", "comment": null}, "measured_date": {"type": "timestamp without time zone", "index": 5, "name": "measured_date", "comment": null}, "schema_name": {"type": "text", "index": 6, "name": "schema_name", "comment": null}, "sync_type": {"type": "text", "index": 7, "name": "sync_type", "comment": null}, "table_name": {"type": "text", "index": 8, "name": "table_name", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 9, "name": "updated_at", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 10, "name": "_fivetran_synced", "comment": null}, "incremental_rows": {"type": "bigint", "index": 11, "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": "zz_fivetran_log", "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.usage_cost": {"metadata": {"type": "BASE TABLE", "schema": "zz_fivetran_log", "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": "zz_fivetran_log", "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.7.9", "generated_at": "2025-01-14T19:50:25.807596Z", "invocation_id": "f341bff7-f45a-48c2-888b-9addfa4338b2", "env": {}}, "nodes": {"seed.fivetran_log_integration_tests.account": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests_10", "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_10", "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}, "_fivetran_deleted": {"type": "boolean", "index": 9, "name": "_fivetran_deleted", "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_10", "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_10", "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_10", "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_10", "name": "incremental_mar", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"connector_name": {"type": "text", "index": 1, "name": "connector_name", "comment": null}, "connector_id": {"type": "text", "index": 2, "name": "connector_id", "comment": null}, "destination_id": {"type": "text", "index": 3, "name": "destination_id", "comment": null}, "free_type": {"type": "text", "index": 4, "name": "free_type", "comment": null}, "measured_date": {"type": "timestamp without time zone", "index": 5, "name": "measured_date", "comment": null}, "schema_name": {"type": "text", "index": 6, "name": "schema_name", "comment": null}, "sync_type": {"type": "text", "index": 7, "name": "sync_type", "comment": null}, "table_name": {"type": "text", "index": 8, "name": "table_name", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 9, "name": "updated_at", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 10, "name": "_fivetran_synced", "comment": null}, "incremental_rows": {"type": "bigint", "index": 11, "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_10", "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_runs": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests_10", "name": "transformation_runs", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"destination_id": {"type": "text", "index": 1, "name": "destination_id", "comment": null}, "job_id": {"type": "text", "index": 2, "name": "job_id", "comment": null}, "measured_date": {"type": "text", "index": 3, "name": "measured_date", "comment": null}, "project_type": {"type": "text", "index": 4, "name": "project_type", "comment": null}, "free_type": {"type": "text", "index": 5, "name": "free_type", "comment": null}, "job_name": {"type": "text", "index": 6, "name": "job_name", "comment": null}, "updated_at": {"type": "text", "index": 7, "name": "updated_at", "comment": null}, "model_runs": {"type": "integer", "index": 8, "name": "model_runs", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 9, "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.transformation_runs"}, "seed.fivetran_log_integration_tests.usage_cost": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests_10", "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_10", "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_10_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": "numeric", "index": 11, "name": "sum_rows_replaced_or_inserted", "comment": null}, "sum_rows_updated": {"type": "numeric", "index": 12, "name": "sum_rows_updated", "comment": null}, "sum_rows_deleted": {"type": "numeric", "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": "date", "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__audit_user_activity": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests_10_fivetran_platform", "name": "fivetran_platform__audit_user_activity", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"date_day": {"type": "timestamp without time zone", "index": 1, "name": "date_day", "comment": null}, "day_name": {"type": "text", "index": 2, "name": "day_name", "comment": null}, "day_of_month": {"type": "double precision", "index": 3, "name": "day_of_month", "comment": null}, "occurred_at": {"type": "timestamp without time zone", "index": 4, "name": "occurred_at", "comment": null}, "destination_name": {"type": "text", "index": 5, "name": "destination_name", "comment": null}, "destination_id": {"type": "character varying", "index": 6, "name": "destination_id", "comment": null}, "connector_name": {"type": "text", "index": 7, "name": "connector_name", "comment": null}, "connector_id": {"type": "text", "index": 8, "name": "connector_id", "comment": null}, "email": {"type": "text", "index": 9, "name": "email", "comment": null}, "first_name": {"type": "text", "index": 10, "name": "first_name", "comment": null}, "last_name": {"type": "text", "index": 11, "name": "last_name", "comment": null}, "user_id": {"type": "text", "index": 12, "name": "user_id", "comment": null}, "destination_role": {"type": "text", "index": 13, "name": "destination_role", "comment": null}, "event_type": {"type": "text", "index": 14, "name": "event_type", "comment": null}, "event_subtype": {"type": "text", "index": 15, "name": "event_subtype", "comment": null}, "message_data": {"type": "text", "index": 16, "name": "message_data", "comment": null}, "log_id": {"type": "text", "index": 17, "name": "log_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.fivetran_platform__audit_user_activity"}, "model.fivetran_log.fivetran_platform__connector_daily_events": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests_10_fivetran_platform", "name": "fivetran_platform__connector_daily_events", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"date_day": {"type": "date", "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": "numeric", "index": 7, "name": "count_api_calls", "comment": null}, "count_record_modifications": {"type": "numeric", "index": 8, "name": "count_record_modifications", "comment": null}, "count_schema_changes": {"type": "numeric", "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_10_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}, "number_errors_since_last_completed_sync": {"type": "bigint", "index": 12, "name": "number_errors_since_last_completed_sync", "comment": null}, "number_warnings_since_last_completed_sync": {"type": "bigint", "index": 13, "name": "number_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_10_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_10_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__usage_mar_destination_history": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests_10_fivetran_platform", "name": "fivetran_platform__usage_mar_destination_history", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"measured_month": {"type": "date", "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}, "paid_model_runs": {"type": "bigint", "index": 9, "name": "paid_model_runs", "comment": null}, "free_model_runs": {"type": "bigint", "index": 10, "name": "free_model_runs", "comment": null}, "total_model_runs": {"type": "bigint", "index": 11, "name": "total_model_runs", "comment": null}, "credits_spent_per_million_mar": {"type": "numeric", "index": 12, "name": "credits_spent_per_million_mar", "comment": null}, "mar_per_credit_spent": {"type": "numeric", "index": 13, "name": "mar_per_credit_spent", "comment": null}, "amount_spent_per_million_mar": {"type": "numeric", "index": 14, "name": "amount_spent_per_million_mar", "comment": null}, "mar_per_amount_spent": {"type": "numeric", "index": 15, "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_10_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_10_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}, "is_deleted": {"type": "boolean", "index": 8, "name": "is_deleted", "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_10_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}, "_fivetran_deleted": {"type": "boolean", "index": 9, "name": "_fivetran_deleted", "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_10_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_10_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_10_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_10_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__incremental_mar_tmp": {"metadata": {"type": "VIEW", "schema": "fivetran_platform_integration_tests_10_fivetran_platform", "name": "stg_fivetran_platform__incremental_mar_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"connector_name": {"type": "text", "index": 1, "name": "connector_name", "comment": null}, "connector_id": {"type": "text", "index": 2, "name": "connector_id", "comment": null}, "destination_id": {"type": "text", "index": 3, "name": "destination_id", "comment": null}, "free_type": {"type": "text", "index": 4, "name": "free_type", "comment": null}, "measured_date": {"type": "timestamp without time zone", "index": 5, "name": "measured_date", "comment": null}, "schema_name": {"type": "text", "index": 6, "name": "schema_name", "comment": null}, "sync_type": {"type": "text", "index": 7, "name": "sync_type", "comment": null}, "table_name": {"type": "text", "index": 8, "name": "table_name", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 9, "name": "updated_at", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 10, "name": "_fivetran_synced", "comment": null}, "incremental_rows": {"type": "bigint", "index": 11, "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_tmp"}, "model.fivetran_log.stg_fivetran_platform__log": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests_10_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_10_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_runs": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests_10_fivetran_platform", "name": "stg_fivetran_platform__transformation_runs", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"_fivetran_synced": {"type": "timestamp without time zone", "index": 1, "name": "_fivetran_synced", "comment": null}, "destination_id": {"type": "text", "index": 2, "name": "destination_id", "comment": null}, "free_type": {"type": "text", "index": 3, "name": "free_type", "comment": null}, "job_id": {"type": "text", "index": 4, "name": "job_id", "comment": null}, "job_name": {"type": "text", "index": 5, "name": "job_name", "comment": null}, "measured_date": {"type": "timestamp without time zone", "index": 6, "name": "measured_date", "comment": null}, "model_runs": {"type": "integer", "index": 7, "name": "model_runs", "comment": null}, "project_type": {"type": "text", "index": 8, "name": "project_type", "comment": null}, "updated_at": {"type": "text", "index": 9, "name": "updated_at", "comment": null}, "measured_month": {"type": "date", "index": 10, "name": "measured_month", "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_runs"}, "model.fivetran_log.stg_fivetran_platform__usage_cost": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests_10_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_10_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_10", "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_10", "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}, "_fivetran_deleted": {"type": "boolean", "index": 9, "name": "_fivetran_deleted", "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_10", "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_10", "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_10", "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_10", "name": "incremental_mar", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"connector_name": {"type": "text", "index": 1, "name": "connector_name", "comment": null}, "connector_id": {"type": "text", "index": 2, "name": "connector_id", "comment": null}, "destination_id": {"type": "text", "index": 3, "name": "destination_id", "comment": null}, "free_type": {"type": "text", "index": 4, "name": "free_type", "comment": null}, "measured_date": {"type": "timestamp without time zone", "index": 5, "name": "measured_date", "comment": null}, "schema_name": {"type": "text", "index": 6, "name": "schema_name", "comment": null}, "sync_type": {"type": "text", "index": 7, "name": "sync_type", "comment": null}, "table_name": {"type": "text", "index": 8, "name": "table_name", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 9, "name": "updated_at", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 10, "name": "_fivetran_synced", "comment": null}, "incremental_rows": {"type": "bigint", "index": 11, "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_10", "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_runs": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests_10", "name": "transformation_runs", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"destination_id": {"type": "text", "index": 1, "name": "destination_id", "comment": null}, "job_id": {"type": "text", "index": 2, "name": "job_id", "comment": null}, "measured_date": {"type": "text", "index": 3, "name": "measured_date", "comment": null}, "project_type": {"type": "text", "index": 4, "name": "project_type", "comment": null}, "free_type": {"type": "text", "index": 5, "name": "free_type", "comment": null}, "job_name": {"type": "text", "index": 6, "name": "job_name", "comment": null}, "updated_at": {"type": "text", "index": 7, "name": "updated_at", "comment": null}, "model_runs": {"type": "integer", "index": 8, "name": "model_runs", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 9, "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.transformation_runs"}, "source.fivetran_log.fivetran_platform.usage_cost": {"metadata": {"type": "BASE TABLE", "schema": "fivetran_platform_integration_tests_10", "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_10", "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 c580ce9..ca1e6f8 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1,4 +1,30 @@ -
Source | \nTable | \nDescription | \nLink | \nMore? | \n
---|---|---|---|---|
\n \n {{ source.source_name }}\n \n | \n \n {{ source.name }}\n | \n \n\n View docs\n | \n\n \n \n \n \n \n \n \n \n | \n|
\n \n \n \n \n Description\n \n | \n