From d28e6dd30665203f35e64a9e0c186a5ca67c02e1 Mon Sep 17 00:00:00 2001
From: fivetran-catfritz <111930712+fivetran-catfritz@users.noreply.github.com>
Date: Thu, 7 Sep 2023 20:23:44 -0500
Subject: [PATCH 1/8] feature/update-joins
---
dbt_project.yml | 2 +-
integration_tests/dbt_project.yml | 2 +-
models/recharge__subscription_overview.sql | 7 ++-----
packages.yml | 7 +++++--
4 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/dbt_project.yml b/dbt_project.yml
index 1ad500d..33757db 100644
--- a/dbt_project.yml
+++ b/dbt_project.yml
@@ -1,6 +1,6 @@
name: 'recharge'
-version: '0.1.0'
+version: '0.1.1'
config-version: 2
require-dbt-version: [">=1.3.0", "<2.0.0"]
diff --git a/integration_tests/dbt_project.yml b/integration_tests/dbt_project.yml
index 06edfba..c65d16d 100644
--- a/integration_tests/dbt_project.yml
+++ b/integration_tests/dbt_project.yml
@@ -1,7 +1,7 @@
config-version: 2
name: 'recharge_integration_tests'
-version: '0.1.0'
+version: '0.1.1'
profile: 'integration_tests'
diff --git a/models/recharge__subscription_overview.sql b/models/recharge__subscription_overview.sql
index ed71920..919e224 100644
--- a/models/recharge__subscription_overview.sql
+++ b/models/recharge__subscription_overview.sql
@@ -16,6 +16,7 @@ with subscriptions as (
), customers_charge_lines as (
select
charge_line_items.charge_id,
+ charge_line_items.purchase_item_id,
charge_line_items.external_product_id_ecommerce,
charge_line_items.external_variant_id_ecommerce,
charges.customer_id,
@@ -37,11 +38,7 @@ with subscriptions as (
end) as count_queued_charges
from subscriptions
left join customers_charge_lines
- on customers_charge_lines.customer_id = subscriptions.customer_id
- and customers_charge_lines.address_id = subscriptions.address_id
- and customers_charge_lines.external_product_id_ecommerce = subscriptions.external_product_id_ecommerce
- where subscriptions.subscription_created_at <= customers_charge_lines.charge_created_at
- and subscriptions.subscription_cancelled_at >= customers_charge_lines.charge_created_at
+ on customers_charge_lines.purchase_item_id = subscriptions.subscription_id
group by 1
), subscriptions_enriched as (
diff --git a/packages.yml b/packages.yml
index 29c00fb..39b79cd 100644
--- a/packages.yml
+++ b/packages.yml
@@ -1,3 +1,6 @@
packages:
- - package: fivetran/recharge_source
- version: [">=0.1.0", "<0.2.0"]
+ # - package: fivetran/recharge_source
+ # version: [">=0.1.0", "<0.2.0"]
+ - git: https://github.com/fivetran/dbt_recharge_source.git
+ revision: bug/most-recent-record
+ warn-unpinned: false
\ No newline at end of file
From 924a54b6a42ae6b53824f8adea3f46aff410b53f Mon Sep 17 00:00:00 2001
From: fivetran-catfritz <111930712+fivetran-catfritz@users.noreply.github.com>
Date: Mon, 11 Sep 2023 11:13:32 -0500
Subject: [PATCH 2/8] update changelog & regen docs
---
CHANGELOG.md | 5 +++++
docs/catalog.json | 2 +-
docs/index.html | 6 +++---
docs/manifest.json | 2 +-
docs/run_results.json | 2 +-
5 files changed, 11 insertions(+), 6 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index db91f40..813bb19 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,8 @@
+# dbt_Recharge_source v0.1.1
+[PR #11](https://github.com/fivetran/dbt_recharge/pull/11) includes the following updates:
+## Features
+- Updated the join logic for `recharge__subscription_overview` to produce more accurate results.
+
# dbt_Recharge_source v0.1.0
🎉 This is the initial release of this package! 🎉
# 📣 What does this dbt package do?
diff --git a/docs/catalog.json b/docs/catalog.json
index dcd4049..63832e5 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.4.6", "generated_at": "2023-05-30T22:21:09.626701Z", "invocation_id": "4d80d489-c2a7-4b4d-9049-a8c938aa0dbf", "env": {}}, "nodes": {"seed.recharge_integration_tests.address_data": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03", "name": "address_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "bigint", "index": 1, "name": "id", "comment": null}, "customer_id": {"type": "bigint", "index": 2, "name": "customer_id", "comment": null}, "first_name": {"type": "text", "index": 3, "name": "first_name", "comment": null}, "last_name": {"type": "text", "index": 4, "name": "last_name", "comment": null}, "address_1": {"type": "text", "index": 5, "name": "address_1", "comment": null}, "address_2": {"type": "text", "index": 6, "name": "address_2", "comment": null}, "city": {"type": "text", "index": 7, "name": "city", "comment": null}, "province": {"type": "integer", "index": 8, "name": "province", "comment": null}, "country_code": {"type": "text", "index": 9, "name": "country_code", "comment": null}, "zip": {"type": "text", "index": 10, "name": "zip", "comment": null}, "company": {"type": "integer", "index": 11, "name": "company", "comment": null}, "phone": {"type": "text", "index": 12, "name": "phone", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 13, "name": "created_at", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 14, "name": "updated_at", "comment": null}, "_fivetran_deleted": {"type": "boolean", "index": 15, "name": "_fivetran_deleted", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 16, "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.recharge_integration_tests.address_data"}, "seed.recharge_integration_tests.address_discounts_data": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03", "name": "address_discounts_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "bigint", "index": 1, "name": "id", "comment": null}, "address_id": {"type": "bigint", "index": 2, "name": "address_id", "comment": null}, "index": {"type": "integer", "index": 3, "name": "index", "comment": null}, "_fivetran_deleted": {"type": "boolean", "index": 4, "name": "_fivetran_deleted", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 5, "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.recharge_integration_tests.address_discounts_data"}, "seed.recharge_integration_tests.address_shipping_line_data": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03", "name": "address_shipping_line_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"address_id": {"type": "bigint", "index": 1, "name": "address_id", "comment": null}, "index": {"type": "integer", "index": 2, "name": "index", "comment": null}, "price": {"type": "double precision", "index": 3, "name": "price", "comment": null}, "code": {"type": "text", "index": 4, "name": "code", "comment": null}, "title": {"type": "text", "index": 5, "name": "title", "comment": null}, "_fivetran_deleted": {"type": "boolean", "index": 6, "name": "_fivetran_deleted", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 7, "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.recharge_integration_tests.address_shipping_line_data"}, "seed.recharge_integration_tests.charge_data": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03", "name": "charge_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "bigint", "index": 1, "name": "id", "comment": null}, "address_id": {"type": "bigint", "index": 2, "name": "address_id", "comment": null}, "customer_id": {"type": "bigint", "index": 3, "name": "customer_id", "comment": null}, "customer_hash": {"type": "text", "index": 4, "name": "customer_hash", "comment": null}, "note": {"type": "text", "index": 5, "name": "note", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 6, "name": "created_at", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 7, "name": "updated_at", "comment": null}, "processed_at": {"type": "timestamp without time zone", "index": 8, "name": "processed_at", "comment": null}, "scheduled_at": {"type": "timestamp without time zone", "index": 9, "name": "scheduled_at", "comment": null}, "orders_count": {"type": "integer", "index": 10, "name": "orders_count", "comment": null}, "external_order_id_ecommerce": {"type": "integer", "index": 11, "name": "external_order_id_ecommerce", "comment": null}, "subtotal_price": {"type": "double precision", "index": 12, "name": "subtotal_price", "comment": null}, "tags": {"type": "text", "index": 13, "name": "tags", "comment": null}, "tax_lines": {"type": "double precision", "index": 14, "name": "tax_lines", "comment": null}, "total_discounts": {"type": "integer", "index": 15, "name": "total_discounts", "comment": null}, "total_line_items_price": {"type": "double precision", "index": 16, "name": "total_line_items_price", "comment": null}, "total_price": {"type": "character varying", "index": 17, "name": "total_price", "comment": null}, "total_tax": {"type": "double precision", "index": 18, "name": "total_tax", "comment": null}, "total_weight_grams": {"type": "integer", "index": 19, "name": "total_weight_grams", "comment": null}, "type": {"type": "text", "index": 20, "name": "type", "comment": null}, "status": {"type": "text", "index": 21, "name": "status", "comment": null}, "total_refunds": {"type": "integer", "index": 22, "name": "total_refunds", "comment": null}, "external_transaction_id_payment_processor": {"type": "integer", "index": 23, "name": "external_transaction_id_payment_processor", "comment": null}, "email": {"type": "text", "index": 24, "name": "email", "comment": null}, "payment_processor": {"type": "text", "index": 25, "name": "payment_processor", "comment": null}, "has_uncommited_changes": {"type": "boolean", "index": 26, "name": "has_uncommited_changes", "comment": null}, "retry_date": {"type": "timestamp without time zone", "index": 27, "name": "retry_date", "comment": null}, "error_type": {"type": "integer", "index": 28, "name": "error_type", "comment": null}, "error": {"type": "integer", "index": 29, "name": "error", "comment": null}, "charge_attempts": {"type": "integer", "index": 30, "name": "charge_attempts", "comment": null}, "external_variant_id_not_found": {"type": "integer", "index": 31, "name": "external_variant_id_not_found", "comment": null}, "client_details_browser_ip": {"type": "integer", "index": 32, "name": "client_details_browser_ip", "comment": null}, "client_details_user_agent": {"type": "integer", "index": 33, "name": "client_details_user_agent", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 34, "name": "_fivetran_synced", "comment": null}, "last_charge_attempt_date": {"type": "timestamp without time zone", "index": 35, "name": "last_charge_attempt_date", "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.recharge_integration_tests.charge_data"}, "seed.recharge_integration_tests.charge_discount_data": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03", "name": "charge_discount_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"charge_id": {"type": "bigint", "index": 1, "name": "charge_id", "comment": null}, "index": {"type": "integer", "index": 2, "name": "index", "comment": null}, "id": {"type": "bigint", "index": 3, "name": "id", "comment": null}, "code": {"type": "text", "index": 4, "name": "code", "comment": null}, "value": {"type": "double precision", "index": 5, "name": "value", "comment": null}, "value_type": {"type": "text", "index": 6, "name": "value_type", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 7, "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.recharge_integration_tests.charge_discount_data"}, "seed.recharge_integration_tests.charge_line_item_data": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03", "name": "charge_line_item_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"charge_id": {"type": "bigint", "index": 1, "name": "charge_id", "comment": null}, "index": {"type": "integer", "index": 2, "name": "index", "comment": null}, "variant_title": {"type": "text", "index": 3, "name": "variant_title", "comment": null}, "title": {"type": "text", "index": 4, "name": "title", "comment": null}, "quantity": {"type": "integer", "index": 5, "name": "quantity", "comment": null}, "grams": {"type": "integer", "index": 6, "name": "grams", "comment": null}, "total_price": {"type": "character varying", "index": 7, "name": "total_price", "comment": null}, "sku": {"type": "text", "index": 8, "name": "sku", "comment": null}, "external_product_id_ecommerce": {"type": "bigint", "index": 9, "name": "external_product_id_ecommerce", "comment": null}, "vendor": {"type": "text", "index": 10, "name": "vendor", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 11, "name": "_fivetran_synced", "comment": null}, "unit_price": {"type": "double precision", "index": 12, "name": "unit_price", "comment": null}, "tax_due": {"type": "integer", "index": 13, "name": "tax_due", "comment": null}, "taxable": {"type": "boolean", "index": 14, "name": "taxable", "comment": null}, "taxable_amount": {"type": "integer", "index": 15, "name": "taxable_amount", "comment": null}, "unit_price_includes_tax": {"type": "boolean", "index": 16, "name": "unit_price_includes_tax", "comment": null}, "purchase_item_id": {"type": "integer", "index": 17, "name": "purchase_item_id", "comment": null}, "purchase_item_type": {"type": "text", "index": 18, "name": "purchase_item_type", "comment": null}, "external_variant_id_ecommerce": {"type": "bigint", "index": 19, "name": "external_variant_id_ecommerce", "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.recharge_integration_tests.charge_line_item_data"}, "seed.recharge_integration_tests.charge_order_attribute_data": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03", "name": "charge_order_attribute_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"charge_id": {"type": "bigint", "index": 1, "name": "charge_id", "comment": null}, "index": {"type": "integer", "index": 2, "name": "index", "comment": null}, "order_attribute": {"type": "text", "index": 3, "name": "order_attribute", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 4, "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.recharge_integration_tests.charge_order_attribute_data"}, "seed.recharge_integration_tests.charge_shipping_line_data": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03", "name": "charge_shipping_line_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"charge_id": {"type": "bigint", "index": 1, "name": "charge_id", "comment": null}, "index": {"type": "integer", "index": 2, "name": "index", "comment": null}, "price": {"type": "double precision", "index": 3, "name": "price", "comment": null}, "code": {"type": "text", "index": 4, "name": "code", "comment": null}, "title": {"type": "text", "index": 5, "name": "title", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 6, "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.recharge_integration_tests.charge_shipping_line_data"}, "seed.recharge_integration_tests.charge_tax_line_data": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03", "name": "charge_tax_line_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"charge_id": {"type": "bigint", "index": 1, "name": "charge_id", "comment": null}, "index": {"type": "integer", "index": 2, "name": "index", "comment": null}, "price": {"type": "double precision", "index": 3, "name": "price", "comment": null}, "rate": {"type": "double precision", "index": 4, "name": "rate", "comment": null}, "title": {"type": "text", "index": 5, "name": "title", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 6, "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.recharge_integration_tests.charge_tax_line_data"}, "seed.recharge_integration_tests.customer_data": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03", "name": "customer_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "bigint", "index": 1, "name": "id", "comment": null}, "hash": {"type": "text", "index": 2, "name": "hash", "comment": null}, "external_customer_id_ecommerce": {"type": "integer", "index": 3, "name": "external_customer_id_ecommerce", "comment": null}, "email": {"type": "text", "index": 4, "name": "email", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 5, "name": "created_at", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 6, "name": "updated_at", "comment": null}, "first_charge_processed_at": {"type": "timestamp without time zone", "index": 7, "name": "first_charge_processed_at", "comment": null}, "first_name": {"type": "text", "index": 8, "name": "first_name", "comment": null}, "last_name": {"type": "text", "index": 9, "name": "last_name", "comment": null}, "subscriptions_active_count": {"type": "integer", "index": 10, "name": "subscriptions_active_count", "comment": null}, "subscriptions_total_count": {"type": "integer", "index": 11, "name": "subscriptions_total_count", "comment": null}, "has_valid_payment_method": {"type": "boolean", "index": 12, "name": "has_valid_payment_method", "comment": null}, "has_payment_method_in_dunning": {"type": "boolean", "index": 13, "name": "has_payment_method_in_dunning", "comment": null}, "_fivetran_deleted": {"type": "boolean", "index": 14, "name": "_fivetran_deleted", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 15, "name": "_fivetran_synced", "comment": null}, "tax_exempt": {"type": "boolean", "index": 16, "name": "tax_exempt", "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.recharge_integration_tests.customer_data"}, "seed.recharge_integration_tests.discount_data": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03", "name": "discount_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "bigint", "index": 1, "name": "id", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 2, "name": "created_at", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 3, "name": "updated_at", "comment": null}, "starts_at": {"type": "timestamp without time zone", "index": 4, "name": "starts_at", "comment": null}, "ends_at": {"type": "timestamp without time zone", "index": 5, "name": "ends_at", "comment": null}, "code": {"type": "text", "index": 6, "name": "code", "comment": null}, "value": {"type": "integer", "index": 7, "name": "value", "comment": null}, "status": {"type": "text", "index": 8, "name": "status", "comment": null}, "usage_limits": {"type": "integer", "index": 9, "name": "usage_limits", "comment": null}, "applies_to": {"type": "text", "index": 10, "name": "applies_to", "comment": null}, "applies_to_resource": {"type": "text", "index": 11, "name": "applies_to_resource", "comment": null}, "applies_to_id": {"type": "bigint", "index": 12, "name": "applies_to_id", "comment": null}, "applies_to_product_type": {"type": "text", "index": 13, "name": "applies_to_product_type", "comment": null}, "minimum_order_amount": {"type": "integer", "index": 14, "name": "minimum_order_amount", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 15, "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.recharge_integration_tests.discount_data"}, "seed.recharge_integration_tests.one_time_product_data": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03", "name": "one_time_product_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "bigint", "index": 1, "name": "id", "comment": null}, "address_id": {"type": "bigint", "index": 2, "name": "address_id", "comment": null}, "customer_id": {"type": "bigint", "index": 3, "name": "customer_id", "comment": null}, "is_deleted": {"type": "boolean", "index": 4, "name": "is_deleted", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 5, "name": "created_at", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 6, "name": "updated_at", "comment": null}, "next_charge_scheduled_at": {"type": "timestamp without time zone", "index": 7, "name": "next_charge_scheduled_at", "comment": null}, "product_title": {"type": "text", "index": 8, "name": "product_title", "comment": null}, "variant_title": {"type": "integer", "index": 9, "name": "variant_title", "comment": null}, "price": {"type": "integer", "index": 10, "name": "price", "comment": null}, "quantity": {"type": "integer", "index": 11, "name": "quantity", "comment": null}, "external_product_id_ecommerce": {"type": "bigint", "index": 12, "name": "external_product_id_ecommerce", "comment": null}, "external_variant_id_ecommerce": {"type": "bigint", "index": 13, "name": "external_variant_id_ecommerce", "comment": null}, "sku": {"type": "integer", "index": 14, "name": "sku", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 15, "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.recharge_integration_tests.one_time_product_data"}, "seed.recharge_integration_tests.order_data": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03", "name": "order_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "bigint", "index": 1, "name": "id", "comment": null}, "customer_id": {"type": "bigint", "index": 2, "name": "customer_id", "comment": null}, "address_id": {"type": "bigint", "index": 3, "name": "address_id", "comment": null}, "charge_id": {"type": "bigint", "index": 4, "name": "charge_id", "comment": null}, "is_deleted": {"type": "boolean", "index": 5, "name": "is_deleted", "comment": null}, "email": {"type": "text", "index": 6, "name": "email", "comment": null}, "transaction_id": {"type": "text", "index": 7, "name": "transaction_id", "comment": null}, "charge_status": {"type": "text", "index": 8, "name": "charge_status", "comment": null}, "is_prepaid": {"type": "boolean", "index": 9, "name": "is_prepaid", "comment": null}, "status": {"type": "text", "index": 10, "name": "status", "comment": null}, "total_price": {"type": "character varying", "index": 11, "name": "total_price", "comment": null}, "type": {"type": "text", "index": 12, "name": "type", "comment": null}, "external_order_id_ecommerce": {"type": "integer", "index": 13, "name": "external_order_id_ecommerce", "comment": null}, "external_order_number_ecommerce": {"type": "integer", "index": 14, "name": "external_order_number_ecommerce", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 15, "name": "created_at", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 16, "name": "updated_at", "comment": null}, "processed_at": {"type": "timestamp without time zone", "index": 17, "name": "processed_at", "comment": null}, "scheduled_at": {"type": "timestamp without time zone", "index": 18, "name": "scheduled_at", "comment": null}, "shipped_date": {"type": "timestamp without time zone", "index": 19, "name": "shipped_date", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 20, "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.recharge_integration_tests.order_data"}, "seed.recharge_integration_tests.order_line_item_data": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03", "name": "order_line_item_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"order_id": {"type": "integer", "index": 1, "name": "order_id", "comment": null}, "index": {"type": "integer", "index": 2, "name": "index", "comment": null}, "variant_title": {"type": "text", "index": 3, "name": "variant_title", "comment": null}, "title": {"type": "text", "index": 4, "name": "title", "comment": null}, "quantity": {"type": "integer", "index": 5, "name": "quantity", "comment": null}, "grams": {"type": "integer", "index": 6, "name": "grams", "comment": null}, "total_price": {"type": "character varying", "index": 7, "name": "total_price", "comment": null}, "sku": {"type": "text", "index": 8, "name": "sku", "comment": null}, "external_product_id_ecommerce": {"type": "bigint", "index": 9, "name": "external_product_id_ecommerce", "comment": null}, "external_variant_id_ecommerce": {"type": "bigint", "index": 10, "name": "external_variant_id_ecommerce", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 11, "name": "_fivetran_synced", "comment": null}, "unit_price": {"type": "double precision", "index": 12, "name": "unit_price", "comment": null}, "tax_due": {"type": "integer", "index": 13, "name": "tax_due", "comment": null}, "taxable": {"type": "boolean", "index": 14, "name": "taxable", "comment": null}, "taxable_amount": {"type": "integer", "index": 15, "name": "taxable_amount", "comment": null}, "unit_price_includes_tax": {"type": "boolean", "index": 16, "name": "unit_price_includes_tax", "comment": null}, "purchase_item_id": {"type": "integer", "index": 17, "name": "purchase_item_id", "comment": null}, "purchase_item_type": {"type": "text", "index": 18, "name": "purchase_item_type", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.recharge_integration_tests.order_line_item_data"}, "seed.recharge_integration_tests.subscription_data": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03", "name": "subscription_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "bigint", "index": 1, "name": "id", "comment": null}, "address_id": {"type": "bigint", "index": 2, "name": "address_id", "comment": null}, "customer_id": {"type": "bigint", "index": 3, "name": "customer_id", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 4, "name": "created_at", "comment": null}, "cancelled_at": {"type": "timestamp without time zone", "index": 5, "name": "cancelled_at", "comment": null}, "next_charge_scheduled_at": {"type": "timestamp without time zone", "index": 6, "name": "next_charge_scheduled_at", "comment": null}, "price": {"type": "double precision", "index": 7, "name": "price", "comment": null}, "quantity": {"type": "integer", "index": 8, "name": "quantity", "comment": null}, "cancellation_reason": {"type": "text", "index": 9, "name": "cancellation_reason", "comment": null}, "status": {"type": "text", "index": 10, "name": "status", "comment": null}, "cancellation_reason_comments": {"type": "integer", "index": 11, "name": "cancellation_reason_comments", "comment": null}, "product_title": {"type": "text", "index": 12, "name": "product_title", "comment": null}, "variant_title": {"type": "text", "index": 13, "name": "variant_title", "comment": null}, "external_product_id_ecommerce": {"type": "bigint", "index": 14, "name": "external_product_id_ecommerce", "comment": null}, "external_variant_id_ecommerce": {"type": "bigint", "index": 15, "name": "external_variant_id_ecommerce", "comment": null}, "sku": {"type": "text", "index": 16, "name": "sku", "comment": null}, "order_interval_unit": {"type": "text", "index": 17, "name": "order_interval_unit", "comment": null}, "order_interval_frequency": {"type": "integer", "index": 18, "name": "order_interval_frequency", "comment": null}, "charge_interval_frequency": {"type": "integer", "index": 19, "name": "charge_interval_frequency", "comment": null}, "order_day_of_week": {"type": "integer", "index": 20, "name": "order_day_of_week", "comment": null}, "order_day_of_month": {"type": "integer", "index": 21, "name": "order_day_of_month", "comment": null}, "expire_after_specific_number_of_charges": {"type": "integer", "index": 22, "name": "expire_after_specific_number_of_charges", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 23, "name": "updated_at", "comment": null}, "_fivetran_deleted": {"type": "boolean", "index": 24, "name": "_fivetran_deleted", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 25, "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.recharge_integration_tests.subscription_data"}, "seed.recharge_integration_tests.subscription_history_data": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03", "name": "subscription_history_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"subscription_id": {"type": "bigint", "index": 1, "name": "subscription_id", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 2, "name": "updated_at", "comment": null}, "address_id": {"type": "bigint", "index": 3, "name": "address_id", "comment": null}, "customer_id": {"type": "bigint", "index": 4, "name": "customer_id", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 5, "name": "created_at", "comment": null}, "cancelled_at": {"type": "timestamp without time zone", "index": 6, "name": "cancelled_at", "comment": null}, "next_charge_scheduled_at": {"type": "timestamp without time zone", "index": 7, "name": "next_charge_scheduled_at", "comment": null}, "price": {"type": "double precision", "index": 8, "name": "price", "comment": null}, "quantity": {"type": "integer", "index": 9, "name": "quantity", "comment": null}, "cancellation_reason": {"type": "text", "index": 10, "name": "cancellation_reason", "comment": null}, "status": {"type": "text", "index": 11, "name": "status", "comment": null}, "cancellation_reason_comments": {"type": "integer", "index": 12, "name": "cancellation_reason_comments", "comment": null}, "variant_title": {"type": "text", "index": 13, "name": "variant_title", "comment": null}, "external_product_id_ecommerce": {"type": "bigint", "index": 14, "name": "external_product_id_ecommerce", "comment": null}, "external_variant_id_ecommerce": {"type": "bigint", "index": 15, "name": "external_variant_id_ecommerce", "comment": null}, "sku": {"type": "text", "index": 16, "name": "sku", "comment": null}, "order_interval_unit": {"type": "text", "index": 17, "name": "order_interval_unit", "comment": null}, "order_interval_frequency": {"type": "integer", "index": 18, "name": "order_interval_frequency", "comment": null}, "charge_interval_frequency": {"type": "integer", "index": 19, "name": "charge_interval_frequency", "comment": null}, "order_day_of_week": {"type": "integer", "index": 20, "name": "order_day_of_week", "comment": null}, "order_day_of_month": {"type": "integer", "index": 21, "name": "order_day_of_month", "comment": null}, "expire_after_specific_number_of_charges": {"type": "integer", "index": 22, "name": "expire_after_specific_number_of_charges", "comment": null}, "_fivetran_deleted": {"type": "boolean", "index": 23, "name": "_fivetran_deleted", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 24, "name": "_fivetran_synced", "comment": null}, "product_title": {"type": "text", "index": 25, "name": "product_title", "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.recharge_integration_tests.subscription_history_data"}, "model.recharge.int_recharge__calendar_spine": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03_recharge", "name": "int_recharge__calendar_spine", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"date_day": {"type": "timestamp without time zone", "index": 1, "name": "date_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.recharge.int_recharge__calendar_spine"}, "model.recharge.recharge__billing_history": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03_recharge", "name": "recharge__billing_history", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"order_id": {"type": "bigint", "index": 1, "name": "order_id", "comment": null}, "external_order_id_ecommerce": {"type": "integer", "index": 2, "name": "external_order_id_ecommerce", "comment": null}, "external_order_number_ecommerce": {"type": "integer", "index": 3, "name": "external_order_number_ecommerce", "comment": null}, "customer_id": {"type": "bigint", "index": 4, "name": "customer_id", "comment": null}, "email": {"type": "text", "index": 5, "name": "email", "comment": null}, "order_created_at": {"type": "timestamp without time zone", "index": 6, "name": "order_created_at", "comment": null}, "order_status": {"type": "text", "index": 7, "name": "order_status", "comment": null}, "order_updated_at": {"type": "timestamp without time zone", "index": 8, "name": "order_updated_at", "comment": null}, "charge_id": {"type": "bigint", "index": 9, "name": "charge_id", "comment": null}, "transaction_id": {"type": "text", "index": 10, "name": "transaction_id", "comment": null}, "charge_status": {"type": "text", "index": 11, "name": "charge_status", "comment": null}, "is_prepaid": {"type": "boolean", "index": 12, "name": "is_prepaid", "comment": null}, "order_total_price": {"type": "double precision", "index": 13, "name": "order_total_price", "comment": null}, "order_type": {"type": "text", "index": 14, "name": "order_type", "comment": null}, "order_processed_at": {"type": "timestamp without time zone", "index": 15, "name": "order_processed_at", "comment": null}, "order_scheduled_at": {"type": "timestamp without time zone", "index": 16, "name": "order_scheduled_at", "comment": null}, "order_shipped_date": {"type": "timestamp without time zone", "index": 17, "name": "order_shipped_date", "comment": null}, "address_id": {"type": "bigint", "index": 18, "name": "address_id", "comment": null}, "is_deleted": {"type": "boolean", "index": 19, "name": "is_deleted", "comment": null}, "charge_created_at": {"type": "timestamp without time zone", "index": 20, "name": "charge_created_at", "comment": null}, "payment_processor": {"type": "text", "index": 21, "name": "payment_processor", "comment": null}, "tags": {"type": "text", "index": 22, "name": "tags", "comment": null}, "orders_count": {"type": "integer", "index": 23, "name": "orders_count", "comment": null}, "charge_type": {"type": "text", "index": 24, "name": "charge_type", "comment": null}, "charge_total_price": {"type": "double precision", "index": 25, "name": "charge_total_price", "comment": null}, "calculated_order_total_price": {"type": "numeric", "index": 26, "name": "calculated_order_total_price", "comment": null}, "charge_subtotal_price": {"type": "double precision", "index": 27, "name": "charge_subtotal_price", "comment": null}, "calculated_order_subtotal_price": {"type": "numeric", "index": 28, "name": "calculated_order_subtotal_price", "comment": null}, "charge_tax_lines": {"type": "double precision", "index": 29, "name": "charge_tax_lines", "comment": null}, "calculated_order_tax_lines": {"type": "numeric", "index": 30, "name": "calculated_order_tax_lines", "comment": null}, "charge_total_discounts": {"type": "integer", "index": 31, "name": "charge_total_discounts", "comment": null}, "calculated_order_total_discounts": {"type": "numeric", "index": 32, "name": "calculated_order_total_discounts", "comment": null}, "charge_total_refunds": {"type": "integer", "index": 33, "name": "charge_total_refunds", "comment": null}, "calculated_order_total_refunds": {"type": "numeric", "index": 34, "name": "calculated_order_total_refunds", "comment": null}, "charge_total_tax": {"type": "double precision", "index": 35, "name": "charge_total_tax", "comment": null}, "calculated_order_total_tax": {"type": "numeric", "index": 36, "name": "calculated_order_total_tax", "comment": null}, "charge_total_weight_grams": {"type": "integer", "index": 37, "name": "charge_total_weight_grams", "comment": null}, "calculated_order_total_weight_grams": {"type": "numeric", "index": 38, "name": "calculated_order_total_weight_grams", "comment": null}, "charge_total_shipping": {"type": "numeric", "index": 39, "name": "charge_total_shipping", "comment": null}, "calculated_order_total_shipping": {"type": "numeric", "index": 40, "name": "calculated_order_total_shipping", "comment": null}, "order_item_quantity": {"type": "bigint", "index": 41, "name": "order_item_quantity", "comment": null}, "order_line_item_total": {"type": "numeric", "index": 42, "name": "order_line_item_total", "comment": null}, "total_net_charge_value": {"type": "double precision", "index": 43, "name": "total_net_charge_value", "comment": null}, "total_calculated_net_order_value": {"type": "numeric", "index": 44, "name": "total_calculated_net_order_value", "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.recharge.recharge__billing_history"}, "model.recharge.recharge__charge_line_item_history": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03_recharge", "name": "recharge__charge_line_item_history", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"charge_id": {"type": "bigint", "index": 1, "name": "charge_id", "comment": null}, "charge_row_num": {"type": "bigint", "index": 2, "name": "charge_row_num", "comment": null}, "source_index": {"type": "integer", "index": 3, "name": "source_index", "comment": null}, "charge_created_at": {"type": "timestamp without time zone", "index": 4, "name": "charge_created_at", "comment": null}, "customer_id": {"type": "bigint", "index": 5, "name": "customer_id", "comment": null}, "address_id": {"type": "bigint", "index": 6, "name": "address_id", "comment": null}, "amount": {"type": "double precision", "index": 7, "name": "amount", "comment": null}, "title": {"type": "text", "index": 8, "name": "title", "comment": null}, "line_item_type": {"type": "text", "index": 9, "name": "line_item_type", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.recharge.recharge__charge_line_item_history"}, "model.recharge.recharge__customer_daily_rollup": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03_recharge", "name": "recharge__customer_daily_rollup", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"customer_id": {"type": "bigint", "index": 1, "name": "customer_id", "comment": null}, "date_day": {"type": "timestamp without time zone", "index": 2, "name": "date_day", "comment": null}, "date_week": {"type": "date", "index": 3, "name": "date_week", "comment": null}, "date_month": {"type": "date", "index": 4, "name": "date_month", "comment": null}, "date_year": {"type": "date", "index": 5, "name": "date_year", "comment": null}, "no_of_orders": {"type": "bigint", "index": 6, "name": "no_of_orders", "comment": null}, "recurring_orders": {"type": "bigint", "index": 7, "name": "recurring_orders", "comment": null}, "one_time_orders": {"type": "bigint", "index": 8, "name": "one_time_orders", "comment": null}, "total_charges": {"type": "double precision", "index": 9, "name": "total_charges", "comment": null}, "charge_total_price_realized": {"type": "numeric", "index": 10, "name": "charge_total_price_realized", "comment": null}, "charge_total_discounts_realized": {"type": "numeric", "index": 11, "name": "charge_total_discounts_realized", "comment": null}, "charge_total_tax_realized": {"type": "numeric", "index": 12, "name": "charge_total_tax_realized", "comment": null}, "charge_total_refunds_realized": {"type": "numeric", "index": 13, "name": "charge_total_refunds_realized", "comment": null}, "calculated_order_total_discounts_realized": {"type": "numeric", "index": 14, "name": "calculated_order_total_discounts_realized", "comment": null}, "calculated_order_total_tax_realized": {"type": "numeric", "index": 15, "name": "calculated_order_total_tax_realized", "comment": null}, "calculated_order_total_price_realized": {"type": "numeric", "index": 16, "name": "calculated_order_total_price_realized", "comment": null}, "calculated_order_total_refunds_realized": {"type": "numeric", "index": 17, "name": "calculated_order_total_refunds_realized", "comment": null}, "order_line_item_total_realized": {"type": "numeric", "index": 18, "name": "order_line_item_total_realized", "comment": null}, "order_item_quantity_realized": {"type": "numeric", "index": 19, "name": "order_item_quantity_realized", "comment": null}, "charge_recurring_net_amount_realized": {"type": "numeric", "index": 20, "name": "charge_recurring_net_amount_realized", "comment": null}, "charge_one_time_net_amount_realized": {"type": "numeric", "index": 21, "name": "charge_one_time_net_amount_realized", "comment": null}, "calculated_order_recurring_net_amount_realized": {"type": "numeric", "index": 22, "name": "calculated_order_recurring_net_amount_realized", "comment": null}, "calculated_order_one_time_net_amount_realized": {"type": "numeric", "index": 23, "name": "calculated_order_one_time_net_amount_realized", "comment": null}, "charge_total_price_running_total": {"type": "numeric", "index": 24, "name": "charge_total_price_running_total", "comment": null}, "charge_total_discounts_running_total": {"type": "numeric", "index": 25, "name": "charge_total_discounts_running_total", "comment": null}, "charge_total_tax_running_total": {"type": "numeric", "index": 26, "name": "charge_total_tax_running_total", "comment": null}, "charge_total_refunds_running_total": {"type": "numeric", "index": 27, "name": "charge_total_refunds_running_total", "comment": null}, "calculated_order_total_discounts_running_total": {"type": "numeric", "index": 28, "name": "calculated_order_total_discounts_running_total", "comment": null}, "calculated_order_total_tax_running_total": {"type": "numeric", "index": 29, "name": "calculated_order_total_tax_running_total", "comment": null}, "calculated_order_total_price_running_total": {"type": "numeric", "index": 30, "name": "calculated_order_total_price_running_total", "comment": null}, "calculated_order_total_refunds_running_total": {"type": "numeric", "index": 31, "name": "calculated_order_total_refunds_running_total", "comment": null}, "order_line_item_total_running_total": {"type": "numeric", "index": 32, "name": "order_line_item_total_running_total", "comment": null}, "order_item_quantity_running_total": {"type": "numeric", "index": 33, "name": "order_item_quantity_running_total", "comment": null}, "charge_recurring_net_amount_running_total": {"type": "numeric", "index": 34, "name": "charge_recurring_net_amount_running_total", "comment": null}, "charge_one_time_net_amount_running_total": {"type": "numeric", "index": 35, "name": "charge_one_time_net_amount_running_total", "comment": null}, "calculated_order_recurring_net_amount_running_total": {"type": "numeric", "index": 36, "name": "calculated_order_recurring_net_amount_running_total", "comment": null}, "calculated_order_one_time_net_amount_running_total": {"type": "numeric", "index": 37, "name": "calculated_order_one_time_net_amount_running_total", "comment": null}, "active_months_to_date": {"type": "numeric", "index": 38, "name": "active_months_to_date", "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.recharge.recharge__customer_daily_rollup"}, "model.recharge.recharge__customer_details": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03_recharge", "name": "recharge__customer_details", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"customer_id": {"type": "bigint", "index": 1, "name": "customer_id", "comment": null}, "customer_hash": {"type": "text", "index": 2, "name": "customer_hash", "comment": null}, "external_customer_id_ecommerce": {"type": "integer", "index": 3, "name": "external_customer_id_ecommerce", "comment": null}, "email": {"type": "text", "index": 4, "name": "email", "comment": null}, "first_name": {"type": "text", "index": 5, "name": "first_name", "comment": null}, "last_name": {"type": "text", "index": 6, "name": "last_name", "comment": null}, "customer_created_at": {"type": "timestamp without time zone", "index": 7, "name": "customer_created_at", "comment": null}, "customer_updated_at": {"type": "timestamp without time zone", "index": 8, "name": "customer_updated_at", "comment": null}, "first_charge_processed_at": {"type": "timestamp without time zone", "index": 9, "name": "first_charge_processed_at", "comment": null}, "subscriptions_active_count": {"type": "integer", "index": 10, "name": "subscriptions_active_count", "comment": null}, "subscriptions_total_count": {"type": "integer", "index": 11, "name": "subscriptions_total_count", "comment": null}, "has_valid_payment_method": {"type": "boolean", "index": 12, "name": "has_valid_payment_method", "comment": null}, "has_payment_method_in_dunning": {"type": "boolean", "index": 13, "name": "has_payment_method_in_dunning", "comment": null}, "tax_exempt": {"type": "boolean", "index": 14, "name": "tax_exempt", "comment": null}, "total_orders": {"type": "bigint", "index": 15, "name": "total_orders", "comment": null}, "total_amount_ordered": {"type": "numeric", "index": 16, "name": "total_amount_ordered", "comment": null}, "avg_order_amount": {"type": "numeric", "index": 17, "name": "avg_order_amount", "comment": null}, "total_order_line_item_total": {"type": "numeric", "index": 18, "name": "total_order_line_item_total", "comment": null}, "avg_order_line_item_total": {"type": "numeric", "index": 19, "name": "avg_order_line_item_total", "comment": null}, "avg_item_quantity_per_order": {"type": "numeric", "index": 20, "name": "avg_item_quantity_per_order", "comment": null}, "total_amount_charged": {"type": "numeric", "index": 21, "name": "total_amount_charged", "comment": null}, "avg_amount_charged": {"type": "numeric", "index": 22, "name": "avg_amount_charged", "comment": null}, "charges_count": {"type": "bigint", "index": 23, "name": "charges_count", "comment": null}, "total_amount_taxed": {"type": "numeric", "index": 24, "name": "total_amount_taxed", "comment": null}, "total_amount_discounted": {"type": "numeric", "index": 25, "name": "total_amount_discounted", "comment": null}, "total_refunds": {"type": "numeric", "index": 26, "name": "total_refunds", "comment": null}, "total_one_time_purchases": {"type": "bigint", "index": 27, "name": "total_one_time_purchases", "comment": null}, "total_net_spend": {"type": "numeric", "index": 28, "name": "total_net_spend", "comment": null}, "calculated_subscriptions_active_count": {"type": "bigint", "index": 29, "name": "calculated_subscriptions_active_count", "comment": null}, "is_currently_subscribed": {"type": "boolean", "index": 30, "name": "is_currently_subscribed", "comment": null}, "is_new_customer": {"type": "boolean", "index": 31, "name": "is_new_customer", "comment": null}, "active_months": {"type": "numeric", "index": 32, "name": "active_months", "comment": null}, "orders_monthly_average": {"type": "numeric", "index": 33, "name": "orders_monthly_average", "comment": null}, "amount_ordered_monthly_average": {"type": "numeric", "index": 34, "name": "amount_ordered_monthly_average", "comment": null}, "one_time_purchases_monthly_average": {"type": "numeric", "index": 35, "name": "one_time_purchases_monthly_average", "comment": null}, "amount_charged_monthly_average": {"type": "numeric", "index": 36, "name": "amount_charged_monthly_average", "comment": null}, "amount_discounted_monthly_average": {"type": "numeric", "index": 37, "name": "amount_discounted_monthly_average", "comment": null}, "amount_taxed_monthly_average": {"type": "numeric", "index": 38, "name": "amount_taxed_monthly_average", "comment": null}, "net_spend_monthly_average": {"type": "numeric", "index": 39, "name": "net_spend_monthly_average", "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.recharge.recharge__customer_details"}, "model.recharge.recharge__monthly_recurring_revenue": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03_recharge", "name": "recharge__monthly_recurring_revenue", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"date_month": {"type": "date", "index": 1, "name": "date_month", "comment": null}, "customer_id": {"type": "bigint", "index": 2, "name": "customer_id", "comment": null}, "recurring_orders": {"type": "numeric", "index": 3, "name": "recurring_orders", "comment": null}, "total_net_recurring_charges": {"type": "numeric", "index": 4, "name": "total_net_recurring_charges", "comment": null}, "calculated_net_order_mrr": {"type": "numeric", "index": 5, "name": "calculated_net_order_mrr", "comment": null}, "one_time_orders": {"type": "numeric", "index": 6, "name": "one_time_orders", "comment": null}, "total_net_one_time_charges": {"type": "numeric", "index": 7, "name": "total_net_one_time_charges", "comment": null}, "calculated_net_order_one_times": {"type": "numeric", "index": 8, "name": "calculated_net_order_one_times", "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.recharge.recharge__monthly_recurring_revenue"}, "model.recharge.recharge__subscription_overview": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03_recharge", "name": "recharge__subscription_overview", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"subscription_id": {"type": "bigint", "index": 1, "name": "subscription_id", "comment": null}, "customer_id": {"type": "bigint", "index": 2, "name": "customer_id", "comment": null}, "address_id": {"type": "bigint", "index": 3, "name": "address_id", "comment": null}, "subscription_created_at": {"type": "timestamp without time zone", "index": 4, "name": "subscription_created_at", "comment": null}, "external_product_id_ecommerce": {"type": "bigint", "index": 5, "name": "external_product_id_ecommerce", "comment": null}, "external_variant_id_ecommerce": {"type": "bigint", "index": 6, "name": "external_variant_id_ecommerce", "comment": null}, "product_title": {"type": "text", "index": 7, "name": "product_title", "comment": null}, "variant_title": {"type": "text", "index": 8, "name": "variant_title", "comment": null}, "sku": {"type": "text", "index": 9, "name": "sku", "comment": null}, "price": {"type": "double precision", "index": 10, "name": "price", "comment": null}, "quantity": {"type": "integer", "index": 11, "name": "quantity", "comment": null}, "subscription_status": {"type": "text", "index": 12, "name": "subscription_status", "comment": null}, "charge_interval_frequency": {"type": "integer", "index": 13, "name": "charge_interval_frequency", "comment": null}, "order_interval_unit": {"type": "text", "index": 14, "name": "order_interval_unit", "comment": null}, "order_interval_frequency": {"type": "integer", "index": 15, "name": "order_interval_frequency", "comment": null}, "order_day_of_month": {"type": "integer", "index": 16, "name": "order_day_of_month", "comment": null}, "order_day_of_week": {"type": "integer", "index": 17, "name": "order_day_of_week", "comment": null}, "expire_after_specific_number_of_charges": {"type": "integer", "index": 18, "name": "expire_after_specific_number_of_charges", "comment": null}, "subscription_updated_at": {"type": "timestamp without time zone", "index": 19, "name": "subscription_updated_at", "comment": null}, "subscription_next_charge_scheduled_at": {"type": "timestamp without time zone", "index": 20, "name": "subscription_next_charge_scheduled_at", "comment": null}, "subscription_cancelled_at": {"type": "timestamp without time zone", "index": 21, "name": "subscription_cancelled_at", "comment": null}, "cancellation_reason": {"type": "text", "index": 22, "name": "cancellation_reason", "comment": null}, "cancellation_reason_comments": {"type": "integer", "index": 23, "name": "cancellation_reason_comments", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 24, "name": "_fivetran_synced", "comment": null}, "is_most_recent_record": {"type": "boolean", "index": 25, "name": "is_most_recent_record", "comment": null}, "count_successful_charges": {"type": "bigint", "index": 26, "name": "count_successful_charges", "comment": null}, "count_queued_charges": {"type": "bigint", "index": 27, "name": "count_queued_charges", "comment": null}, "charges_until_expiration": {"type": "bigint", "index": 28, "name": "charges_until_expiration", "comment": null}, "charge_interval_frequency_days": {"type": "integer", "index": 29, "name": "charge_interval_frequency_days", "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.recharge.recharge__subscription_overview"}, "model.recharge_source.stg_recharge__address": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03_recharge_source", "name": "stg_recharge__address", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"address_id": {"type": "bigint", "index": 1, "name": "address_id", "comment": null}, "customer_id": {"type": "bigint", "index": 2, "name": "customer_id", "comment": null}, "first_name": {"type": "text", "index": 3, "name": "first_name", "comment": null}, "last_name": {"type": "text", "index": 4, "name": "last_name", "comment": null}, "address_created_at": {"type": "timestamp without time zone", "index": 5, "name": "address_created_at", "comment": null}, "address_updated_at": {"type": "timestamp without time zone", "index": 6, "name": "address_updated_at", "comment": null}, "address_line_1": {"type": "text", "index": 7, "name": "address_line_1", "comment": null}, "address_line_2": {"type": "text", "index": 8, "name": "address_line_2", "comment": null}, "city": {"type": "text", "index": 9, "name": "city", "comment": null}, "province": {"type": "integer", "index": 10, "name": "province", "comment": null}, "zip": {"type": "text", "index": 11, "name": "zip", "comment": null}, "country_code": {"type": "text", "index": 12, "name": "country_code", "comment": null}, "company": {"type": "integer", "index": 13, "name": "company", "comment": null}, "phone": {"type": "text", "index": 14, "name": "phone", "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.recharge_source.stg_recharge__address"}, "model.recharge_source.stg_recharge__address_discounts": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03_recharge_source", "name": "stg_recharge__address_discounts", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"discount_id": {"type": "bigint", "index": 1, "name": "discount_id", "comment": null}, "address_id": {"type": "bigint", "index": 2, "name": "address_id", "comment": null}, "index": {"type": "integer", "index": 3, "name": "index", "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.recharge_source.stg_recharge__address_discounts"}, "model.recharge_source.stg_recharge__address_discounts_tmp": {"metadata": {"type": "VIEW", "schema": "recharge_integration_tests_03_recharge_source", "name": "stg_recharge__address_discounts_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "bigint", "index": 1, "name": "id", "comment": null}, "address_id": {"type": "bigint", "index": 2, "name": "address_id", "comment": null}, "index": {"type": "integer", "index": 3, "name": "index", "comment": null}, "_fivetran_deleted": {"type": "boolean", "index": 4, "name": "_fivetran_deleted", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 5, "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": "model.recharge_source.stg_recharge__address_discounts_tmp"}, "model.recharge_source.stg_recharge__address_shipping_line": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03_recharge_source", "name": "stg_recharge__address_shipping_line", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"address_id": {"type": "bigint", "index": 1, "name": "address_id", "comment": null}, "index": {"type": "integer", "index": 2, "name": "index", "comment": null}, "price": {"type": "double precision", "index": 3, "name": "price", "comment": null}, "code": {"type": "text", "index": 4, "name": "code", "comment": null}, "title": {"type": "text", "index": 5, "name": "title", "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.recharge_source.stg_recharge__address_shipping_line"}, "model.recharge_source.stg_recharge__address_shipping_line_tmp": {"metadata": {"type": "VIEW", "schema": "recharge_integration_tests_03_recharge_source", "name": "stg_recharge__address_shipping_line_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"address_id": {"type": "bigint", "index": 1, "name": "address_id", "comment": null}, "index": {"type": "integer", "index": 2, "name": "index", "comment": null}, "price": {"type": "double precision", "index": 3, "name": "price", "comment": null}, "code": {"type": "text", "index": 4, "name": "code", "comment": null}, "title": {"type": "text", "index": 5, "name": "title", "comment": null}, "_fivetran_deleted": {"type": "boolean", "index": 6, "name": "_fivetran_deleted", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 7, "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": "model.recharge_source.stg_recharge__address_shipping_line_tmp"}, "model.recharge_source.stg_recharge__address_tmp": {"metadata": {"type": "VIEW", "schema": "recharge_integration_tests_03_recharge_source", "name": "stg_recharge__address_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "bigint", "index": 1, "name": "id", "comment": null}, "customer_id": {"type": "bigint", "index": 2, "name": "customer_id", "comment": null}, "first_name": {"type": "text", "index": 3, "name": "first_name", "comment": null}, "last_name": {"type": "text", "index": 4, "name": "last_name", "comment": null}, "address_1": {"type": "text", "index": 5, "name": "address_1", "comment": null}, "address_2": {"type": "text", "index": 6, "name": "address_2", "comment": null}, "city": {"type": "text", "index": 7, "name": "city", "comment": null}, "province": {"type": "integer", "index": 8, "name": "province", "comment": null}, "country_code": {"type": "text", "index": 9, "name": "country_code", "comment": null}, "zip": {"type": "text", "index": 10, "name": "zip", "comment": null}, "company": {"type": "integer", "index": 11, "name": "company", "comment": null}, "phone": {"type": "text", "index": 12, "name": "phone", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 13, "name": "created_at", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 14, "name": "updated_at", "comment": null}, "_fivetran_deleted": {"type": "boolean", "index": 15, "name": "_fivetran_deleted", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 16, "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": "model.recharge_source.stg_recharge__address_tmp"}, "model.recharge_source.stg_recharge__charge": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03_recharge_source", "name": "stg_recharge__charge", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"charge_id": {"type": "bigint", "index": 1, "name": "charge_id", "comment": null}, "customer_id": {"type": "bigint", "index": 2, "name": "customer_id", "comment": null}, "customer_hash": {"type": "text", "index": 3, "name": "customer_hash", "comment": null}, "email": {"type": "text", "index": 4, "name": "email", "comment": null}, "charge_created_at": {"type": "timestamp without time zone", "index": 5, "name": "charge_created_at", "comment": null}, "charge_type": {"type": "text", "index": 6, "name": "charge_type", "comment": null}, "charge_status": {"type": "text", "index": 7, "name": "charge_status", "comment": null}, "charge_updated_at": {"type": "timestamp without time zone", "index": 8, "name": "charge_updated_at", "comment": null}, "note": {"type": "text", "index": 9, "name": "note", "comment": null}, "subtotal_price": {"type": "double precision", "index": 10, "name": "subtotal_price", "comment": null}, "tax_lines": {"type": "double precision", "index": 11, "name": "tax_lines", "comment": null}, "total_discounts": {"type": "integer", "index": 12, "name": "total_discounts", "comment": null}, "total_line_items_price": {"type": "double precision", "index": 13, "name": "total_line_items_price", "comment": null}, "total_tax": {"type": "double precision", "index": 14, "name": "total_tax", "comment": null}, "total_price": {"type": "double precision", "index": 15, "name": "total_price", "comment": null}, "total_refunds": {"type": "integer", "index": 16, "name": "total_refunds", "comment": null}, "total_weight_grams": {"type": "integer", "index": 17, "name": "total_weight_grams", "comment": null}, "charge_scheduled_at": {"type": "timestamp without time zone", "index": 18, "name": "charge_scheduled_at", "comment": null}, "charge_processed_at": {"type": "timestamp without time zone", "index": 19, "name": "charge_processed_at", "comment": null}, "payment_processor": {"type": "text", "index": 20, "name": "payment_processor", "comment": null}, "external_transaction_id_payment_processor": {"type": "integer", "index": 21, "name": "external_transaction_id_payment_processor", "comment": null}, "external_order_id_ecommerce": {"type": "integer", "index": 22, "name": "external_order_id_ecommerce", "comment": null}, "orders_count": {"type": "integer", "index": 23, "name": "orders_count", "comment": null}, "has_uncommitted_changes": {"type": "boolean", "index": 24, "name": "has_uncommitted_changes", "comment": null}, "retry_date": {"type": "timestamp without time zone", "index": 25, "name": "retry_date", "comment": null}, "error_type": {"type": "integer", "index": 26, "name": "error_type", "comment": null}, "times_retried": {"type": "integer", "index": 27, "name": "times_retried", "comment": null}, "address_id": {"type": "bigint", "index": 28, "name": "address_id", "comment": null}, "client_details_browser_ip": {"type": "integer", "index": 29, "name": "client_details_browser_ip", "comment": null}, "client_details_user_agent": {"type": "integer", "index": 30, "name": "client_details_user_agent", "comment": null}, "tags": {"type": "text", "index": 31, "name": "tags", "comment": null}, "error": {"type": "integer", "index": 32, "name": "error", "comment": null}, "external_variant_id_not_found": {"type": "integer", "index": 33, "name": "external_variant_id_not_found", "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.recharge_source.stg_recharge__charge"}, "model.recharge_source.stg_recharge__charge_discount": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03_recharge_source", "name": "stg_recharge__charge_discount", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"charge_id": {"type": "bigint", "index": 1, "name": "charge_id", "comment": null}, "index": {"type": "integer", "index": 2, "name": "index", "comment": null}, "discount_id": {"type": "bigint", "index": 3, "name": "discount_id", "comment": null}, "code": {"type": "text", "index": 4, "name": "code", "comment": null}, "discount_value": {"type": "double precision", "index": 5, "name": "discount_value", "comment": null}, "value_type": {"type": "text", "index": 6, "name": "value_type", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.recharge_source.stg_recharge__charge_discount"}, "model.recharge_source.stg_recharge__charge_discount_tmp": {"metadata": {"type": "VIEW", "schema": "recharge_integration_tests_03_recharge_source", "name": "stg_recharge__charge_discount_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"charge_id": {"type": "bigint", "index": 1, "name": "charge_id", "comment": null}, "index": {"type": "integer", "index": 2, "name": "index", "comment": null}, "id": {"type": "bigint", "index": 3, "name": "id", "comment": null}, "code": {"type": "text", "index": 4, "name": "code", "comment": null}, "value": {"type": "double precision", "index": 5, "name": "value", "comment": null}, "value_type": {"type": "text", "index": 6, "name": "value_type", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 7, "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": "model.recharge_source.stg_recharge__charge_discount_tmp"}, "model.recharge_source.stg_recharge__charge_line_item": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03_recharge_source", "name": "stg_recharge__charge_line_item", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"charge_id": {"type": "bigint", "index": 1, "name": "charge_id", "comment": null}, "index": {"type": "integer", "index": 2, "name": "index", "comment": null}, "vendor": {"type": "text", "index": 3, "name": "vendor", "comment": null}, "title": {"type": "text", "index": 4, "name": "title", "comment": null}, "variant_title": {"type": "text", "index": 5, "name": "variant_title", "comment": null}, "sku": {"type": "text", "index": 6, "name": "sku", "comment": null}, "grams": {"type": "integer", "index": 7, "name": "grams", "comment": null}, "quantity": {"type": "integer", "index": 8, "name": "quantity", "comment": null}, "total_price": {"type": "double precision", "index": 9, "name": "total_price", "comment": null}, "unit_price": {"type": "double precision", "index": 10, "name": "unit_price", "comment": null}, "tax_due": {"type": "integer", "index": 11, "name": "tax_due", "comment": null}, "taxable": {"type": "boolean", "index": 12, "name": "taxable", "comment": null}, "taxable_amount": {"type": "integer", "index": 13, "name": "taxable_amount", "comment": null}, "unit_price_includes_tax": {"type": "boolean", "index": 14, "name": "unit_price_includes_tax", "comment": null}, "external_product_id_ecommerce": {"type": "bigint", "index": 15, "name": "external_product_id_ecommerce", "comment": null}, "external_variant_id_ecommerce": {"type": "bigint", "index": 16, "name": "external_variant_id_ecommerce", "comment": null}, "purchase_item_id": {"type": "integer", "index": 17, "name": "purchase_item_id", "comment": null}, "purchase_item_type": {"type": "text", "index": 18, "name": "purchase_item_type", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.recharge_source.stg_recharge__charge_line_item"}, "model.recharge_source.stg_recharge__charge_line_item_tmp": {"metadata": {"type": "VIEW", "schema": "recharge_integration_tests_03_recharge_source", "name": "stg_recharge__charge_line_item_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"charge_id": {"type": "bigint", "index": 1, "name": "charge_id", "comment": null}, "index": {"type": "integer", "index": 2, "name": "index", "comment": null}, "variant_title": {"type": "text", "index": 3, "name": "variant_title", "comment": null}, "title": {"type": "text", "index": 4, "name": "title", "comment": null}, "quantity": {"type": "integer", "index": 5, "name": "quantity", "comment": null}, "grams": {"type": "integer", "index": 6, "name": "grams", "comment": null}, "total_price": {"type": "character varying", "index": 7, "name": "total_price", "comment": null}, "sku": {"type": "text", "index": 8, "name": "sku", "comment": null}, "external_product_id_ecommerce": {"type": "bigint", "index": 9, "name": "external_product_id_ecommerce", "comment": null}, "vendor": {"type": "text", "index": 10, "name": "vendor", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 11, "name": "_fivetran_synced", "comment": null}, "unit_price": {"type": "double precision", "index": 12, "name": "unit_price", "comment": null}, "tax_due": {"type": "integer", "index": 13, "name": "tax_due", "comment": null}, "taxable": {"type": "boolean", "index": 14, "name": "taxable", "comment": null}, "taxable_amount": {"type": "integer", "index": 15, "name": "taxable_amount", "comment": null}, "unit_price_includes_tax": {"type": "boolean", "index": 16, "name": "unit_price_includes_tax", "comment": null}, "purchase_item_id": {"type": "integer", "index": 17, "name": "purchase_item_id", "comment": null}, "purchase_item_type": {"type": "text", "index": 18, "name": "purchase_item_type", "comment": null}, "external_variant_id_ecommerce": {"type": "bigint", "index": 19, "name": "external_variant_id_ecommerce", "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.recharge_source.stg_recharge__charge_line_item_tmp"}, "model.recharge_source.stg_recharge__charge_order_attribute": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03_recharge_source", "name": "stg_recharge__charge_order_attribute", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"charge_id": {"type": "bigint", "index": 1, "name": "charge_id", "comment": null}, "index": {"type": "integer", "index": 2, "name": "index", "comment": null}, "order_attribute": {"type": "text", "index": 3, "name": "order_attribute", "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.recharge_source.stg_recharge__charge_order_attribute"}, "model.recharge_source.stg_recharge__charge_order_attribute_tmp": {"metadata": {"type": "VIEW", "schema": "recharge_integration_tests_03_recharge_source", "name": "stg_recharge__charge_order_attribute_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"charge_id": {"type": "bigint", "index": 1, "name": "charge_id", "comment": null}, "index": {"type": "integer", "index": 2, "name": "index", "comment": null}, "order_attribute": {"type": "text", "index": 3, "name": "order_attribute", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 4, "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": "model.recharge_source.stg_recharge__charge_order_attribute_tmp"}, "model.recharge_source.stg_recharge__charge_shipping_line": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03_recharge_source", "name": "stg_recharge__charge_shipping_line", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"charge_id": {"type": "bigint", "index": 1, "name": "charge_id", "comment": null}, "index": {"type": "integer", "index": 2, "name": "index", "comment": null}, "price": {"type": "double precision", "index": 3, "name": "price", "comment": null}, "code": {"type": "text", "index": 4, "name": "code", "comment": null}, "title": {"type": "text", "index": 5, "name": "title", "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.recharge_source.stg_recharge__charge_shipping_line"}, "model.recharge_source.stg_recharge__charge_shipping_line_tmp": {"metadata": {"type": "VIEW", "schema": "recharge_integration_tests_03_recharge_source", "name": "stg_recharge__charge_shipping_line_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"charge_id": {"type": "bigint", "index": 1, "name": "charge_id", "comment": null}, "index": {"type": "integer", "index": 2, "name": "index", "comment": null}, "price": {"type": "double precision", "index": 3, "name": "price", "comment": null}, "code": {"type": "text", "index": 4, "name": "code", "comment": null}, "title": {"type": "text", "index": 5, "name": "title", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 6, "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": "model.recharge_source.stg_recharge__charge_shipping_line_tmp"}, "model.recharge_source.stg_recharge__charge_tax_line": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03_recharge_source", "name": "stg_recharge__charge_tax_line", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"charge_id": {"type": "bigint", "index": 1, "name": "charge_id", "comment": null}, "index": {"type": "integer", "index": 2, "name": "index", "comment": null}, "price": {"type": "double precision", "index": 3, "name": "price", "comment": null}, "rate": {"type": "double precision", "index": 4, "name": "rate", "comment": null}, "title": {"type": "text", "index": 5, "name": "title", "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.recharge_source.stg_recharge__charge_tax_line"}, "model.recharge_source.stg_recharge__charge_tax_line_tmp": {"metadata": {"type": "VIEW", "schema": "recharge_integration_tests_03_recharge_source", "name": "stg_recharge__charge_tax_line_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"charge_id": {"type": "bigint", "index": 1, "name": "charge_id", "comment": null}, "index": {"type": "integer", "index": 2, "name": "index", "comment": null}, "price": {"type": "double precision", "index": 3, "name": "price", "comment": null}, "rate": {"type": "double precision", "index": 4, "name": "rate", "comment": null}, "title": {"type": "text", "index": 5, "name": "title", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 6, "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": "model.recharge_source.stg_recharge__charge_tax_line_tmp"}, "model.recharge_source.stg_recharge__charge_tmp": {"metadata": {"type": "VIEW", "schema": "recharge_integration_tests_03_recharge_source", "name": "stg_recharge__charge_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "bigint", "index": 1, "name": "id", "comment": null}, "address_id": {"type": "bigint", "index": 2, "name": "address_id", "comment": null}, "customer_id": {"type": "bigint", "index": 3, "name": "customer_id", "comment": null}, "customer_hash": {"type": "text", "index": 4, "name": "customer_hash", "comment": null}, "note": {"type": "text", "index": 5, "name": "note", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 6, "name": "created_at", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 7, "name": "updated_at", "comment": null}, "processed_at": {"type": "timestamp without time zone", "index": 8, "name": "processed_at", "comment": null}, "scheduled_at": {"type": "timestamp without time zone", "index": 9, "name": "scheduled_at", "comment": null}, "orders_count": {"type": "integer", "index": 10, "name": "orders_count", "comment": null}, "external_order_id_ecommerce": {"type": "integer", "index": 11, "name": "external_order_id_ecommerce", "comment": null}, "subtotal_price": {"type": "double precision", "index": 12, "name": "subtotal_price", "comment": null}, "tags": {"type": "text", "index": 13, "name": "tags", "comment": null}, "tax_lines": {"type": "double precision", "index": 14, "name": "tax_lines", "comment": null}, "total_discounts": {"type": "integer", "index": 15, "name": "total_discounts", "comment": null}, "total_line_items_price": {"type": "double precision", "index": 16, "name": "total_line_items_price", "comment": null}, "total_price": {"type": "character varying", "index": 17, "name": "total_price", "comment": null}, "total_tax": {"type": "double precision", "index": 18, "name": "total_tax", "comment": null}, "total_weight_grams": {"type": "integer", "index": 19, "name": "total_weight_grams", "comment": null}, "type": {"type": "text", "index": 20, "name": "type", "comment": null}, "status": {"type": "text", "index": 21, "name": "status", "comment": null}, "total_refunds": {"type": "integer", "index": 22, "name": "total_refunds", "comment": null}, "external_transaction_id_payment_processor": {"type": "integer", "index": 23, "name": "external_transaction_id_payment_processor", "comment": null}, "email": {"type": "text", "index": 24, "name": "email", "comment": null}, "payment_processor": {"type": "text", "index": 25, "name": "payment_processor", "comment": null}, "has_uncommited_changes": {"type": "boolean", "index": 26, "name": "has_uncommited_changes", "comment": null}, "retry_date": {"type": "timestamp without time zone", "index": 27, "name": "retry_date", "comment": null}, "error_type": {"type": "integer", "index": 28, "name": "error_type", "comment": null}, "error": {"type": "integer", "index": 29, "name": "error", "comment": null}, "charge_attempts": {"type": "integer", "index": 30, "name": "charge_attempts", "comment": null}, "external_variant_id_not_found": {"type": "integer", "index": 31, "name": "external_variant_id_not_found", "comment": null}, "client_details_browser_ip": {"type": "integer", "index": 32, "name": "client_details_browser_ip", "comment": null}, "client_details_user_agent": {"type": "integer", "index": 33, "name": "client_details_user_agent", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 34, "name": "_fivetran_synced", "comment": null}, "last_charge_attempt_date": {"type": "timestamp without time zone", "index": 35, "name": "last_charge_attempt_date", "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.recharge_source.stg_recharge__charge_tmp"}, "model.recharge_source.stg_recharge__customer": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03_recharge_source", "name": "stg_recharge__customer", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"customer_id": {"type": "bigint", "index": 1, "name": "customer_id", "comment": null}, "customer_hash": {"type": "text", "index": 2, "name": "customer_hash", "comment": null}, "external_customer_id_ecommerce": {"type": "integer", "index": 3, "name": "external_customer_id_ecommerce", "comment": null}, "email": {"type": "text", "index": 4, "name": "email", "comment": null}, "first_name": {"type": "text", "index": 5, "name": "first_name", "comment": null}, "last_name": {"type": "text", "index": 6, "name": "last_name", "comment": null}, "customer_created_at": {"type": "timestamp without time zone", "index": 7, "name": "customer_created_at", "comment": null}, "customer_updated_at": {"type": "timestamp without time zone", "index": 8, "name": "customer_updated_at", "comment": null}, "first_charge_processed_at": {"type": "timestamp without time zone", "index": 9, "name": "first_charge_processed_at", "comment": null}, "subscriptions_active_count": {"type": "integer", "index": 10, "name": "subscriptions_active_count", "comment": null}, "subscriptions_total_count": {"type": "integer", "index": 11, "name": "subscriptions_total_count", "comment": null}, "has_valid_payment_method": {"type": "boolean", "index": 12, "name": "has_valid_payment_method", "comment": null}, "has_payment_method_in_dunning": {"type": "boolean", "index": 13, "name": "has_payment_method_in_dunning", "comment": null}, "tax_exempt": {"type": "boolean", "index": 14, "name": "tax_exempt", "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.recharge_source.stg_recharge__customer"}, "model.recharge_source.stg_recharge__customer_tmp": {"metadata": {"type": "VIEW", "schema": "recharge_integration_tests_03_recharge_source", "name": "stg_recharge__customer_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "bigint", "index": 1, "name": "id", "comment": null}, "hash": {"type": "text", "index": 2, "name": "hash", "comment": null}, "external_customer_id_ecommerce": {"type": "integer", "index": 3, "name": "external_customer_id_ecommerce", "comment": null}, "email": {"type": "text", "index": 4, "name": "email", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 5, "name": "created_at", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 6, "name": "updated_at", "comment": null}, "first_charge_processed_at": {"type": "timestamp without time zone", "index": 7, "name": "first_charge_processed_at", "comment": null}, "first_name": {"type": "text", "index": 8, "name": "first_name", "comment": null}, "last_name": {"type": "text", "index": 9, "name": "last_name", "comment": null}, "subscriptions_active_count": {"type": "integer", "index": 10, "name": "subscriptions_active_count", "comment": null}, "subscriptions_total_count": {"type": "integer", "index": 11, "name": "subscriptions_total_count", "comment": null}, "has_valid_payment_method": {"type": "boolean", "index": 12, "name": "has_valid_payment_method", "comment": null}, "has_payment_method_in_dunning": {"type": "boolean", "index": 13, "name": "has_payment_method_in_dunning", "comment": null}, "_fivetran_deleted": {"type": "boolean", "index": 14, "name": "_fivetran_deleted", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 15, "name": "_fivetran_synced", "comment": null}, "tax_exempt": {"type": "boolean", "index": 16, "name": "tax_exempt", "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.recharge_source.stg_recharge__customer_tmp"}, "model.recharge_source.stg_recharge__discount": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03_recharge_source", "name": "stg_recharge__discount", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"discount_id": {"type": "bigint", "index": 1, "name": "discount_id", "comment": null}, "discount_created_at": {"type": "timestamp without time zone", "index": 2, "name": "discount_created_at", "comment": null}, "discount_updated_at": {"type": "timestamp without time zone", "index": 3, "name": "discount_updated_at", "comment": null}, "discount_starts_at": {"type": "timestamp without time zone", "index": 4, "name": "discount_starts_at", "comment": null}, "discount_ends_at": {"type": "timestamp without time zone", "index": 5, "name": "discount_ends_at", "comment": null}, "code": {"type": "text", "index": 6, "name": "code", "comment": null}, "value": {"type": "integer", "index": 7, "name": "value", "comment": null}, "status": {"type": "text", "index": 8, "name": "status", "comment": null}, "usage_limits": {"type": "integer", "index": 9, "name": "usage_limits", "comment": null}, "applies_to": {"type": "text", "index": 10, "name": "applies_to", "comment": null}, "applies_to_resource": {"type": "text", "index": 11, "name": "applies_to_resource", "comment": null}, "applies_to_id": {"type": "bigint", "index": 12, "name": "applies_to_id", "comment": null}, "applies_to_product_type": {"type": "text", "index": 13, "name": "applies_to_product_type", "comment": null}, "minimum_order_amount": {"type": "integer", "index": 14, "name": "minimum_order_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": "model.recharge_source.stg_recharge__discount"}, "model.recharge_source.stg_recharge__discount_tmp": {"metadata": {"type": "VIEW", "schema": "recharge_integration_tests_03_recharge_source", "name": "stg_recharge__discount_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "bigint", "index": 1, "name": "id", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 2, "name": "created_at", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 3, "name": "updated_at", "comment": null}, "starts_at": {"type": "timestamp without time zone", "index": 4, "name": "starts_at", "comment": null}, "ends_at": {"type": "timestamp without time zone", "index": 5, "name": "ends_at", "comment": null}, "code": {"type": "text", "index": 6, "name": "code", "comment": null}, "value": {"type": "integer", "index": 7, "name": "value", "comment": null}, "status": {"type": "text", "index": 8, "name": "status", "comment": null}, "usage_limits": {"type": "integer", "index": 9, "name": "usage_limits", "comment": null}, "applies_to": {"type": "text", "index": 10, "name": "applies_to", "comment": null}, "applies_to_resource": {"type": "text", "index": 11, "name": "applies_to_resource", "comment": null}, "applies_to_id": {"type": "bigint", "index": 12, "name": "applies_to_id", "comment": null}, "applies_to_product_type": {"type": "text", "index": 13, "name": "applies_to_product_type", "comment": null}, "minimum_order_amount": {"type": "integer", "index": 14, "name": "minimum_order_amount", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 15, "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": "model.recharge_source.stg_recharge__discount_tmp"}, "model.recharge_source.stg_recharge__one_time_product": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03_recharge_source", "name": "stg_recharge__one_time_product", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"one_time_product_id": {"type": "bigint", "index": 1, "name": "one_time_product_id", "comment": null}, "address_id": {"type": "bigint", "index": 2, "name": "address_id", "comment": null}, "customer_id": {"type": "bigint", "index": 3, "name": "customer_id", "comment": null}, "is_deleted": {"type": "boolean", "index": 4, "name": "is_deleted", "comment": null}, "one_time_created_at": {"type": "timestamp without time zone", "index": 5, "name": "one_time_created_at", "comment": null}, "one_time_updated_at": {"type": "timestamp without time zone", "index": 6, "name": "one_time_updated_at", "comment": null}, "one_time_next_charge_scheduled_at": {"type": "timestamp without time zone", "index": 7, "name": "one_time_next_charge_scheduled_at", "comment": null}, "product_title": {"type": "text", "index": 8, "name": "product_title", "comment": null}, "variant_title": {"type": "integer", "index": 9, "name": "variant_title", "comment": null}, "price": {"type": "integer", "index": 10, "name": "price", "comment": null}, "quantity": {"type": "integer", "index": 11, "name": "quantity", "comment": null}, "external_product_id_ecommerce": {"type": "bigint", "index": 12, "name": "external_product_id_ecommerce", "comment": null}, "external_variant_id_ecommerce": {"type": "bigint", "index": 13, "name": "external_variant_id_ecommerce", "comment": null}, "sku": {"type": "integer", "index": 14, "name": "sku", "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.recharge_source.stg_recharge__one_time_product"}, "model.recharge_source.stg_recharge__one_time_product_tmp": {"metadata": {"type": "VIEW", "schema": "recharge_integration_tests_03_recharge_source", "name": "stg_recharge__one_time_product_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "bigint", "index": 1, "name": "id", "comment": null}, "address_id": {"type": "bigint", "index": 2, "name": "address_id", "comment": null}, "customer_id": {"type": "bigint", "index": 3, "name": "customer_id", "comment": null}, "is_deleted": {"type": "boolean", "index": 4, "name": "is_deleted", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 5, "name": "created_at", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 6, "name": "updated_at", "comment": null}, "next_charge_scheduled_at": {"type": "timestamp without time zone", "index": 7, "name": "next_charge_scheduled_at", "comment": null}, "product_title": {"type": "text", "index": 8, "name": "product_title", "comment": null}, "variant_title": {"type": "integer", "index": 9, "name": "variant_title", "comment": null}, "price": {"type": "integer", "index": 10, "name": "price", "comment": null}, "quantity": {"type": "integer", "index": 11, "name": "quantity", "comment": null}, "external_product_id_ecommerce": {"type": "bigint", "index": 12, "name": "external_product_id_ecommerce", "comment": null}, "external_variant_id_ecommerce": {"type": "bigint", "index": 13, "name": "external_variant_id_ecommerce", "comment": null}, "sku": {"type": "integer", "index": 14, "name": "sku", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 15, "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": "model.recharge_source.stg_recharge__one_time_product_tmp"}, "model.recharge_source.stg_recharge__order": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03_recharge_source", "name": "stg_recharge__order", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"order_id": {"type": "bigint", "index": 1, "name": "order_id", "comment": null}, "external_order_id_ecommerce": {"type": "integer", "index": 2, "name": "external_order_id_ecommerce", "comment": null}, "external_order_number_ecommerce": {"type": "integer", "index": 3, "name": "external_order_number_ecommerce", "comment": null}, "customer_id": {"type": "bigint", "index": 4, "name": "customer_id", "comment": null}, "email": {"type": "text", "index": 5, "name": "email", "comment": null}, "order_created_at": {"type": "timestamp without time zone", "index": 6, "name": "order_created_at", "comment": null}, "order_status": {"type": "text", "index": 7, "name": "order_status", "comment": null}, "order_updated_at": {"type": "timestamp without time zone", "index": 8, "name": "order_updated_at", "comment": null}, "charge_id": {"type": "bigint", "index": 9, "name": "charge_id", "comment": null}, "transaction_id": {"type": "text", "index": 10, "name": "transaction_id", "comment": null}, "charge_status": {"type": "text", "index": 11, "name": "charge_status", "comment": null}, "is_prepaid": {"type": "boolean", "index": 12, "name": "is_prepaid", "comment": null}, "order_total_price": {"type": "double precision", "index": 13, "name": "order_total_price", "comment": null}, "order_type": {"type": "text", "index": 14, "name": "order_type", "comment": null}, "order_processed_at": {"type": "timestamp without time zone", "index": 15, "name": "order_processed_at", "comment": null}, "order_scheduled_at": {"type": "timestamp without time zone", "index": 16, "name": "order_scheduled_at", "comment": null}, "order_shipped_date": {"type": "timestamp without time zone", "index": 17, "name": "order_shipped_date", "comment": null}, "address_id": {"type": "bigint", "index": 18, "name": "address_id", "comment": null}, "is_deleted": {"type": "boolean", "index": 19, "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.recharge_source.stg_recharge__order"}, "model.recharge_source.stg_recharge__order_line_item": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03_recharge_source", "name": "stg_recharge__order_line_item", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"order_id": {"type": "integer", "index": 1, "name": "order_id", "comment": null}, "index": {"type": "integer", "index": 2, "name": "index", "comment": null}, "external_product_id_ecommerce": {"type": "bigint", "index": 3, "name": "external_product_id_ecommerce", "comment": null}, "external_variant_id_ecommerce": {"type": "bigint", "index": 4, "name": "external_variant_id_ecommerce", "comment": null}, "order_line_item_title": {"type": "text", "index": 5, "name": "order_line_item_title", "comment": null}, "product_variant_title": {"type": "text", "index": 6, "name": "product_variant_title", "comment": null}, "sku": {"type": "text", "index": 7, "name": "sku", "comment": null}, "quantity": {"type": "integer", "index": 8, "name": "quantity", "comment": null}, "grams": {"type": "integer", "index": 9, "name": "grams", "comment": null}, "total_price": {"type": "double precision", "index": 10, "name": "total_price", "comment": null}, "unit_price": {"type": "double precision", "index": 11, "name": "unit_price", "comment": null}, "tax_due": {"type": "integer", "index": 12, "name": "tax_due", "comment": null}, "taxable": {"type": "boolean", "index": 13, "name": "taxable", "comment": null}, "taxable_amount": {"type": "integer", "index": 14, "name": "taxable_amount", "comment": null}, "unit_price_includes_tax": {"type": "boolean", "index": 15, "name": "unit_price_includes_tax", "comment": null}, "purchase_item_id": {"type": "integer", "index": 16, "name": "purchase_item_id", "comment": null}, "purchase_item_type": {"type": "text", "index": 17, "name": "purchase_item_type", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.recharge_source.stg_recharge__order_line_item"}, "model.recharge_source.stg_recharge__order_line_item_tmp": {"metadata": {"type": "VIEW", "schema": "recharge_integration_tests_03_recharge_source", "name": "stg_recharge__order_line_item_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"order_id": {"type": "integer", "index": 1, "name": "order_id", "comment": null}, "index": {"type": "integer", "index": 2, "name": "index", "comment": null}, "variant_title": {"type": "text", "index": 3, "name": "variant_title", "comment": null}, "title": {"type": "text", "index": 4, "name": "title", "comment": null}, "quantity": {"type": "integer", "index": 5, "name": "quantity", "comment": null}, "grams": {"type": "integer", "index": 6, "name": "grams", "comment": null}, "total_price": {"type": "character varying", "index": 7, "name": "total_price", "comment": null}, "sku": {"type": "text", "index": 8, "name": "sku", "comment": null}, "external_product_id_ecommerce": {"type": "bigint", "index": 9, "name": "external_product_id_ecommerce", "comment": null}, "external_variant_id_ecommerce": {"type": "bigint", "index": 10, "name": "external_variant_id_ecommerce", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 11, "name": "_fivetran_synced", "comment": null}, "unit_price": {"type": "double precision", "index": 12, "name": "unit_price", "comment": null}, "tax_due": {"type": "integer", "index": 13, "name": "tax_due", "comment": null}, "taxable": {"type": "boolean", "index": 14, "name": "taxable", "comment": null}, "taxable_amount": {"type": "integer", "index": 15, "name": "taxable_amount", "comment": null}, "unit_price_includes_tax": {"type": "boolean", "index": 16, "name": "unit_price_includes_tax", "comment": null}, "purchase_item_id": {"type": "integer", "index": 17, "name": "purchase_item_id", "comment": null}, "purchase_item_type": {"type": "text", "index": 18, "name": "purchase_item_type", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.recharge_source.stg_recharge__order_line_item_tmp"}, "model.recharge_source.stg_recharge__order_tmp": {"metadata": {"type": "VIEW", "schema": "recharge_integration_tests_03_recharge_source", "name": "stg_recharge__order_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "bigint", "index": 1, "name": "id", "comment": null}, "customer_id": {"type": "bigint", "index": 2, "name": "customer_id", "comment": null}, "address_id": {"type": "bigint", "index": 3, "name": "address_id", "comment": null}, "charge_id": {"type": "bigint", "index": 4, "name": "charge_id", "comment": null}, "is_deleted": {"type": "boolean", "index": 5, "name": "is_deleted", "comment": null}, "email": {"type": "text", "index": 6, "name": "email", "comment": null}, "transaction_id": {"type": "text", "index": 7, "name": "transaction_id", "comment": null}, "charge_status": {"type": "text", "index": 8, "name": "charge_status", "comment": null}, "is_prepaid": {"type": "boolean", "index": 9, "name": "is_prepaid", "comment": null}, "status": {"type": "text", "index": 10, "name": "status", "comment": null}, "total_price": {"type": "character varying", "index": 11, "name": "total_price", "comment": null}, "type": {"type": "text", "index": 12, "name": "type", "comment": null}, "external_order_id_ecommerce": {"type": "integer", "index": 13, "name": "external_order_id_ecommerce", "comment": null}, "external_order_number_ecommerce": {"type": "integer", "index": 14, "name": "external_order_number_ecommerce", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 15, "name": "created_at", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 16, "name": "updated_at", "comment": null}, "processed_at": {"type": "timestamp without time zone", "index": 17, "name": "processed_at", "comment": null}, "scheduled_at": {"type": "timestamp without time zone", "index": 18, "name": "scheduled_at", "comment": null}, "shipped_date": {"type": "timestamp without time zone", "index": 19, "name": "shipped_date", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 20, "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": "model.recharge_source.stg_recharge__order_tmp"}, "model.recharge_source.stg_recharge__subscription": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03_recharge_source", "name": "stg_recharge__subscription", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"subscription_id": {"type": "bigint", "index": 1, "name": "subscription_id", "comment": null}, "customer_id": {"type": "bigint", "index": 2, "name": "customer_id", "comment": null}, "address_id": {"type": "bigint", "index": 3, "name": "address_id", "comment": null}, "subscription_created_at": {"type": "timestamp without time zone", "index": 4, "name": "subscription_created_at", "comment": null}, "product_title": {"type": "text", "index": 5, "name": "product_title", "comment": null}, "variant_title": {"type": "text", "index": 6, "name": "variant_title", "comment": null}, "sku": {"type": "text", "index": 7, "name": "sku", "comment": null}, "price": {"type": "double precision", "index": 8, "name": "price", "comment": null}, "quantity": {"type": "integer", "index": 9, "name": "quantity", "comment": null}, "subscription_status": {"type": "text", "index": 10, "name": "subscription_status", "comment": null}, "subscription_next_charge_scheduled_at": {"type": "timestamp without time zone", "index": 11, "name": "subscription_next_charge_scheduled_at", "comment": null}, "charge_interval_frequency": {"type": "integer", "index": 12, "name": "charge_interval_frequency", "comment": null}, "expire_after_specific_number_of_charges": {"type": "integer", "index": 13, "name": "expire_after_specific_number_of_charges", "comment": null}, "order_interval_frequency": {"type": "integer", "index": 14, "name": "order_interval_frequency", "comment": null}, "order_interval_unit": {"type": "text", "index": 15, "name": "order_interval_unit", "comment": null}, "order_day_of_week": {"type": "integer", "index": 16, "name": "order_day_of_week", "comment": null}, "order_day_of_month": {"type": "integer", "index": 17, "name": "order_day_of_month", "comment": null}, "subscription_updated_at": {"type": "timestamp without time zone", "index": 18, "name": "subscription_updated_at", "comment": null}, "external_product_id_ecommerce": {"type": "bigint", "index": 19, "name": "external_product_id_ecommerce", "comment": null}, "external_variant_id_ecommerce": {"type": "bigint", "index": 20, "name": "external_variant_id_ecommerce", "comment": null}, "subscription_cancelled_at": {"type": "timestamp without time zone", "index": 21, "name": "subscription_cancelled_at", "comment": null}, "cancellation_reason": {"type": "text", "index": 22, "name": "cancellation_reason", "comment": null}, "cancellation_reason_comments": {"type": "integer", "index": 23, "name": "cancellation_reason_comments", "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.recharge_source.stg_recharge__subscription"}, "model.recharge_source.stg_recharge__subscription_history": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03_recharge_source", "name": "stg_recharge__subscription_history", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"subscription_id": {"type": "bigint", "index": 1, "name": "subscription_id", "comment": null}, "customer_id": {"type": "bigint", "index": 2, "name": "customer_id", "comment": null}, "address_id": {"type": "bigint", "index": 3, "name": "address_id", "comment": null}, "subscription_created_at": {"type": "timestamp without time zone", "index": 4, "name": "subscription_created_at", "comment": null}, "external_product_id_ecommerce": {"type": "bigint", "index": 5, "name": "external_product_id_ecommerce", "comment": null}, "external_variant_id_ecommerce": {"type": "bigint", "index": 6, "name": "external_variant_id_ecommerce", "comment": null}, "product_title": {"type": "text", "index": 7, "name": "product_title", "comment": null}, "variant_title": {"type": "text", "index": 8, "name": "variant_title", "comment": null}, "sku": {"type": "text", "index": 9, "name": "sku", "comment": null}, "price": {"type": "double precision", "index": 10, "name": "price", "comment": null}, "quantity": {"type": "integer", "index": 11, "name": "quantity", "comment": null}, "subscription_status": {"type": "text", "index": 12, "name": "subscription_status", "comment": null}, "charge_interval_frequency": {"type": "integer", "index": 13, "name": "charge_interval_frequency", "comment": null}, "order_interval_unit": {"type": "text", "index": 14, "name": "order_interval_unit", "comment": null}, "order_interval_frequency": {"type": "integer", "index": 15, "name": "order_interval_frequency", "comment": null}, "order_day_of_month": {"type": "integer", "index": 16, "name": "order_day_of_month", "comment": null}, "order_day_of_week": {"type": "integer", "index": 17, "name": "order_day_of_week", "comment": null}, "expire_after_specific_number_of_charges": {"type": "integer", "index": 18, "name": "expire_after_specific_number_of_charges", "comment": null}, "subscription_updated_at": {"type": "timestamp without time zone", "index": 19, "name": "subscription_updated_at", "comment": null}, "subscription_next_charge_scheduled_at": {"type": "timestamp without time zone", "index": 20, "name": "subscription_next_charge_scheduled_at", "comment": null}, "subscription_cancelled_at": {"type": "timestamp without time zone", "index": 21, "name": "subscription_cancelled_at", "comment": null}, "cancellation_reason": {"type": "text", "index": 22, "name": "cancellation_reason", "comment": null}, "cancellation_reason_comments": {"type": "integer", "index": 23, "name": "cancellation_reason_comments", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 24, "name": "_fivetran_synced", "comment": null}, "is_most_recent_record": {"type": "boolean", "index": 25, "name": "is_most_recent_record", "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.recharge_source.stg_recharge__subscription_history"}, "model.recharge_source.stg_recharge__subscription_history_tmp": {"metadata": {"type": "VIEW", "schema": "recharge_integration_tests_03_recharge_source", "name": "stg_recharge__subscription_history_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"subscription_id": {"type": "bigint", "index": 1, "name": "subscription_id", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 2, "name": "updated_at", "comment": null}, "address_id": {"type": "bigint", "index": 3, "name": "address_id", "comment": null}, "customer_id": {"type": "bigint", "index": 4, "name": "customer_id", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 5, "name": "created_at", "comment": null}, "cancelled_at": {"type": "timestamp without time zone", "index": 6, "name": "cancelled_at", "comment": null}, "next_charge_scheduled_at": {"type": "timestamp without time zone", "index": 7, "name": "next_charge_scheduled_at", "comment": null}, "price": {"type": "double precision", "index": 8, "name": "price", "comment": null}, "quantity": {"type": "integer", "index": 9, "name": "quantity", "comment": null}, "cancellation_reason": {"type": "text", "index": 10, "name": "cancellation_reason", "comment": null}, "status": {"type": "text", "index": 11, "name": "status", "comment": null}, "cancellation_reason_comments": {"type": "integer", "index": 12, "name": "cancellation_reason_comments", "comment": null}, "variant_title": {"type": "text", "index": 13, "name": "variant_title", "comment": null}, "external_product_id_ecommerce": {"type": "bigint", "index": 14, "name": "external_product_id_ecommerce", "comment": null}, "external_variant_id_ecommerce": {"type": "bigint", "index": 15, "name": "external_variant_id_ecommerce", "comment": null}, "sku": {"type": "text", "index": 16, "name": "sku", "comment": null}, "order_interval_unit": {"type": "text", "index": 17, "name": "order_interval_unit", "comment": null}, "order_interval_frequency": {"type": "integer", "index": 18, "name": "order_interval_frequency", "comment": null}, "charge_interval_frequency": {"type": "integer", "index": 19, "name": "charge_interval_frequency", "comment": null}, "order_day_of_week": {"type": "integer", "index": 20, "name": "order_day_of_week", "comment": null}, "order_day_of_month": {"type": "integer", "index": 21, "name": "order_day_of_month", "comment": null}, "expire_after_specific_number_of_charges": {"type": "integer", "index": 22, "name": "expire_after_specific_number_of_charges", "comment": null}, "_fivetran_deleted": {"type": "boolean", "index": 23, "name": "_fivetran_deleted", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 24, "name": "_fivetran_synced", "comment": null}, "product_title": {"type": "text", "index": 25, "name": "product_title", "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.recharge_source.stg_recharge__subscription_history_tmp"}, "model.recharge_source.stg_recharge__subscription_tmp": {"metadata": {"type": "VIEW", "schema": "recharge_integration_tests_03_recharge_source", "name": "stg_recharge__subscription_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "bigint", "index": 1, "name": "id", "comment": null}, "address_id": {"type": "bigint", "index": 2, "name": "address_id", "comment": null}, "customer_id": {"type": "bigint", "index": 3, "name": "customer_id", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 4, "name": "created_at", "comment": null}, "cancelled_at": {"type": "timestamp without time zone", "index": 5, "name": "cancelled_at", "comment": null}, "next_charge_scheduled_at": {"type": "timestamp without time zone", "index": 6, "name": "next_charge_scheduled_at", "comment": null}, "price": {"type": "double precision", "index": 7, "name": "price", "comment": null}, "quantity": {"type": "integer", "index": 8, "name": "quantity", "comment": null}, "cancellation_reason": {"type": "text", "index": 9, "name": "cancellation_reason", "comment": null}, "status": {"type": "text", "index": 10, "name": "status", "comment": null}, "cancellation_reason_comments": {"type": "integer", "index": 11, "name": "cancellation_reason_comments", "comment": null}, "product_title": {"type": "text", "index": 12, "name": "product_title", "comment": null}, "variant_title": {"type": "text", "index": 13, "name": "variant_title", "comment": null}, "external_product_id_ecommerce": {"type": "bigint", "index": 14, "name": "external_product_id_ecommerce", "comment": null}, "external_variant_id_ecommerce": {"type": "bigint", "index": 15, "name": "external_variant_id_ecommerce", "comment": null}, "sku": {"type": "text", "index": 16, "name": "sku", "comment": null}, "order_interval_unit": {"type": "text", "index": 17, "name": "order_interval_unit", "comment": null}, "order_interval_frequency": {"type": "integer", "index": 18, "name": "order_interval_frequency", "comment": null}, "charge_interval_frequency": {"type": "integer", "index": 19, "name": "charge_interval_frequency", "comment": null}, "order_day_of_week": {"type": "integer", "index": 20, "name": "order_day_of_week", "comment": null}, "order_day_of_month": {"type": "integer", "index": 21, "name": "order_day_of_month", "comment": null}, "expire_after_specific_number_of_charges": {"type": "integer", "index": 22, "name": "expire_after_specific_number_of_charges", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 23, "name": "updated_at", "comment": null}, "_fivetran_deleted": {"type": "boolean", "index": 24, "name": "_fivetran_deleted", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 25, "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": "model.recharge_source.stg_recharge__subscription_tmp"}}, "sources": {"source.recharge_source.recharge.address": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03", "name": "address_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "bigint", "index": 1, "name": "id", "comment": null}, "customer_id": {"type": "bigint", "index": 2, "name": "customer_id", "comment": null}, "first_name": {"type": "text", "index": 3, "name": "first_name", "comment": null}, "last_name": {"type": "text", "index": 4, "name": "last_name", "comment": null}, "address_1": {"type": "text", "index": 5, "name": "address_1", "comment": null}, "address_2": {"type": "text", "index": 6, "name": "address_2", "comment": null}, "city": {"type": "text", "index": 7, "name": "city", "comment": null}, "province": {"type": "integer", "index": 8, "name": "province", "comment": null}, "country_code": {"type": "text", "index": 9, "name": "country_code", "comment": null}, "zip": {"type": "text", "index": 10, "name": "zip", "comment": null}, "company": {"type": "integer", "index": 11, "name": "company", "comment": null}, "phone": {"type": "text", "index": 12, "name": "phone", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 13, "name": "created_at", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 14, "name": "updated_at", "comment": null}, "_fivetran_deleted": {"type": "boolean", "index": 15, "name": "_fivetran_deleted", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 16, "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.recharge_source.recharge.address"}, "source.recharge_source.recharge.address_discounts": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03", "name": "address_discounts_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "bigint", "index": 1, "name": "id", "comment": null}, "address_id": {"type": "bigint", "index": 2, "name": "address_id", "comment": null}, "index": {"type": "integer", "index": 3, "name": "index", "comment": null}, "_fivetran_deleted": {"type": "boolean", "index": 4, "name": "_fivetran_deleted", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 5, "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.recharge_source.recharge.address_discounts"}, "source.recharge_source.recharge.address_shipping_line": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03", "name": "address_shipping_line_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"address_id": {"type": "bigint", "index": 1, "name": "address_id", "comment": null}, "index": {"type": "integer", "index": 2, "name": "index", "comment": null}, "price": {"type": "double precision", "index": 3, "name": "price", "comment": null}, "code": {"type": "text", "index": 4, "name": "code", "comment": null}, "title": {"type": "text", "index": 5, "name": "title", "comment": null}, "_fivetran_deleted": {"type": "boolean", "index": 6, "name": "_fivetran_deleted", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 7, "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.recharge_source.recharge.address_shipping_line"}, "source.recharge_source.recharge.charge": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03", "name": "charge_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "bigint", "index": 1, "name": "id", "comment": null}, "address_id": {"type": "bigint", "index": 2, "name": "address_id", "comment": null}, "customer_id": {"type": "bigint", "index": 3, "name": "customer_id", "comment": null}, "customer_hash": {"type": "text", "index": 4, "name": "customer_hash", "comment": null}, "note": {"type": "text", "index": 5, "name": "note", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 6, "name": "created_at", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 7, "name": "updated_at", "comment": null}, "processed_at": {"type": "timestamp without time zone", "index": 8, "name": "processed_at", "comment": null}, "scheduled_at": {"type": "timestamp without time zone", "index": 9, "name": "scheduled_at", "comment": null}, "orders_count": {"type": "integer", "index": 10, "name": "orders_count", "comment": null}, "external_order_id_ecommerce": {"type": "integer", "index": 11, "name": "external_order_id_ecommerce", "comment": null}, "subtotal_price": {"type": "double precision", "index": 12, "name": "subtotal_price", "comment": null}, "tags": {"type": "text", "index": 13, "name": "tags", "comment": null}, "tax_lines": {"type": "double precision", "index": 14, "name": "tax_lines", "comment": null}, "total_discounts": {"type": "integer", "index": 15, "name": "total_discounts", "comment": null}, "total_line_items_price": {"type": "double precision", "index": 16, "name": "total_line_items_price", "comment": null}, "total_price": {"type": "character varying", "index": 17, "name": "total_price", "comment": null}, "total_tax": {"type": "double precision", "index": 18, "name": "total_tax", "comment": null}, "total_weight_grams": {"type": "integer", "index": 19, "name": "total_weight_grams", "comment": null}, "type": {"type": "text", "index": 20, "name": "type", "comment": null}, "status": {"type": "text", "index": 21, "name": "status", "comment": null}, "total_refunds": {"type": "integer", "index": 22, "name": "total_refunds", "comment": null}, "external_transaction_id_payment_processor": {"type": "integer", "index": 23, "name": "external_transaction_id_payment_processor", "comment": null}, "email": {"type": "text", "index": 24, "name": "email", "comment": null}, "payment_processor": {"type": "text", "index": 25, "name": "payment_processor", "comment": null}, "has_uncommited_changes": {"type": "boolean", "index": 26, "name": "has_uncommited_changes", "comment": null}, "retry_date": {"type": "timestamp without time zone", "index": 27, "name": "retry_date", "comment": null}, "error_type": {"type": "integer", "index": 28, "name": "error_type", "comment": null}, "error": {"type": "integer", "index": 29, "name": "error", "comment": null}, "charge_attempts": {"type": "integer", "index": 30, "name": "charge_attempts", "comment": null}, "external_variant_id_not_found": {"type": "integer", "index": 31, "name": "external_variant_id_not_found", "comment": null}, "client_details_browser_ip": {"type": "integer", "index": 32, "name": "client_details_browser_ip", "comment": null}, "client_details_user_agent": {"type": "integer", "index": 33, "name": "client_details_user_agent", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 34, "name": "_fivetran_synced", "comment": null}, "last_charge_attempt_date": {"type": "timestamp without time zone", "index": 35, "name": "last_charge_attempt_date", "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.recharge_source.recharge.charge"}, "source.recharge_source.recharge.charge_discount": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03", "name": "charge_discount_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"charge_id": {"type": "bigint", "index": 1, "name": "charge_id", "comment": null}, "index": {"type": "integer", "index": 2, "name": "index", "comment": null}, "id": {"type": "bigint", "index": 3, "name": "id", "comment": null}, "code": {"type": "text", "index": 4, "name": "code", "comment": null}, "value": {"type": "double precision", "index": 5, "name": "value", "comment": null}, "value_type": {"type": "text", "index": 6, "name": "value_type", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 7, "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.recharge_source.recharge.charge_discount"}, "source.recharge_source.recharge.charge_line_item": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03", "name": "charge_line_item_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"charge_id": {"type": "bigint", "index": 1, "name": "charge_id", "comment": null}, "index": {"type": "integer", "index": 2, "name": "index", "comment": null}, "variant_title": {"type": "text", "index": 3, "name": "variant_title", "comment": null}, "title": {"type": "text", "index": 4, "name": "title", "comment": null}, "quantity": {"type": "integer", "index": 5, "name": "quantity", "comment": null}, "grams": {"type": "integer", "index": 6, "name": "grams", "comment": null}, "total_price": {"type": "character varying", "index": 7, "name": "total_price", "comment": null}, "sku": {"type": "text", "index": 8, "name": "sku", "comment": null}, "external_product_id_ecommerce": {"type": "bigint", "index": 9, "name": "external_product_id_ecommerce", "comment": null}, "vendor": {"type": "text", "index": 10, "name": "vendor", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 11, "name": "_fivetran_synced", "comment": null}, "unit_price": {"type": "double precision", "index": 12, "name": "unit_price", "comment": null}, "tax_due": {"type": "integer", "index": 13, "name": "tax_due", "comment": null}, "taxable": {"type": "boolean", "index": 14, "name": "taxable", "comment": null}, "taxable_amount": {"type": "integer", "index": 15, "name": "taxable_amount", "comment": null}, "unit_price_includes_tax": {"type": "boolean", "index": 16, "name": "unit_price_includes_tax", "comment": null}, "purchase_item_id": {"type": "integer", "index": 17, "name": "purchase_item_id", "comment": null}, "purchase_item_type": {"type": "text", "index": 18, "name": "purchase_item_type", "comment": null}, "external_variant_id_ecommerce": {"type": "bigint", "index": 19, "name": "external_variant_id_ecommerce", "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.recharge_source.recharge.charge_line_item"}, "source.recharge_source.recharge.charge_order_attribute": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03", "name": "charge_order_attribute_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"charge_id": {"type": "bigint", "index": 1, "name": "charge_id", "comment": null}, "index": {"type": "integer", "index": 2, "name": "index", "comment": null}, "order_attribute": {"type": "text", "index": 3, "name": "order_attribute", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 4, "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.recharge_source.recharge.charge_order_attribute"}, "source.recharge_source.recharge.charge_shipping_line": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03", "name": "charge_shipping_line_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"charge_id": {"type": "bigint", "index": 1, "name": "charge_id", "comment": null}, "index": {"type": "integer", "index": 2, "name": "index", "comment": null}, "price": {"type": "double precision", "index": 3, "name": "price", "comment": null}, "code": {"type": "text", "index": 4, "name": "code", "comment": null}, "title": {"type": "text", "index": 5, "name": "title", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 6, "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.recharge_source.recharge.charge_shipping_line"}, "source.recharge_source.recharge.charge_tax_line": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03", "name": "charge_tax_line_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"charge_id": {"type": "bigint", "index": 1, "name": "charge_id", "comment": null}, "index": {"type": "integer", "index": 2, "name": "index", "comment": null}, "price": {"type": "double precision", "index": 3, "name": "price", "comment": null}, "rate": {"type": "double precision", "index": 4, "name": "rate", "comment": null}, "title": {"type": "text", "index": 5, "name": "title", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 6, "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.recharge_source.recharge.charge_tax_line"}, "source.recharge_source.recharge.customer": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03", "name": "customer_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "bigint", "index": 1, "name": "id", "comment": null}, "hash": {"type": "text", "index": 2, "name": "hash", "comment": null}, "external_customer_id_ecommerce": {"type": "integer", "index": 3, "name": "external_customer_id_ecommerce", "comment": null}, "email": {"type": "text", "index": 4, "name": "email", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 5, "name": "created_at", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 6, "name": "updated_at", "comment": null}, "first_charge_processed_at": {"type": "timestamp without time zone", "index": 7, "name": "first_charge_processed_at", "comment": null}, "first_name": {"type": "text", "index": 8, "name": "first_name", "comment": null}, "last_name": {"type": "text", "index": 9, "name": "last_name", "comment": null}, "subscriptions_active_count": {"type": "integer", "index": 10, "name": "subscriptions_active_count", "comment": null}, "subscriptions_total_count": {"type": "integer", "index": 11, "name": "subscriptions_total_count", "comment": null}, "has_valid_payment_method": {"type": "boolean", "index": 12, "name": "has_valid_payment_method", "comment": null}, "has_payment_method_in_dunning": {"type": "boolean", "index": 13, "name": "has_payment_method_in_dunning", "comment": null}, "_fivetran_deleted": {"type": "boolean", "index": 14, "name": "_fivetran_deleted", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 15, "name": "_fivetran_synced", "comment": null}, "tax_exempt": {"type": "boolean", "index": 16, "name": "tax_exempt", "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.recharge_source.recharge.customer"}, "source.recharge_source.recharge.discount": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03", "name": "discount_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "bigint", "index": 1, "name": "id", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 2, "name": "created_at", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 3, "name": "updated_at", "comment": null}, "starts_at": {"type": "timestamp without time zone", "index": 4, "name": "starts_at", "comment": null}, "ends_at": {"type": "timestamp without time zone", "index": 5, "name": "ends_at", "comment": null}, "code": {"type": "text", "index": 6, "name": "code", "comment": null}, "value": {"type": "integer", "index": 7, "name": "value", "comment": null}, "status": {"type": "text", "index": 8, "name": "status", "comment": null}, "usage_limits": {"type": "integer", "index": 9, "name": "usage_limits", "comment": null}, "applies_to": {"type": "text", "index": 10, "name": "applies_to", "comment": null}, "applies_to_resource": {"type": "text", "index": 11, "name": "applies_to_resource", "comment": null}, "applies_to_id": {"type": "bigint", "index": 12, "name": "applies_to_id", "comment": null}, "applies_to_product_type": {"type": "text", "index": 13, "name": "applies_to_product_type", "comment": null}, "minimum_order_amount": {"type": "integer", "index": 14, "name": "minimum_order_amount", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 15, "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.recharge_source.recharge.discount"}, "source.recharge_source.recharge.one_time_product": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03", "name": "one_time_product_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "bigint", "index": 1, "name": "id", "comment": null}, "address_id": {"type": "bigint", "index": 2, "name": "address_id", "comment": null}, "customer_id": {"type": "bigint", "index": 3, "name": "customer_id", "comment": null}, "is_deleted": {"type": "boolean", "index": 4, "name": "is_deleted", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 5, "name": "created_at", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 6, "name": "updated_at", "comment": null}, "next_charge_scheduled_at": {"type": "timestamp without time zone", "index": 7, "name": "next_charge_scheduled_at", "comment": null}, "product_title": {"type": "text", "index": 8, "name": "product_title", "comment": null}, "variant_title": {"type": "integer", "index": 9, "name": "variant_title", "comment": null}, "price": {"type": "integer", "index": 10, "name": "price", "comment": null}, "quantity": {"type": "integer", "index": 11, "name": "quantity", "comment": null}, "external_product_id_ecommerce": {"type": "bigint", "index": 12, "name": "external_product_id_ecommerce", "comment": null}, "external_variant_id_ecommerce": {"type": "bigint", "index": 13, "name": "external_variant_id_ecommerce", "comment": null}, "sku": {"type": "integer", "index": 14, "name": "sku", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 15, "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.recharge_source.recharge.one_time_product"}, "source.recharge_source.recharge.order": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03", "name": "order_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "bigint", "index": 1, "name": "id", "comment": null}, "customer_id": {"type": "bigint", "index": 2, "name": "customer_id", "comment": null}, "address_id": {"type": "bigint", "index": 3, "name": "address_id", "comment": null}, "charge_id": {"type": "bigint", "index": 4, "name": "charge_id", "comment": null}, "is_deleted": {"type": "boolean", "index": 5, "name": "is_deleted", "comment": null}, "email": {"type": "text", "index": 6, "name": "email", "comment": null}, "transaction_id": {"type": "text", "index": 7, "name": "transaction_id", "comment": null}, "charge_status": {"type": "text", "index": 8, "name": "charge_status", "comment": null}, "is_prepaid": {"type": "boolean", "index": 9, "name": "is_prepaid", "comment": null}, "status": {"type": "text", "index": 10, "name": "status", "comment": null}, "total_price": {"type": "character varying", "index": 11, "name": "total_price", "comment": null}, "type": {"type": "text", "index": 12, "name": "type", "comment": null}, "external_order_id_ecommerce": {"type": "integer", "index": 13, "name": "external_order_id_ecommerce", "comment": null}, "external_order_number_ecommerce": {"type": "integer", "index": 14, "name": "external_order_number_ecommerce", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 15, "name": "created_at", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 16, "name": "updated_at", "comment": null}, "processed_at": {"type": "timestamp without time zone", "index": 17, "name": "processed_at", "comment": null}, "scheduled_at": {"type": "timestamp without time zone", "index": 18, "name": "scheduled_at", "comment": null}, "shipped_date": {"type": "timestamp without time zone", "index": 19, "name": "shipped_date", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 20, "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.recharge_source.recharge.order"}, "source.recharge_source.recharge.order_line_item": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03", "name": "order_line_item_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"order_id": {"type": "integer", "index": 1, "name": "order_id", "comment": null}, "index": {"type": "integer", "index": 2, "name": "index", "comment": null}, "variant_title": {"type": "text", "index": 3, "name": "variant_title", "comment": null}, "title": {"type": "text", "index": 4, "name": "title", "comment": null}, "quantity": {"type": "integer", "index": 5, "name": "quantity", "comment": null}, "grams": {"type": "integer", "index": 6, "name": "grams", "comment": null}, "total_price": {"type": "character varying", "index": 7, "name": "total_price", "comment": null}, "sku": {"type": "text", "index": 8, "name": "sku", "comment": null}, "external_product_id_ecommerce": {"type": "bigint", "index": 9, "name": "external_product_id_ecommerce", "comment": null}, "external_variant_id_ecommerce": {"type": "bigint", "index": 10, "name": "external_variant_id_ecommerce", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 11, "name": "_fivetran_synced", "comment": null}, "unit_price": {"type": "double precision", "index": 12, "name": "unit_price", "comment": null}, "tax_due": {"type": "integer", "index": 13, "name": "tax_due", "comment": null}, "taxable": {"type": "boolean", "index": 14, "name": "taxable", "comment": null}, "taxable_amount": {"type": "integer", "index": 15, "name": "taxable_amount", "comment": null}, "unit_price_includes_tax": {"type": "boolean", "index": 16, "name": "unit_price_includes_tax", "comment": null}, "purchase_item_id": {"type": "integer", "index": 17, "name": "purchase_item_id", "comment": null}, "purchase_item_type": {"type": "text", "index": 18, "name": "purchase_item_type", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.recharge_source.recharge.order_line_item"}, "source.recharge_source.recharge.subscription": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03", "name": "subscription_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "bigint", "index": 1, "name": "id", "comment": null}, "address_id": {"type": "bigint", "index": 2, "name": "address_id", "comment": null}, "customer_id": {"type": "bigint", "index": 3, "name": "customer_id", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 4, "name": "created_at", "comment": null}, "cancelled_at": {"type": "timestamp without time zone", "index": 5, "name": "cancelled_at", "comment": null}, "next_charge_scheduled_at": {"type": "timestamp without time zone", "index": 6, "name": "next_charge_scheduled_at", "comment": null}, "price": {"type": "double precision", "index": 7, "name": "price", "comment": null}, "quantity": {"type": "integer", "index": 8, "name": "quantity", "comment": null}, "cancellation_reason": {"type": "text", "index": 9, "name": "cancellation_reason", "comment": null}, "status": {"type": "text", "index": 10, "name": "status", "comment": null}, "cancellation_reason_comments": {"type": "integer", "index": 11, "name": "cancellation_reason_comments", "comment": null}, "product_title": {"type": "text", "index": 12, "name": "product_title", "comment": null}, "variant_title": {"type": "text", "index": 13, "name": "variant_title", "comment": null}, "external_product_id_ecommerce": {"type": "bigint", "index": 14, "name": "external_product_id_ecommerce", "comment": null}, "external_variant_id_ecommerce": {"type": "bigint", "index": 15, "name": "external_variant_id_ecommerce", "comment": null}, "sku": {"type": "text", "index": 16, "name": "sku", "comment": null}, "order_interval_unit": {"type": "text", "index": 17, "name": "order_interval_unit", "comment": null}, "order_interval_frequency": {"type": "integer", "index": 18, "name": "order_interval_frequency", "comment": null}, "charge_interval_frequency": {"type": "integer", "index": 19, "name": "charge_interval_frequency", "comment": null}, "order_day_of_week": {"type": "integer", "index": 20, "name": "order_day_of_week", "comment": null}, "order_day_of_month": {"type": "integer", "index": 21, "name": "order_day_of_month", "comment": null}, "expire_after_specific_number_of_charges": {"type": "integer", "index": 22, "name": "expire_after_specific_number_of_charges", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 23, "name": "updated_at", "comment": null}, "_fivetran_deleted": {"type": "boolean", "index": 24, "name": "_fivetran_deleted", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 25, "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.recharge_source.recharge.subscription"}, "source.recharge_source.recharge.subscription_history": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03", "name": "subscription_history_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"subscription_id": {"type": "bigint", "index": 1, "name": "subscription_id", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 2, "name": "updated_at", "comment": null}, "address_id": {"type": "bigint", "index": 3, "name": "address_id", "comment": null}, "customer_id": {"type": "bigint", "index": 4, "name": "customer_id", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 5, "name": "created_at", "comment": null}, "cancelled_at": {"type": "timestamp without time zone", "index": 6, "name": "cancelled_at", "comment": null}, "next_charge_scheduled_at": {"type": "timestamp without time zone", "index": 7, "name": "next_charge_scheduled_at", "comment": null}, "price": {"type": "double precision", "index": 8, "name": "price", "comment": null}, "quantity": {"type": "integer", "index": 9, "name": "quantity", "comment": null}, "cancellation_reason": {"type": "text", "index": 10, "name": "cancellation_reason", "comment": null}, "status": {"type": "text", "index": 11, "name": "status", "comment": null}, "cancellation_reason_comments": {"type": "integer", "index": 12, "name": "cancellation_reason_comments", "comment": null}, "variant_title": {"type": "text", "index": 13, "name": "variant_title", "comment": null}, "external_product_id_ecommerce": {"type": "bigint", "index": 14, "name": "external_product_id_ecommerce", "comment": null}, "external_variant_id_ecommerce": {"type": "bigint", "index": 15, "name": "external_variant_id_ecommerce", "comment": null}, "sku": {"type": "text", "index": 16, "name": "sku", "comment": null}, "order_interval_unit": {"type": "text", "index": 17, "name": "order_interval_unit", "comment": null}, "order_interval_frequency": {"type": "integer", "index": 18, "name": "order_interval_frequency", "comment": null}, "charge_interval_frequency": {"type": "integer", "index": 19, "name": "charge_interval_frequency", "comment": null}, "order_day_of_week": {"type": "integer", "index": 20, "name": "order_day_of_week", "comment": null}, "order_day_of_month": {"type": "integer", "index": 21, "name": "order_day_of_month", "comment": null}, "expire_after_specific_number_of_charges": {"type": "integer", "index": 22, "name": "expire_after_specific_number_of_charges", "comment": null}, "_fivetran_deleted": {"type": "boolean", "index": 23, "name": "_fivetran_deleted", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 24, "name": "_fivetran_synced", "comment": null}, "product_title": {"type": "text", "index": 25, "name": "product_title", "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.recharge_source.recharge.subscription_history"}}, "errors": null}
\ No newline at end of file
+{"metadata": {"dbt_schema_version": "https://schemas.getdbt.com/dbt/catalog/v1.json", "dbt_version": "1.5.6", "generated_at": "2023-09-11T16:12:29.261334Z", "invocation_id": "210dce35-70eb-4385-89bf-80a6fd4bf010", "env": {}}, "nodes": {"seed.recharge_integration_tests.address_discounts_data": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03", "name": "address_discounts_data", "database": "redshift-test-kristin", "comment": null, "owner": "awsuser"}, "columns": {"id": {"type": "bigint", "index": 1, "name": "id", "comment": null}, "address_id": {"type": "bigint", "index": 2, "name": "address_id", "comment": null}, "index": {"type": "integer", "index": 3, "name": "index", "comment": null}, "_fivetran_deleted": {"type": "boolean", "index": 4, "name": "_fivetran_deleted", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 5, "name": "_fivetran_synced", "comment": null}}, "stats": {"size": {"id": "size", "label": "Approximate Size", "value": 8000000.0, "include": true, "description": "Approximate size of the table, calculated from a count of 1MB blocks"}, "stats_off": {"id": "stats_off", "label": "Stats Off", "value": 100.0, "include": true, "description": "Number that indicates how stale the table statistics are; 0 is current, 100 is out of date."}, "sortkey1": {"id": "sortkey1", "label": "Sort Key 1", "value": "AUTO(SORTKEY)", "include": true, "description": "First column in the sort key."}, "max_varchar": {"id": "max_varchar", "label": "Max Varchar", "value": 0.0, "include": true, "description": "Size of the largest column that uses a VARCHAR data type."}, "encoded": {"id": "encoded", "label": "Encoded", "value": "Y, AUTO(ENCODE)", "include": true, "description": "Indicates whether any column in the table has compression encoding defined."}, "diststyle": {"id": "diststyle", "label": "Dist Style", "value": "AUTO(ALL)", "include": true, "description": "Distribution style or distribution key column, if key distribution is defined."}, "pct_used": {"id": "pct_used", "label": "Disk Utilization", "value": 2.2e-05, "include": true, "description": "Percent of available space that is used by the table."}, "rows": {"id": "rows", "label": "Approximate Row Count", "value": 2.0, "include": true, "description": "Approximate number of rows in the table. This value includes rows marked for deletion, but not yet vacuumed."}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.recharge_integration_tests.address_discounts_data"}, "seed.recharge_integration_tests.address_data": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03", "name": "address_data", "database": "redshift-test-kristin", "comment": null, "owner": "awsuser"}, "columns": {"id": {"type": "bigint", "index": 1, "name": "id", "comment": null}, "customer_id": {"type": "bigint", "index": 2, "name": "customer_id", "comment": null}, "first_name": {"type": "character varying(7)", "index": 3, "name": "first_name", "comment": null}, "last_name": {"type": "character varying(6)", "index": 4, "name": "last_name", "comment": null}, "address_1": {"type": "character varying(17)", "index": 5, "name": "address_1", "comment": null}, "address_2": {"type": "character varying(17)", "index": 6, "name": "address_2", "comment": null}, "city": {"type": "character varying(6)", "index": 7, "name": "city", "comment": null}, "province": {"type": "integer", "index": 8, "name": "province", "comment": null}, "country_code": {"type": "character varying(9)", "index": 9, "name": "country_code", "comment": null}, "zip": {"type": "character varying(5)", "index": 10, "name": "zip", "comment": null}, "company": {"type": "integer", "index": 11, "name": "company", "comment": null}, "phone": {"type": "character varying(7)", "index": 12, "name": "phone", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 13, "name": "created_at", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 14, "name": "updated_at", "comment": null}, "_fivetran_deleted": {"type": "boolean", "index": 15, "name": "_fivetran_deleted", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 16, "name": "_fivetran_synced", "comment": null}}, "stats": {"size": {"id": "size", "label": "Approximate Size", "value": 19000000.0, "include": true, "description": "Approximate size of the table, calculated from a count of 1MB blocks"}, "stats_off": {"id": "stats_off", "label": "Stats Off", "value": 100.0, "include": true, "description": "Number that indicates how stale the table statistics are; 0 is current, 100 is out of date."}, "sortkey1": {"id": "sortkey1", "label": "Sort Key 1", "value": "AUTO(SORTKEY)", "include": true, "description": "First column in the sort key."}, "max_varchar": {"id": "max_varchar", "label": "Max Varchar", "value": 17.0, "include": true, "description": "Size of the largest column that uses a VARCHAR data type."}, "encoded": {"id": "encoded", "label": "Encoded", "value": "Y, AUTO(ENCODE)", "include": true, "description": "Indicates whether any column in the table has compression encoding defined."}, "diststyle": {"id": "diststyle", "label": "Dist Style", "value": "AUTO(ALL)", "include": true, "description": "Distribution style or distribution key column, if key distribution is defined."}, "pct_used": {"id": "pct_used", "label": "Disk Utilization", "value": 5.2e-05, "include": true, "description": "Percent of available space that is used by the table."}, "rows": {"id": "rows", "label": "Approximate Row Count", "value": 2.0, "include": true, "description": "Approximate number of rows in the table. This value includes rows marked for deletion, but not yet vacuumed."}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.recharge_integration_tests.address_data"}, "seed.recharge_integration_tests.charge_order_attribute_data": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03", "name": "charge_order_attribute_data", "database": "redshift-test-kristin", "comment": null, "owner": "awsuser"}, "columns": {"charge_id": {"type": "bigint", "index": 1, "name": "charge_id", "comment": null}, "index": {"type": "integer", "index": 2, "name": "index", "comment": null}, "order_attribute": {"type": "character varying(173)", "index": 3, "name": "order_attribute", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 4, "name": "_fivetran_synced", "comment": null}}, "stats": {"size": {"id": "size", "label": "Approximate Size", "value": 7000000.0, "include": true, "description": "Approximate size of the table, calculated from a count of 1MB blocks"}, "stats_off": {"id": "stats_off", "label": "Stats Off", "value": 100.0, "include": true, "description": "Number that indicates how stale the table statistics are; 0 is current, 100 is out of date."}, "sortkey1": {"id": "sortkey1", "label": "Sort Key 1", "value": "AUTO(SORTKEY)", "include": true, "description": "First column in the sort key."}, "max_varchar": {"id": "max_varchar", "label": "Max Varchar", "value": 173.0, "include": true, "description": "Size of the largest column that uses a VARCHAR data type."}, "encoded": {"id": "encoded", "label": "Encoded", "value": "Y, AUTO(ENCODE)", "include": true, "description": "Indicates whether any column in the table has compression encoding defined."}, "diststyle": {"id": "diststyle", "label": "Dist Style", "value": "AUTO(ALL)", "include": true, "description": "Distribution style or distribution key column, if key distribution is defined."}, "pct_used": {"id": "pct_used", "label": "Disk Utilization", "value": 1.9e-05, "include": true, "description": "Percent of available space that is used by the table."}, "rows": {"id": "rows", "label": "Approximate Row Count", "value": 2.0, "include": true, "description": "Approximate number of rows in the table. This value includes rows marked for deletion, but not yet vacuumed."}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.recharge_integration_tests.charge_order_attribute_data"}, "seed.recharge_integration_tests.charge_shipping_line_data": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03", "name": "charge_shipping_line_data", "database": "redshift-test-kristin", "comment": null, "owner": "awsuser"}, "columns": {"charge_id": {"type": "bigint", "index": 1, "name": "charge_id", "comment": null}, "index": {"type": "integer", "index": 2, "name": "index", "comment": null}, "price": {"type": "double precision", "index": 3, "name": "price", "comment": null}, "code": {"type": "character varying(7)", "index": 4, "name": "code", "comment": null}, "title": {"type": "character varying(8)", "index": 5, "name": "title", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 6, "name": "_fivetran_synced", "comment": null}}, "stats": {"size": {"id": "size", "label": "Approximate Size", "value": 9000000.0, "include": true, "description": "Approximate size of the table, calculated from a count of 1MB blocks"}, "stats_off": {"id": "stats_off", "label": "Stats Off", "value": 100.0, "include": true, "description": "Number that indicates how stale the table statistics are; 0 is current, 100 is out of date."}, "sortkey1": {"id": "sortkey1", "label": "Sort Key 1", "value": "AUTO(SORTKEY)", "include": true, "description": "First column in the sort key."}, "max_varchar": {"id": "max_varchar", "label": "Max Varchar", "value": 8.0, "include": true, "description": "Size of the largest column that uses a VARCHAR data type."}, "encoded": {"id": "encoded", "label": "Encoded", "value": "Y, AUTO(ENCODE)", "include": true, "description": "Indicates whether any column in the table has compression encoding defined."}, "diststyle": {"id": "diststyle", "label": "Dist Style", "value": "AUTO(ALL)", "include": true, "description": "Distribution style or distribution key column, if key distribution is defined."}, "pct_used": {"id": "pct_used", "label": "Disk Utilization", "value": 2.4e-05, "include": true, "description": "Percent of available space that is used by the table."}, "rows": {"id": "rows", "label": "Approximate Row Count", "value": 2.0, "include": true, "description": "Approximate number of rows in the table. This value includes rows marked for deletion, but not yet vacuumed."}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.recharge_integration_tests.charge_shipping_line_data"}, "seed.recharge_integration_tests.charge_discount_data": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03", "name": "charge_discount_data", "database": "redshift-test-kristin", "comment": null, "owner": "awsuser"}, "columns": {"charge_id": {"type": "bigint", "index": 1, "name": "charge_id", "comment": null}, "index": {"type": "integer", "index": 2, "name": "index", "comment": null}, "id": {"type": "bigint", "index": 3, "name": "id", "comment": null}, "code": {"type": "character varying(6)", "index": 4, "name": "code", "comment": null}, "value": {"type": "double precision", "index": 5, "name": "value", "comment": null}, "value_type": {"type": "character varying(10)", "index": 6, "name": "value_type", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 7, "name": "_fivetran_synced", "comment": null}}, "stats": {"size": {"id": "size", "label": "Approximate Size", "value": 10000000.0, "include": true, "description": "Approximate size of the table, calculated from a count of 1MB blocks"}, "stats_off": {"id": "stats_off", "label": "Stats Off", "value": 100.0, "include": true, "description": "Number that indicates how stale the table statistics are; 0 is current, 100 is out of date."}, "sortkey1": {"id": "sortkey1", "label": "Sort Key 1", "value": "AUTO(SORTKEY)", "include": true, "description": "First column in the sort key."}, "max_varchar": {"id": "max_varchar", "label": "Max Varchar", "value": 10.0, "include": true, "description": "Size of the largest column that uses a VARCHAR data type."}, "encoded": {"id": "encoded", "label": "Encoded", "value": "Y, AUTO(ENCODE)", "include": true, "description": "Indicates whether any column in the table has compression encoding defined."}, "diststyle": {"id": "diststyle", "label": "Dist Style", "value": "AUTO(ALL)", "include": true, "description": "Distribution style or distribution key column, if key distribution is defined."}, "pct_used": {"id": "pct_used", "label": "Disk Utilization", "value": 2.7e-05, "include": true, "description": "Percent of available space that is used by the table."}, "rows": {"id": "rows", "label": "Approximate Row Count", "value": 2.0, "include": true, "description": "Approximate number of rows in the table. This value includes rows marked for deletion, but not yet vacuumed."}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.recharge_integration_tests.charge_discount_data"}, "seed.recharge_integration_tests.charge_data": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03", "name": "charge_data", "database": "redshift-test-kristin", "comment": null, "owner": "awsuser"}, "columns": {"id": {"type": "bigint", "index": 1, "name": "id", "comment": null}, "address_id": {"type": "bigint", "index": 2, "name": "address_id", "comment": null}, "customer_id": {"type": "bigint", "index": 3, "name": "customer_id", "comment": null}, "customer_hash": {"type": "character varying(31)", "index": 4, "name": "customer_hash", "comment": null}, "note": {"type": "character varying(25)", "index": 5, "name": "note", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 6, "name": "created_at", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 7, "name": "updated_at", "comment": null}, "processed_at": {"type": "timestamp without time zone", "index": 8, "name": "processed_at", "comment": null}, "scheduled_at": {"type": "timestamp without time zone", "index": 9, "name": "scheduled_at", "comment": null}, "orders_count": {"type": "integer", "index": 10, "name": "orders_count", "comment": null}, "external_order_id_ecommerce": {"type": "integer", "index": 11, "name": "external_order_id_ecommerce", "comment": null}, "subtotal_price": {"type": "double precision", "index": 12, "name": "subtotal_price", "comment": null}, "tags": {"type": "character varying(42)", "index": 13, "name": "tags", "comment": null}, "tax_lines": {"type": "double precision", "index": 14, "name": "tax_lines", "comment": null}, "total_discounts": {"type": "integer", "index": 15, "name": "total_discounts", "comment": null}, "total_line_items_price": {"type": "double precision", "index": 16, "name": "total_line_items_price", "comment": null}, "total_price": {"type": "character varying(256)", "index": 17, "name": "total_price", "comment": null}, "total_tax": {"type": "double precision", "index": 18, "name": "total_tax", "comment": null}, "total_weight_grams": {"type": "integer", "index": 19, "name": "total_weight_grams", "comment": null}, "type": {"type": "character varying(9)", "index": 20, "name": "type", "comment": null}, "status": {"type": "character varying(6)", "index": 21, "name": "status", "comment": null}, "total_refunds": {"type": "integer", "index": 22, "name": "total_refunds", "comment": null}, "external_transaction_id_payment_processor": {"type": "integer", "index": 23, "name": "external_transaction_id_payment_processor", "comment": null}, "email": {"type": "character varying(19)", "index": 24, "name": "email", "comment": null}, "payment_processor": {"type": "character varying(9)", "index": 25, "name": "payment_processor", "comment": null}, "has_uncommited_changes": {"type": "boolean", "index": 26, "name": "has_uncommited_changes", "comment": null}, "retry_date": {"type": "timestamp without time zone", "index": 27, "name": "retry_date", "comment": null}, "error_type": {"type": "integer", "index": 28, "name": "error_type", "comment": null}, "error": {"type": "integer", "index": 29, "name": "error", "comment": null}, "charge_attempts": {"type": "integer", "index": 30, "name": "charge_attempts", "comment": null}, "external_variant_id_not_found": {"type": "integer", "index": 31, "name": "external_variant_id_not_found", "comment": null}, "client_details_browser_ip": {"type": "integer", "index": 32, "name": "client_details_browser_ip", "comment": null}, "client_details_user_agent": {"type": "integer", "index": 33, "name": "client_details_user_agent", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 34, "name": "_fivetran_synced", "comment": null}, "last_charge_attempt_date": {"type": "timestamp without time zone", "index": 35, "name": "last_charge_attempt_date", "comment": null}}, "stats": {"size": {"id": "size", "label": "Approximate Size", "value": 38000000.0, "include": true, "description": "Approximate size of the table, calculated from a count of 1MB blocks"}, "stats_off": {"id": "stats_off", "label": "Stats Off", "value": 100.0, "include": true, "description": "Number that indicates how stale the table statistics are; 0 is current, 100 is out of date."}, "sortkey1": {"id": "sortkey1", "label": "Sort Key 1", "value": "AUTO(SORTKEY)", "include": true, "description": "First column in the sort key."}, "max_varchar": {"id": "max_varchar", "label": "Max Varchar", "value": 256.0, "include": true, "description": "Size of the largest column that uses a VARCHAR data type."}, "encoded": {"id": "encoded", "label": "Encoded", "value": "Y, AUTO(ENCODE)", "include": true, "description": "Indicates whether any column in the table has compression encoding defined."}, "diststyle": {"id": "diststyle", "label": "Dist Style", "value": "AUTO(ALL)", "include": true, "description": "Distribution style or distribution key column, if key distribution is defined."}, "pct_used": {"id": "pct_used", "label": "Disk Utilization", "value": 0.000105, "include": true, "description": "Percent of available space that is used by the table."}, "rows": {"id": "rows", "label": "Approximate Row Count", "value": 2.0, "include": true, "description": "Approximate number of rows in the table. This value includes rows marked for deletion, but not yet vacuumed."}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.recharge_integration_tests.charge_data"}, "seed.recharge_integration_tests.address_shipping_line_data": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03", "name": "address_shipping_line_data", "database": "redshift-test-kristin", "comment": null, "owner": "awsuser"}, "columns": {"address_id": {"type": "bigint", "index": 1, "name": "address_id", "comment": null}, "index": {"type": "integer", "index": 2, "name": "index", "comment": null}, "price": {"type": "double precision", "index": 3, "name": "price", "comment": null}, "code": {"type": "character varying(6)", "index": 4, "name": "code", "comment": null}, "title": {"type": "character varying(7)", "index": 5, "name": "title", "comment": null}, "_fivetran_deleted": {"type": "boolean", "index": 6, "name": "_fivetran_deleted", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 7, "name": "_fivetran_synced", "comment": null}}, "stats": {"size": {"id": "size", "label": "Approximate Size", "value": 10000000.0, "include": true, "description": "Approximate size of the table, calculated from a count of 1MB blocks"}, "stats_off": {"id": "stats_off", "label": "Stats Off", "value": 100.0, "include": true, "description": "Number that indicates how stale the table statistics are; 0 is current, 100 is out of date."}, "sortkey1": {"id": "sortkey1", "label": "Sort Key 1", "value": "AUTO(SORTKEY)", "include": true, "description": "First column in the sort key."}, "max_varchar": {"id": "max_varchar", "label": "Max Varchar", "value": 7.0, "include": true, "description": "Size of the largest column that uses a VARCHAR data type."}, "encoded": {"id": "encoded", "label": "Encoded", "value": "Y, AUTO(ENCODE)", "include": true, "description": "Indicates whether any column in the table has compression encoding defined."}, "diststyle": {"id": "diststyle", "label": "Dist Style", "value": "AUTO(ALL)", "include": true, "description": "Distribution style or distribution key column, if key distribution is defined."}, "pct_used": {"id": "pct_used", "label": "Disk Utilization", "value": 2.7e-05, "include": true, "description": "Percent of available space that is used by the table."}, "rows": {"id": "rows", "label": "Approximate Row Count", "value": 2.0, "include": true, "description": "Approximate number of rows in the table. This value includes rows marked for deletion, but not yet vacuumed."}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.recharge_integration_tests.address_shipping_line_data"}, "seed.recharge_integration_tests.charge_line_item_data": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03", "name": "charge_line_item_data", "database": "redshift-test-kristin", "comment": null, "owner": "awsuser"}, "columns": {"charge_id": {"type": "bigint", "index": 1, "name": "charge_id", "comment": null}, "index": {"type": "integer", "index": 2, "name": "index", "comment": null}, "variant_title": {"type": "character varying(16)", "index": 3, "name": "variant_title", "comment": null}, "title": {"type": "character varying(8)", "index": 4, "name": "title", "comment": null}, "quantity": {"type": "integer", "index": 5, "name": "quantity", "comment": null}, "grams": {"type": "integer", "index": 6, "name": "grams", "comment": null}, "total_price": {"type": "character varying(256)", "index": 7, "name": "total_price", "comment": null}, "sku": {"type": "character varying(5)", "index": 8, "name": "sku", "comment": null}, "external_product_id_ecommerce": {"type": "bigint", "index": 9, "name": "external_product_id_ecommerce", "comment": null}, "vendor": {"type": "character varying(12)", "index": 10, "name": "vendor", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 11, "name": "_fivetran_synced", "comment": null}, "unit_price": {"type": "double precision", "index": 12, "name": "unit_price", "comment": null}, "tax_due": {"type": "integer", "index": 13, "name": "tax_due", "comment": null}, "taxable": {"type": "boolean", "index": 14, "name": "taxable", "comment": null}, "taxable_amount": {"type": "integer", "index": 15, "name": "taxable_amount", "comment": null}, "unit_price_includes_tax": {"type": "boolean", "index": 16, "name": "unit_price_includes_tax", "comment": null}, "purchase_item_id": {"type": "integer", "index": 17, "name": "purchase_item_id", "comment": null}, "purchase_item_type": {"type": "character varying(5)", "index": 18, "name": "purchase_item_type", "comment": null}, "external_variant_id_ecommerce": {"type": "bigint", "index": 19, "name": "external_variant_id_ecommerce", "comment": null}}, "stats": {"size": {"id": "size", "label": "Approximate Size", "value": 22000000.0, "include": true, "description": "Approximate size of the table, calculated from a count of 1MB blocks"}, "stats_off": {"id": "stats_off", "label": "Stats Off", "value": 100.0, "include": true, "description": "Number that indicates how stale the table statistics are; 0 is current, 100 is out of date."}, "sortkey1": {"id": "sortkey1", "label": "Sort Key 1", "value": "AUTO(SORTKEY)", "include": true, "description": "First column in the sort key."}, "max_varchar": {"id": "max_varchar", "label": "Max Varchar", "value": 256.0, "include": true, "description": "Size of the largest column that uses a VARCHAR data type."}, "encoded": {"id": "encoded", "label": "Encoded", "value": "Y, AUTO(ENCODE)", "include": true, "description": "Indicates whether any column in the table has compression encoding defined."}, "diststyle": {"id": "diststyle", "label": "Dist Style", "value": "AUTO(ALL)", "include": true, "description": "Distribution style or distribution key column, if key distribution is defined."}, "pct_used": {"id": "pct_used", "label": "Disk Utilization", "value": 6e-05, "include": true, "description": "Percent of available space that is used by the table."}, "rows": {"id": "rows", "label": "Approximate Row Count", "value": 2.0, "include": true, "description": "Approximate number of rows in the table. This value includes rows marked for deletion, but not yet vacuumed."}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.recharge_integration_tests.charge_line_item_data"}, "seed.recharge_integration_tests.discount_data": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03", "name": "discount_data", "database": "redshift-test-kristin", "comment": null, "owner": "awsuser"}, "columns": {"id": {"type": "bigint", "index": 1, "name": "id", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 2, "name": "created_at", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 3, "name": "updated_at", "comment": null}, "starts_at": {"type": "timestamp without time zone", "index": 4, "name": "starts_at", "comment": null}, "ends_at": {"type": "timestamp without time zone", "index": 5, "name": "ends_at", "comment": null}, "code": {"type": "character varying(6)", "index": 6, "name": "code", "comment": null}, "value": {"type": "integer", "index": 7, "name": "value", "comment": null}, "status": {"type": "character varying(7)", "index": 8, "name": "status", "comment": null}, "usage_limits": {"type": "integer", "index": 9, "name": "usage_limits", "comment": null}, "applies_to": {"type": "character varying(21)", "index": 10, "name": "applies_to", "comment": null}, "applies_to_resource": {"type": "character varying(21)", "index": 11, "name": "applies_to_resource", "comment": null}, "applies_to_id": {"type": "bigint", "index": 12, "name": "applies_to_id", "comment": null}, "applies_to_product_type": {"type": "character varying(12)", "index": 13, "name": "applies_to_product_type", "comment": null}, "minimum_order_amount": {"type": "integer", "index": 14, "name": "minimum_order_amount", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 15, "name": "_fivetran_synced", "comment": null}}, "stats": {"size": {"id": "size", "label": "Approximate Size", "value": 18000000.0, "include": true, "description": "Approximate size of the table, calculated from a count of 1MB blocks"}, "stats_off": {"id": "stats_off", "label": "Stats Off", "value": 100.0, "include": true, "description": "Number that indicates how stale the table statistics are; 0 is current, 100 is out of date."}, "sortkey1": {"id": "sortkey1", "label": "Sort Key 1", "value": "AUTO(SORTKEY)", "include": true, "description": "First column in the sort key."}, "max_varchar": {"id": "max_varchar", "label": "Max Varchar", "value": 21.0, "include": true, "description": "Size of the largest column that uses a VARCHAR data type."}, "encoded": {"id": "encoded", "label": "Encoded", "value": "Y, AUTO(ENCODE)", "include": true, "description": "Indicates whether any column in the table has compression encoding defined."}, "diststyle": {"id": "diststyle", "label": "Dist Style", "value": "AUTO(ALL)", "include": true, "description": "Distribution style or distribution key column, if key distribution is defined."}, "pct_used": {"id": "pct_used", "label": "Disk Utilization", "value": 4.9e-05, "include": true, "description": "Percent of available space that is used by the table."}, "rows": {"id": "rows", "label": "Approximate Row Count", "value": 2.0, "include": true, "description": "Approximate number of rows in the table. This value includes rows marked for deletion, but not yet vacuumed."}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.recharge_integration_tests.discount_data"}, "seed.recharge_integration_tests.charge_tax_line_data": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03", "name": "charge_tax_line_data", "database": "redshift-test-kristin", "comment": null, "owner": "awsuser"}, "columns": {"charge_id": {"type": "bigint", "index": 1, "name": "charge_id", "comment": null}, "index": {"type": "integer", "index": 2, "name": "index", "comment": null}, "price": {"type": "double precision", "index": 3, "name": "price", "comment": null}, "rate": {"type": "double precision", "index": 4, "name": "rate", "comment": null}, "title": {"type": "character varying(8)", "index": 5, "name": "title", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 6, "name": "_fivetran_synced", "comment": null}}, "stats": {"size": {"id": "size", "label": "Approximate Size", "value": 9000000.0, "include": true, "description": "Approximate size of the table, calculated from a count of 1MB blocks"}, "stats_off": {"id": "stats_off", "label": "Stats Off", "value": 100.0, "include": true, "description": "Number that indicates how stale the table statistics are; 0 is current, 100 is out of date."}, "sortkey1": {"id": "sortkey1", "label": "Sort Key 1", "value": "AUTO(SORTKEY)", "include": true, "description": "First column in the sort key."}, "max_varchar": {"id": "max_varchar", "label": "Max Varchar", "value": 8.0, "include": true, "description": "Size of the largest column that uses a VARCHAR data type."}, "encoded": {"id": "encoded", "label": "Encoded", "value": "Y, AUTO(ENCODE)", "include": true, "description": "Indicates whether any column in the table has compression encoding defined."}, "diststyle": {"id": "diststyle", "label": "Dist Style", "value": "AUTO(ALL)", "include": true, "description": "Distribution style or distribution key column, if key distribution is defined."}, "pct_used": {"id": "pct_used", "label": "Disk Utilization", "value": 2.4e-05, "include": true, "description": "Percent of available space that is used by the table."}, "rows": {"id": "rows", "label": "Approximate Row Count", "value": 2.0, "include": true, "description": "Approximate number of rows in the table. This value includes rows marked for deletion, but not yet vacuumed."}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.recharge_integration_tests.charge_tax_line_data"}, "seed.recharge_integration_tests.one_time_product_data": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03", "name": "one_time_product_data", "database": "redshift-test-kristin", "comment": null, "owner": "awsuser"}, "columns": {"id": {"type": "bigint", "index": 1, "name": "id", "comment": null}, "address_id": {"type": "bigint", "index": 2, "name": "address_id", "comment": null}, "customer_id": {"type": "bigint", "index": 3, "name": "customer_id", "comment": null}, "is_deleted": {"type": "boolean", "index": 4, "name": "is_deleted", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 5, "name": "created_at", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 6, "name": "updated_at", "comment": null}, "next_charge_scheduled_at": {"type": "timestamp without time zone", "index": 7, "name": "next_charge_scheduled_at", "comment": null}, "product_title": {"type": "character varying(16)", "index": 8, "name": "product_title", "comment": null}, "variant_title": {"type": "integer", "index": 9, "name": "variant_title", "comment": null}, "price": {"type": "integer", "index": 10, "name": "price", "comment": null}, "quantity": {"type": "integer", "index": 11, "name": "quantity", "comment": null}, "external_product_id_ecommerce": {"type": "bigint", "index": 12, "name": "external_product_id_ecommerce", "comment": null}, "external_variant_id_ecommerce": {"type": "bigint", "index": 13, "name": "external_variant_id_ecommerce", "comment": null}, "sku": {"type": "integer", "index": 14, "name": "sku", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 15, "name": "_fivetran_synced", "comment": null}}, "stats": {"size": {"id": "size", "label": "Approximate Size", "value": 18000000.0, "include": true, "description": "Approximate size of the table, calculated from a count of 1MB blocks"}, "stats_off": {"id": "stats_off", "label": "Stats Off", "value": 100.0, "include": true, "description": "Number that indicates how stale the table statistics are; 0 is current, 100 is out of date."}, "sortkey1": {"id": "sortkey1", "label": "Sort Key 1", "value": "AUTO(SORTKEY)", "include": true, "description": "First column in the sort key."}, "max_varchar": {"id": "max_varchar", "label": "Max Varchar", "value": 16.0, "include": true, "description": "Size of the largest column that uses a VARCHAR data type."}, "encoded": {"id": "encoded", "label": "Encoded", "value": "Y, AUTO(ENCODE)", "include": true, "description": "Indicates whether any column in the table has compression encoding defined."}, "diststyle": {"id": "diststyle", "label": "Dist Style", "value": "AUTO(ALL)", "include": true, "description": "Distribution style or distribution key column, if key distribution is defined."}, "pct_used": {"id": "pct_used", "label": "Disk Utilization", "value": 4.9e-05, "include": true, "description": "Percent of available space that is used by the table."}, "rows": {"id": "rows", "label": "Approximate Row Count", "value": 2.0, "include": true, "description": "Approximate number of rows in the table. This value includes rows marked for deletion, but not yet vacuumed."}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.recharge_integration_tests.one_time_product_data"}, "seed.recharge_integration_tests.customer_data": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03", "name": "customer_data", "database": "redshift-test-kristin", "comment": null, "owner": "awsuser"}, "columns": {"id": {"type": "bigint", "index": 1, "name": "id", "comment": null}, "hash": {"type": "character varying(31)", "index": 2, "name": "hash", "comment": null}, "external_customer_id_ecommerce": {"type": "integer", "index": 3, "name": "external_customer_id_ecommerce", "comment": null}, "email": {"type": "character varying(19)", "index": 4, "name": "email", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 5, "name": "created_at", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 6, "name": "updated_at", "comment": null}, "first_charge_processed_at": {"type": "timestamp without time zone", "index": 7, "name": "first_charge_processed_at", "comment": null}, "first_name": {"type": "character varying(7)", "index": 8, "name": "first_name", "comment": null}, "last_name": {"type": "character varying(6)", "index": 9, "name": "last_name", "comment": null}, "subscriptions_active_count": {"type": "integer", "index": 10, "name": "subscriptions_active_count", "comment": null}, "subscriptions_total_count": {"type": "integer", "index": 11, "name": "subscriptions_total_count", "comment": null}, "has_valid_payment_method": {"type": "boolean", "index": 12, "name": "has_valid_payment_method", "comment": null}, "has_payment_method_in_dunning": {"type": "boolean", "index": 13, "name": "has_payment_method_in_dunning", "comment": null}, "_fivetran_deleted": {"type": "boolean", "index": 14, "name": "_fivetran_deleted", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 15, "name": "_fivetran_synced", "comment": null}, "tax_exempt": {"type": "boolean", "index": 16, "name": "tax_exempt", "comment": null}}, "stats": {"size": {"id": "size", "label": "Approximate Size", "value": 19000000.0, "include": true, "description": "Approximate size of the table, calculated from a count of 1MB blocks"}, "stats_off": {"id": "stats_off", "label": "Stats Off", "value": 100.0, "include": true, "description": "Number that indicates how stale the table statistics are; 0 is current, 100 is out of date."}, "sortkey1": {"id": "sortkey1", "label": "Sort Key 1", "value": "AUTO(SORTKEY)", "include": true, "description": "First column in the sort key."}, "max_varchar": {"id": "max_varchar", "label": "Max Varchar", "value": 31.0, "include": true, "description": "Size of the largest column that uses a VARCHAR data type."}, "encoded": {"id": "encoded", "label": "Encoded", "value": "Y, AUTO(ENCODE)", "include": true, "description": "Indicates whether any column in the table has compression encoding defined."}, "diststyle": {"id": "diststyle", "label": "Dist Style", "value": "AUTO(ALL)", "include": true, "description": "Distribution style or distribution key column, if key distribution is defined."}, "pct_used": {"id": "pct_used", "label": "Disk Utilization", "value": 5.2e-05, "include": true, "description": "Percent of available space that is used by the table."}, "rows": {"id": "rows", "label": "Approximate Row Count", "value": 2.0, "include": true, "description": "Approximate number of rows in the table. This value includes rows marked for deletion, but not yet vacuumed."}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.recharge_integration_tests.customer_data"}, "seed.recharge_integration_tests.order_data": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03", "name": "order_data", "database": "redshift-test-kristin", "comment": null, "owner": "awsuser"}, "columns": {"id": {"type": "bigint", "index": 1, "name": "id", "comment": null}, "customer_id": {"type": "bigint", "index": 2, "name": "customer_id", "comment": null}, "address_id": {"type": "bigint", "index": 3, "name": "address_id", "comment": null}, "charge_id": {"type": "bigint", "index": 4, "name": "charge_id", "comment": null}, "is_deleted": {"type": "boolean", "index": 5, "name": "is_deleted", "comment": null}, "email": {"type": "character varying(19)", "index": 6, "name": "email", "comment": null}, "transaction_id": {"type": "character varying(28)", "index": 7, "name": "transaction_id", "comment": null}, "charge_status": {"type": "character varying(7)", "index": 8, "name": "charge_status", "comment": null}, "is_prepaid": {"type": "boolean", "index": 9, "name": "is_prepaid", "comment": null}, "status": {"type": "character varying(7)", "index": 10, "name": "status", "comment": null}, "total_price": {"type": "character varying(256)", "index": 11, "name": "total_price", "comment": null}, "type": {"type": "character varying(9)", "index": 12, "name": "type", "comment": null}, "external_order_id_ecommerce": {"type": "integer", "index": 13, "name": "external_order_id_ecommerce", "comment": null}, "external_order_number_ecommerce": {"type": "integer", "index": 14, "name": "external_order_number_ecommerce", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 15, "name": "created_at", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 16, "name": "updated_at", "comment": null}, "processed_at": {"type": "timestamp without time zone", "index": 17, "name": "processed_at", "comment": null}, "scheduled_at": {"type": "timestamp without time zone", "index": 18, "name": "scheduled_at", "comment": null}, "shipped_date": {"type": "timestamp without time zone", "index": 19, "name": "shipped_date", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 20, "name": "_fivetran_synced", "comment": null}}, "stats": {"size": {"id": "size", "label": "Approximate Size", "value": 23000000.0, "include": true, "description": "Approximate size of the table, calculated from a count of 1MB blocks"}, "stats_off": {"id": "stats_off", "label": "Stats Off", "value": 100.0, "include": true, "description": "Number that indicates how stale the table statistics are; 0 is current, 100 is out of date."}, "sortkey1": {"id": "sortkey1", "label": "Sort Key 1", "value": "AUTO(SORTKEY)", "include": true, "description": "First column in the sort key."}, "max_varchar": {"id": "max_varchar", "label": "Max Varchar", "value": 256.0, "include": true, "description": "Size of the largest column that uses a VARCHAR data type."}, "encoded": {"id": "encoded", "label": "Encoded", "value": "Y, AUTO(ENCODE)", "include": true, "description": "Indicates whether any column in the table has compression encoding defined."}, "diststyle": {"id": "diststyle", "label": "Dist Style", "value": "AUTO(ALL)", "include": true, "description": "Distribution style or distribution key column, if key distribution is defined."}, "pct_used": {"id": "pct_used", "label": "Disk Utilization", "value": 6.3e-05, "include": true, "description": "Percent of available space that is used by the table."}, "rows": {"id": "rows", "label": "Approximate Row Count", "value": 2.0, "include": true, "description": "Approximate number of rows in the table. This value includes rows marked for deletion, but not yet vacuumed."}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.recharge_integration_tests.order_data"}, "seed.recharge_integration_tests.order_line_item_data": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03", "name": "order_line_item_data", "database": "redshift-test-kristin", "comment": null, "owner": "awsuser"}, "columns": {"order_id": {"type": "integer", "index": 1, "name": "order_id", "comment": null}, "index": {"type": "integer", "index": 2, "name": "index", "comment": null}, "variant_title": {"type": "character varying(43)", "index": 3, "name": "variant_title", "comment": null}, "title": {"type": "character varying(7)", "index": 4, "name": "title", "comment": null}, "quantity": {"type": "integer", "index": 5, "name": "quantity", "comment": null}, "grams": {"type": "integer", "index": 6, "name": "grams", "comment": null}, "total_price": {"type": "character varying(256)", "index": 7, "name": "total_price", "comment": null}, "sku": {"type": "character varying(5)", "index": 8, "name": "sku", "comment": null}, "external_product_id_ecommerce": {"type": "bigint", "index": 9, "name": "external_product_id_ecommerce", "comment": null}, "external_variant_id_ecommerce": {"type": "bigint", "index": 10, "name": "external_variant_id_ecommerce", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 11, "name": "_fivetran_synced", "comment": null}, "unit_price": {"type": "double precision", "index": 12, "name": "unit_price", "comment": null}, "tax_due": {"type": "integer", "index": 13, "name": "tax_due", "comment": null}, "taxable": {"type": "boolean", "index": 14, "name": "taxable", "comment": null}, "taxable_amount": {"type": "integer", "index": 15, "name": "taxable_amount", "comment": null}, "unit_price_includes_tax": {"type": "boolean", "index": 16, "name": "unit_price_includes_tax", "comment": null}, "purchase_item_id": {"type": "integer", "index": 17, "name": "purchase_item_id", "comment": null}, "purchase_item_type": {"type": "character varying(5)", "index": 18, "name": "purchase_item_type", "comment": null}}, "stats": {"size": {"id": "size", "label": "Approximate Size", "value": 21000000.0, "include": true, "description": "Approximate size of the table, calculated from a count of 1MB blocks"}, "stats_off": {"id": "stats_off", "label": "Stats Off", "value": 100.0, "include": true, "description": "Number that indicates how stale the table statistics are; 0 is current, 100 is out of date."}, "sortkey1": {"id": "sortkey1", "label": "Sort Key 1", "value": "AUTO(SORTKEY)", "include": true, "description": "First column in the sort key."}, "max_varchar": {"id": "max_varchar", "label": "Max Varchar", "value": 256.0, "include": true, "description": "Size of the largest column that uses a VARCHAR data type."}, "encoded": {"id": "encoded", "label": "Encoded", "value": "Y, AUTO(ENCODE)", "include": true, "description": "Indicates whether any column in the table has compression encoding defined."}, "diststyle": {"id": "diststyle", "label": "Dist Style", "value": "AUTO(ALL)", "include": true, "description": "Distribution style or distribution key column, if key distribution is defined."}, "pct_used": {"id": "pct_used", "label": "Disk Utilization", "value": 5.8e-05, "include": true, "description": "Percent of available space that is used by the table."}, "rows": {"id": "rows", "label": "Approximate Row Count", "value": 2.0, "include": true, "description": "Approximate number of rows in the table. This value includes rows marked for deletion, but not yet vacuumed."}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.recharge_integration_tests.order_line_item_data"}, "seed.recharge_integration_tests.subscription_history_data": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03", "name": "subscription_history_data", "database": "redshift-test-kristin", "comment": null, "owner": "awsuser"}, "columns": {"subscription_id": {"type": "bigint", "index": 1, "name": "subscription_id", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 2, "name": "updated_at", "comment": null}, "address_id": {"type": "bigint", "index": 3, "name": "address_id", "comment": null}, "customer_id": {"type": "bigint", "index": 4, "name": "customer_id", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 5, "name": "created_at", "comment": null}, "cancelled_at": {"type": "timestamp without time zone", "index": 6, "name": "cancelled_at", "comment": null}, "next_charge_scheduled_at": {"type": "timestamp without time zone", "index": 7, "name": "next_charge_scheduled_at", "comment": null}, "price": {"type": "double precision", "index": 8, "name": "price", "comment": null}, "quantity": {"type": "integer", "index": 9, "name": "quantity", "comment": null}, "cancellation_reason": {"type": "character varying(16)", "index": 10, "name": "cancellation_reason", "comment": null}, "status": {"type": "character varying(9)", "index": 11, "name": "status", "comment": null}, "cancellation_reason_comments": {"type": "integer", "index": 12, "name": "cancellation_reason_comments", "comment": null}, "variant_title": {"type": "character varying(43)", "index": 13, "name": "variant_title", "comment": null}, "external_product_id_ecommerce": {"type": "bigint", "index": 14, "name": "external_product_id_ecommerce", "comment": null}, "external_variant_id_ecommerce": {"type": "bigint", "index": 15, "name": "external_variant_id_ecommerce", "comment": null}, "sku": {"type": "character varying(5)", "index": 16, "name": "sku", "comment": null}, "order_interval_unit": {"type": "character varying(3)", "index": 17, "name": "order_interval_unit", "comment": null}, "order_interval_frequency": {"type": "integer", "index": 18, "name": "order_interval_frequency", "comment": null}, "charge_interval_frequency": {"type": "integer", "index": 19, "name": "charge_interval_frequency", "comment": null}, "order_day_of_week": {"type": "integer", "index": 20, "name": "order_day_of_week", "comment": null}, "order_day_of_month": {"type": "integer", "index": 21, "name": "order_day_of_month", "comment": null}, "expire_after_specific_number_of_charges": {"type": "integer", "index": 22, "name": "expire_after_specific_number_of_charges", "comment": null}, "_fivetran_deleted": {"type": "boolean", "index": 23, "name": "_fivetran_deleted", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 24, "name": "_fivetran_synced", "comment": null}, "product_title": {"type": "character varying(16)", "index": 25, "name": "product_title", "comment": null}}, "stats": {"size": {"id": "size", "label": "Approximate Size", "value": 28000000.0, "include": true, "description": "Approximate size of the table, calculated from a count of 1MB blocks"}, "stats_off": {"id": "stats_off", "label": "Stats Off", "value": 100.0, "include": true, "description": "Number that indicates how stale the table statistics are; 0 is current, 100 is out of date."}, "sortkey1": {"id": "sortkey1", "label": "Sort Key 1", "value": "AUTO(SORTKEY)", "include": true, "description": "First column in the sort key."}, "max_varchar": {"id": "max_varchar", "label": "Max Varchar", "value": 43.0, "include": true, "description": "Size of the largest column that uses a VARCHAR data type."}, "encoded": {"id": "encoded", "label": "Encoded", "value": "Y, AUTO(ENCODE)", "include": true, "description": "Indicates whether any column in the table has compression encoding defined."}, "diststyle": {"id": "diststyle", "label": "Dist Style", "value": "AUTO(ALL)", "include": true, "description": "Distribution style or distribution key column, if key distribution is defined."}, "pct_used": {"id": "pct_used", "label": "Disk Utilization", "value": 7.7e-05, "include": true, "description": "Percent of available space that is used by the table."}, "rows": {"id": "rows", "label": "Approximate Row Count", "value": 2.0, "include": true, "description": "Approximate number of rows in the table. This value includes rows marked for deletion, but not yet vacuumed."}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.recharge_integration_tests.subscription_history_data"}, "seed.recharge_integration_tests.subscription_data": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03", "name": "subscription_data", "database": "redshift-test-kristin", "comment": null, "owner": "awsuser"}, "columns": {"id": {"type": "bigint", "index": 1, "name": "id", "comment": null}, "address_id": {"type": "bigint", "index": 2, "name": "address_id", "comment": null}, "customer_id": {"type": "bigint", "index": 3, "name": "customer_id", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 4, "name": "created_at", "comment": null}, "cancelled_at": {"type": "timestamp without time zone", "index": 5, "name": "cancelled_at", "comment": null}, "next_charge_scheduled_at": {"type": "timestamp without time zone", "index": 6, "name": "next_charge_scheduled_at", "comment": null}, "price": {"type": "double precision", "index": 7, "name": "price", "comment": null}, "quantity": {"type": "integer", "index": 8, "name": "quantity", "comment": null}, "cancellation_reason": {"type": "character varying(21)", "index": 9, "name": "cancellation_reason", "comment": null}, "status": {"type": "character varying(9)", "index": 10, "name": "status", "comment": null}, "cancellation_reason_comments": {"type": "integer", "index": 11, "name": "cancellation_reason_comments", "comment": null}, "product_title": {"type": "character varying(16)", "index": 12, "name": "product_title", "comment": null}, "variant_title": {"type": "character varying(16)", "index": 13, "name": "variant_title", "comment": null}, "external_product_id_ecommerce": {"type": "bigint", "index": 14, "name": "external_product_id_ecommerce", "comment": null}, "external_variant_id_ecommerce": {"type": "bigint", "index": 15, "name": "external_variant_id_ecommerce", "comment": null}, "sku": {"type": "character varying(5)", "index": 16, "name": "sku", "comment": null}, "order_interval_unit": {"type": "character varying(3)", "index": 17, "name": "order_interval_unit", "comment": null}, "order_interval_frequency": {"type": "integer", "index": 18, "name": "order_interval_frequency", "comment": null}, "charge_interval_frequency": {"type": "integer", "index": 19, "name": "charge_interval_frequency", "comment": null}, "order_day_of_week": {"type": "integer", "index": 20, "name": "order_day_of_week", "comment": null}, "order_day_of_month": {"type": "integer", "index": 21, "name": "order_day_of_month", "comment": null}, "expire_after_specific_number_of_charges": {"type": "integer", "index": 22, "name": "expire_after_specific_number_of_charges", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 23, "name": "updated_at", "comment": null}, "_fivetran_deleted": {"type": "boolean", "index": 24, "name": "_fivetran_deleted", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 25, "name": "_fivetran_synced", "comment": null}}, "stats": {"size": {"id": "size", "label": "Approximate Size", "value": 28000000.0, "include": true, "description": "Approximate size of the table, calculated from a count of 1MB blocks"}, "stats_off": {"id": "stats_off", "label": "Stats Off", "value": 100.0, "include": true, "description": "Number that indicates how stale the table statistics are; 0 is current, 100 is out of date."}, "sortkey1": {"id": "sortkey1", "label": "Sort Key 1", "value": "AUTO(SORTKEY)", "include": true, "description": "First column in the sort key."}, "max_varchar": {"id": "max_varchar", "label": "Max Varchar", "value": 21.0, "include": true, "description": "Size of the largest column that uses a VARCHAR data type."}, "encoded": {"id": "encoded", "label": "Encoded", "value": "Y, AUTO(ENCODE)", "include": true, "description": "Indicates whether any column in the table has compression encoding defined."}, "diststyle": {"id": "diststyle", "label": "Dist Style", "value": "AUTO(ALL)", "include": true, "description": "Distribution style or distribution key column, if key distribution is defined."}, "pct_used": {"id": "pct_used", "label": "Disk Utilization", "value": 7.7e-05, "include": true, "description": "Percent of available space that is used by the table."}, "rows": {"id": "rows", "label": "Approximate Row Count", "value": 2.0, "include": true, "description": "Approximate number of rows in the table. This value includes rows marked for deletion, but not yet vacuumed."}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.recharge_integration_tests.subscription_data"}, "model.recharge.int_recharge__calendar_spine": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03_recharge", "name": "int_recharge__calendar_spine", "database": "redshift-test-kristin", "comment": null, "owner": "awsuser"}, "columns": {"date_day": {"type": "timestamp without time zone", "index": 1, "name": "date_day", "comment": null}}, "stats": {"size": {"id": "size", "label": "Approximate Size", "value": 8000000.0, "include": true, "description": "Approximate size of the table, calculated from a count of 1MB blocks"}, "stats_off": {"id": "stats_off", "label": "Stats Off", "value": 0.0, "include": true, "description": "Number that indicates how stale the table statistics are; 0 is current, 100 is out of date."}, "sortkey1": {"id": "sortkey1", "label": "Sort Key 1", "value": "AUTO(SORTKEY)", "include": true, "description": "First column in the sort key."}, "max_varchar": {"id": "max_varchar", "label": "Max Varchar", "value": 0.0, "include": true, "description": "Size of the largest column that uses a VARCHAR data type."}, "encoded": {"id": "encoded", "label": "Encoded", "value": "Y, AUTO(ENCODE)", "include": true, "description": "Indicates whether any column in the table has compression encoding defined."}, "diststyle": {"id": "diststyle", "label": "Dist Style", "value": "AUTO(EVEN)", "include": true, "description": "Distribution style or distribution key column, if key distribution is defined."}, "pct_used": {"id": "pct_used", "label": "Disk Utilization", "value": 2.2e-05, "include": true, "description": "Percent of available space that is used by the table."}, "rows": {"id": "rows", "label": "Approximate Row Count", "value": 61.0, "include": true, "description": "Approximate number of rows in the table. This value includes rows marked for deletion, but not yet vacuumed."}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.recharge.int_recharge__calendar_spine"}, "model.recharge_source.stg_recharge__address": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03_recharge_source", "name": "stg_recharge__address", "database": "redshift-test-kristin", "comment": null, "owner": "awsuser"}, "columns": {"address_id": {"type": "bigint", "index": 1, "name": "address_id", "comment": null}, "customer_id": {"type": "bigint", "index": 2, "name": "customer_id", "comment": null}, "first_name": {"type": "character varying(7)", "index": 3, "name": "first_name", "comment": null}, "last_name": {"type": "character varying(6)", "index": 4, "name": "last_name", "comment": null}, "address_created_at": {"type": "timestamp without time zone", "index": 5, "name": "address_created_at", "comment": null}, "address_updated_at": {"type": "timestamp without time zone", "index": 6, "name": "address_updated_at", "comment": null}, "address_line_1": {"type": "character varying(17)", "index": 7, "name": "address_line_1", "comment": null}, "address_line_2": {"type": "character varying(17)", "index": 8, "name": "address_line_2", "comment": null}, "city": {"type": "character varying(6)", "index": 9, "name": "city", "comment": null}, "province": {"type": "integer", "index": 10, "name": "province", "comment": null}, "zip": {"type": "character varying(5)", "index": 11, "name": "zip", "comment": null}, "country_code": {"type": "character varying(9)", "index": 12, "name": "country_code", "comment": null}, "company": {"type": "integer", "index": 13, "name": "company", "comment": null}, "phone": {"type": "character varying(7)", "index": 14, "name": "phone", "comment": null}}, "stats": {"size": {"id": "size", "label": "Approximate Size", "value": 34000000.0, "include": true, "description": "Approximate size of the table, calculated from a count of 1MB blocks"}, "stats_off": {"id": "stats_off", "label": "Stats Off", "value": 0.0, "include": true, "description": "Number that indicates how stale the table statistics are; 0 is current, 100 is out of date."}, "sortkey1": {"id": "sortkey1", "label": "Sort Key 1", "value": "AUTO(SORTKEY)", "include": true, "description": "First column in the sort key."}, "max_varchar": {"id": "max_varchar", "label": "Max Varchar", "value": 17.0, "include": true, "description": "Size of the largest column that uses a VARCHAR data type."}, "encoded": {"id": "encoded", "label": "Encoded", "value": "Y, AUTO(ENCODE)", "include": true, "description": "Indicates whether any column in the table has compression encoding defined."}, "diststyle": {"id": "diststyle", "label": "Dist Style", "value": "AUTO(EVEN)", "include": true, "description": "Distribution style or distribution key column, if key distribution is defined."}, "pct_used": {"id": "pct_used", "label": "Disk Utilization", "value": 9.3e-05, "include": true, "description": "Percent of available space that is used by the table."}, "rows": {"id": "rows", "label": "Approximate Row Count", "value": 2.0, "include": true, "description": "Approximate number of rows in the table. This value includes rows marked for deletion, but not yet vacuumed."}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.recharge_source.stg_recharge__address"}, "model.recharge_source.stg_recharge__charge_line_item": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03_recharge_source", "name": "stg_recharge__charge_line_item", "database": "redshift-test-kristin", "comment": null, "owner": "awsuser"}, "columns": {"charge_id": {"type": "bigint", "index": 1, "name": "charge_id", "comment": null}, "index": {"type": "integer", "index": 2, "name": "index", "comment": null}, "vendor": {"type": "character varying(12)", "index": 3, "name": "vendor", "comment": null}, "title": {"type": "character varying(8)", "index": 4, "name": "title", "comment": null}, "variant_title": {"type": "character varying(16)", "index": 5, "name": "variant_title", "comment": null}, "sku": {"type": "character varying(5)", "index": 6, "name": "sku", "comment": null}, "grams": {"type": "integer", "index": 7, "name": "grams", "comment": null}, "quantity": {"type": "integer", "index": 8, "name": "quantity", "comment": null}, "total_price": {"type": "double precision", "index": 9, "name": "total_price", "comment": null}, "unit_price": {"type": "double precision", "index": 10, "name": "unit_price", "comment": null}, "tax_due": {"type": "integer", "index": 11, "name": "tax_due", "comment": null}, "taxable": {"type": "boolean", "index": 12, "name": "taxable", "comment": null}, "taxable_amount": {"type": "integer", "index": 13, "name": "taxable_amount", "comment": null}, "unit_price_includes_tax": {"type": "boolean", "index": 14, "name": "unit_price_includes_tax", "comment": null}, "external_product_id_ecommerce": {"type": "bigint", "index": 15, "name": "external_product_id_ecommerce", "comment": null}, "external_variant_id_ecommerce": {"type": "bigint", "index": 16, "name": "external_variant_id_ecommerce", "comment": null}, "purchase_item_id": {"type": "integer", "index": 17, "name": "purchase_item_id", "comment": null}, "purchase_item_type": {"type": "character varying(5)", "index": 18, "name": "purchase_item_type", "comment": null}}, "stats": {"size": {"id": "size", "label": "Approximate Size", "value": 42000000.0, "include": true, "description": "Approximate size of the table, calculated from a count of 1MB blocks"}, "stats_off": {"id": "stats_off", "label": "Stats Off", "value": 0.0, "include": true, "description": "Number that indicates how stale the table statistics are; 0 is current, 100 is out of date."}, "sortkey1": {"id": "sortkey1", "label": "Sort Key 1", "value": "AUTO(SORTKEY)", "include": true, "description": "First column in the sort key."}, "max_varchar": {"id": "max_varchar", "label": "Max Varchar", "value": 16.0, "include": true, "description": "Size of the largest column that uses a VARCHAR data type."}, "encoded": {"id": "encoded", "label": "Encoded", "value": "Y, AUTO(ENCODE)", "include": true, "description": "Indicates whether any column in the table has compression encoding defined."}, "diststyle": {"id": "diststyle", "label": "Dist Style", "value": "AUTO(EVEN)", "include": true, "description": "Distribution style or distribution key column, if key distribution is defined."}, "pct_used": {"id": "pct_used", "label": "Disk Utilization", "value": 0.000116, "include": true, "description": "Percent of available space that is used by the table."}, "rows": {"id": "rows", "label": "Approximate Row Count", "value": 2.0, "include": true, "description": "Approximate number of rows in the table. This value includes rows marked for deletion, but not yet vacuumed."}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.recharge_source.stg_recharge__charge_line_item"}, "model.recharge_source.stg_recharge__address_shipping_line": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03_recharge_source", "name": "stg_recharge__address_shipping_line", "database": "redshift-test-kristin", "comment": null, "owner": "awsuser"}, "columns": {"address_id": {"type": "bigint", "index": 1, "name": "address_id", "comment": null}, "index": {"type": "integer", "index": 2, "name": "index", "comment": null}, "price": {"type": "double precision", "index": 3, "name": "price", "comment": null}, "code": {"type": "character varying(6)", "index": 4, "name": "code", "comment": null}, "title": {"type": "character varying(7)", "index": 5, "name": "title", "comment": null}}, "stats": {"size": {"id": "size", "label": "Approximate Size", "value": 16000000.0, "include": true, "description": "Approximate size of the table, calculated from a count of 1MB blocks"}, "stats_off": {"id": "stats_off", "label": "Stats Off", "value": 0.0, "include": true, "description": "Number that indicates how stale the table statistics are; 0 is current, 100 is out of date."}, "sortkey1": {"id": "sortkey1", "label": "Sort Key 1", "value": "AUTO(SORTKEY)", "include": true, "description": "First column in the sort key."}, "max_varchar": {"id": "max_varchar", "label": "Max Varchar", "value": 7.0, "include": true, "description": "Size of the largest column that uses a VARCHAR data type."}, "encoded": {"id": "encoded", "label": "Encoded", "value": "Y, AUTO(ENCODE)", "include": true, "description": "Indicates whether any column in the table has compression encoding defined."}, "diststyle": {"id": "diststyle", "label": "Dist Style", "value": "AUTO(EVEN)", "include": true, "description": "Distribution style or distribution key column, if key distribution is defined."}, "pct_used": {"id": "pct_used", "label": "Disk Utilization", "value": 4.4e-05, "include": true, "description": "Percent of available space that is used by the table."}, "rows": {"id": "rows", "label": "Approximate Row Count", "value": 2.0, "include": true, "description": "Approximate number of rows in the table. This value includes rows marked for deletion, but not yet vacuumed."}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.recharge_source.stg_recharge__address_shipping_line"}, "model.recharge_source.stg_recharge__charge_order_attribute": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03_recharge_source", "name": "stg_recharge__charge_order_attribute", "database": "redshift-test-kristin", "comment": null, "owner": "awsuser"}, "columns": {"charge_id": {"type": "bigint", "index": 1, "name": "charge_id", "comment": null}, "index": {"type": "integer", "index": 2, "name": "index", "comment": null}, "order_attribute": {"type": "character varying(173)", "index": 3, "name": "order_attribute", "comment": null}}, "stats": {"size": {"id": "size", "label": "Approximate Size", "value": 12000000.0, "include": true, "description": "Approximate size of the table, calculated from a count of 1MB blocks"}, "stats_off": {"id": "stats_off", "label": "Stats Off", "value": 0.0, "include": true, "description": "Number that indicates how stale the table statistics are; 0 is current, 100 is out of date."}, "sortkey1": {"id": "sortkey1", "label": "Sort Key 1", "value": "AUTO(SORTKEY)", "include": true, "description": "First column in the sort key."}, "max_varchar": {"id": "max_varchar", "label": "Max Varchar", "value": 173.0, "include": true, "description": "Size of the largest column that uses a VARCHAR data type."}, "encoded": {"id": "encoded", "label": "Encoded", "value": "Y, AUTO(ENCODE)", "include": true, "description": "Indicates whether any column in the table has compression encoding defined."}, "diststyle": {"id": "diststyle", "label": "Dist Style", "value": "AUTO(EVEN)", "include": true, "description": "Distribution style or distribution key column, if key distribution is defined."}, "pct_used": {"id": "pct_used", "label": "Disk Utilization", "value": 3.3e-05, "include": true, "description": "Percent of available space that is used by the table."}, "rows": {"id": "rows", "label": "Approximate Row Count", "value": 2.0, "include": true, "description": "Approximate number of rows in the table. This value includes rows marked for deletion, but not yet vacuumed."}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.recharge_source.stg_recharge__charge_order_attribute"}, "model.recharge_source.stg_recharge__charge_shipping_line": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03_recharge_source", "name": "stg_recharge__charge_shipping_line", "database": "redshift-test-kristin", "comment": null, "owner": "awsuser"}, "columns": {"charge_id": {"type": "bigint", "index": 1, "name": "charge_id", "comment": null}, "index": {"type": "integer", "index": 2, "name": "index", "comment": null}, "price": {"type": "double precision", "index": 3, "name": "price", "comment": null}, "code": {"type": "character varying(7)", "index": 4, "name": "code", "comment": null}, "title": {"type": "character varying(8)", "index": 5, "name": "title", "comment": null}}, "stats": {"size": {"id": "size", "label": "Approximate Size", "value": 16000000.0, "include": true, "description": "Approximate size of the table, calculated from a count of 1MB blocks"}, "stats_off": {"id": "stats_off", "label": "Stats Off", "value": 0.0, "include": true, "description": "Number that indicates how stale the table statistics are; 0 is current, 100 is out of date."}, "sortkey1": {"id": "sortkey1", "label": "Sort Key 1", "value": "AUTO(SORTKEY)", "include": true, "description": "First column in the sort key."}, "max_varchar": {"id": "max_varchar", "label": "Max Varchar", "value": 8.0, "include": true, "description": "Size of the largest column that uses a VARCHAR data type."}, "encoded": {"id": "encoded", "label": "Encoded", "value": "Y, AUTO(ENCODE)", "include": true, "description": "Indicates whether any column in the table has compression encoding defined."}, "diststyle": {"id": "diststyle", "label": "Dist Style", "value": "AUTO(EVEN)", "include": true, "description": "Distribution style or distribution key column, if key distribution is defined."}, "pct_used": {"id": "pct_used", "label": "Disk Utilization", "value": 4.4e-05, "include": true, "description": "Percent of available space that is used by the table."}, "rows": {"id": "rows", "label": "Approximate Row Count", "value": 2.0, "include": true, "description": "Approximate number of rows in the table. This value includes rows marked for deletion, but not yet vacuumed."}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.recharge_source.stg_recharge__charge_shipping_line"}, "model.recharge_source.stg_recharge__address_discounts": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03_recharge_source", "name": "stg_recharge__address_discounts", "database": "redshift-test-kristin", "comment": null, "owner": "awsuser"}, "columns": {"discount_id": {"type": "bigint", "index": 1, "name": "discount_id", "comment": null}, "address_id": {"type": "bigint", "index": 2, "name": "address_id", "comment": null}, "index": {"type": "integer", "index": 3, "name": "index", "comment": null}}, "stats": {"size": {"id": "size", "label": "Approximate Size", "value": 12000000.0, "include": true, "description": "Approximate size of the table, calculated from a count of 1MB blocks"}, "stats_off": {"id": "stats_off", "label": "Stats Off", "value": 0.0, "include": true, "description": "Number that indicates how stale the table statistics are; 0 is current, 100 is out of date."}, "sortkey1": {"id": "sortkey1", "label": "Sort Key 1", "value": "AUTO(SORTKEY)", "include": true, "description": "First column in the sort key."}, "max_varchar": {"id": "max_varchar", "label": "Max Varchar", "value": 0.0, "include": true, "description": "Size of the largest column that uses a VARCHAR data type."}, "encoded": {"id": "encoded", "label": "Encoded", "value": "Y, AUTO(ENCODE)", "include": true, "description": "Indicates whether any column in the table has compression encoding defined."}, "diststyle": {"id": "diststyle", "label": "Dist Style", "value": "AUTO(EVEN)", "include": true, "description": "Distribution style or distribution key column, if key distribution is defined."}, "pct_used": {"id": "pct_used", "label": "Disk Utilization", "value": 3.3e-05, "include": true, "description": "Percent of available space that is used by the table."}, "rows": {"id": "rows", "label": "Approximate Row Count", "value": 2.0, "include": true, "description": "Approximate number of rows in the table. This value includes rows marked for deletion, but not yet vacuumed."}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.recharge_source.stg_recharge__address_discounts"}, "model.recharge_source.stg_recharge__charge_discount": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03_recharge_source", "name": "stg_recharge__charge_discount", "database": "redshift-test-kristin", "comment": null, "owner": "awsuser"}, "columns": {"charge_id": {"type": "bigint", "index": 1, "name": "charge_id", "comment": null}, "index": {"type": "integer", "index": 2, "name": "index", "comment": null}, "discount_id": {"type": "bigint", "index": 3, "name": "discount_id", "comment": null}, "code": {"type": "character varying(6)", "index": 4, "name": "code", "comment": null}, "discount_value": {"type": "double precision", "index": 5, "name": "discount_value", "comment": null}, "value_type": {"type": "character varying(10)", "index": 6, "name": "value_type", "comment": null}}, "stats": {"size": {"id": "size", "label": "Approximate Size", "value": 18000000.0, "include": true, "description": "Approximate size of the table, calculated from a count of 1MB blocks"}, "stats_off": {"id": "stats_off", "label": "Stats Off", "value": 0.0, "include": true, "description": "Number that indicates how stale the table statistics are; 0 is current, 100 is out of date."}, "sortkey1": {"id": "sortkey1", "label": "Sort Key 1", "value": "AUTO(SORTKEY)", "include": true, "description": "First column in the sort key."}, "max_varchar": {"id": "max_varchar", "label": "Max Varchar", "value": 10.0, "include": true, "description": "Size of the largest column that uses a VARCHAR data type."}, "encoded": {"id": "encoded", "label": "Encoded", "value": "Y, AUTO(ENCODE)", "include": true, "description": "Indicates whether any column in the table has compression encoding defined."}, "diststyle": {"id": "diststyle", "label": "Dist Style", "value": "AUTO(EVEN)", "include": true, "description": "Distribution style or distribution key column, if key distribution is defined."}, "pct_used": {"id": "pct_used", "label": "Disk Utilization", "value": 4.9e-05, "include": true, "description": "Percent of available space that is used by the table."}, "rows": {"id": "rows", "label": "Approximate Row Count", "value": 2.0, "include": true, "description": "Approximate number of rows in the table. This value includes rows marked for deletion, but not yet vacuumed."}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.recharge_source.stg_recharge__charge_discount"}, "model.recharge_source.stg_recharge__charge_tax_line": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03_recharge_source", "name": "stg_recharge__charge_tax_line", "database": "redshift-test-kristin", "comment": null, "owner": "awsuser"}, "columns": {"charge_id": {"type": "bigint", "index": 1, "name": "charge_id", "comment": null}, "index": {"type": "integer", "index": 2, "name": "index", "comment": null}, "price": {"type": "double precision", "index": 3, "name": "price", "comment": null}, "rate": {"type": "double precision", "index": 4, "name": "rate", "comment": null}, "title": {"type": "character varying(8)", "index": 5, "name": "title", "comment": null}}, "stats": {"size": {"id": "size", "label": "Approximate Size", "value": 16000000.0, "include": true, "description": "Approximate size of the table, calculated from a count of 1MB blocks"}, "stats_off": {"id": "stats_off", "label": "Stats Off", "value": 0.0, "include": true, "description": "Number that indicates how stale the table statistics are; 0 is current, 100 is out of date."}, "sortkey1": {"id": "sortkey1", "label": "Sort Key 1", "value": "AUTO(SORTKEY)", "include": true, "description": "First column in the sort key."}, "max_varchar": {"id": "max_varchar", "label": "Max Varchar", "value": 8.0, "include": true, "description": "Size of the largest column that uses a VARCHAR data type."}, "encoded": {"id": "encoded", "label": "Encoded", "value": "Y, AUTO(ENCODE)", "include": true, "description": "Indicates whether any column in the table has compression encoding defined."}, "diststyle": {"id": "diststyle", "label": "Dist Style", "value": "AUTO(EVEN)", "include": true, "description": "Distribution style or distribution key column, if key distribution is defined."}, "pct_used": {"id": "pct_used", "label": "Disk Utilization", "value": 4.4e-05, "include": true, "description": "Percent of available space that is used by the table."}, "rows": {"id": "rows", "label": "Approximate Row Count", "value": 2.0, "include": true, "description": "Approximate number of rows in the table. This value includes rows marked for deletion, but not yet vacuumed."}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.recharge_source.stg_recharge__charge_tax_line"}, "model.recharge_source.stg_recharge__charge": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03_recharge_source", "name": "stg_recharge__charge", "database": "redshift-test-kristin", "comment": null, "owner": "awsuser"}, "columns": {"charge_id": {"type": "bigint", "index": 1, "name": "charge_id", "comment": null}, "customer_id": {"type": "bigint", "index": 2, "name": "customer_id", "comment": null}, "customer_hash": {"type": "character varying(31)", "index": 3, "name": "customer_hash", "comment": null}, "email": {"type": "character varying(19)", "index": 4, "name": "email", "comment": null}, "charge_created_at": {"type": "timestamp without time zone", "index": 5, "name": "charge_created_at", "comment": null}, "charge_type": {"type": "character varying(9)", "index": 6, "name": "charge_type", "comment": null}, "charge_status": {"type": "character varying(6)", "index": 7, "name": "charge_status", "comment": null}, "charge_updated_at": {"type": "timestamp without time zone", "index": 8, "name": "charge_updated_at", "comment": null}, "note": {"type": "character varying(25)", "index": 9, "name": "note", "comment": null}, "subtotal_price": {"type": "double precision", "index": 10, "name": "subtotal_price", "comment": null}, "tax_lines": {"type": "double precision", "index": 11, "name": "tax_lines", "comment": null}, "total_discounts": {"type": "integer", "index": 12, "name": "total_discounts", "comment": null}, "total_line_items_price": {"type": "double precision", "index": 13, "name": "total_line_items_price", "comment": null}, "total_tax": {"type": "double precision", "index": 14, "name": "total_tax", "comment": null}, "total_price": {"type": "double precision", "index": 15, "name": "total_price", "comment": null}, "total_refunds": {"type": "integer", "index": 16, "name": "total_refunds", "comment": null}, "total_weight_grams": {"type": "integer", "index": 17, "name": "total_weight_grams", "comment": null}, "charge_scheduled_at": {"type": "timestamp without time zone", "index": 18, "name": "charge_scheduled_at", "comment": null}, "charge_processed_at": {"type": "timestamp without time zone", "index": 19, "name": "charge_processed_at", "comment": null}, "payment_processor": {"type": "character varying(9)", "index": 20, "name": "payment_processor", "comment": null}, "external_transaction_id_payment_processor": {"type": "integer", "index": 21, "name": "external_transaction_id_payment_processor", "comment": null}, "external_order_id_ecommerce": {"type": "integer", "index": 22, "name": "external_order_id_ecommerce", "comment": null}, "orders_count": {"type": "integer", "index": 23, "name": "orders_count", "comment": null}, "has_uncommitted_changes": {"type": "boolean", "index": 24, "name": "has_uncommitted_changes", "comment": null}, "retry_date": {"type": "timestamp without time zone", "index": 25, "name": "retry_date", "comment": null}, "error_type": {"type": "integer", "index": 26, "name": "error_type", "comment": null}, "times_retried": {"type": "integer", "index": 27, "name": "times_retried", "comment": null}, "address_id": {"type": "bigint", "index": 28, "name": "address_id", "comment": null}, "client_details_browser_ip": {"type": "integer", "index": 29, "name": "client_details_browser_ip", "comment": null}, "client_details_user_agent": {"type": "integer", "index": 30, "name": "client_details_user_agent", "comment": null}, "tags": {"type": "character varying(42)", "index": 31, "name": "tags", "comment": null}, "error": {"type": "integer", "index": 32, "name": "error", "comment": null}, "external_variant_id_not_found": {"type": "integer", "index": 33, "name": "external_variant_id_not_found", "comment": null}}, "stats": {"size": {"id": "size", "label": "Approximate Size", "value": 72000000.0, "include": true, "description": "Approximate size of the table, calculated from a count of 1MB blocks"}, "stats_off": {"id": "stats_off", "label": "Stats Off", "value": 0.0, "include": true, "description": "Number that indicates how stale the table statistics are; 0 is current, 100 is out of date."}, "sortkey1": {"id": "sortkey1", "label": "Sort Key 1", "value": "AUTO(SORTKEY)", "include": true, "description": "First column in the sort key."}, "max_varchar": {"id": "max_varchar", "label": "Max Varchar", "value": 42.0, "include": true, "description": "Size of the largest column that uses a VARCHAR data type."}, "encoded": {"id": "encoded", "label": "Encoded", "value": "Y, AUTO(ENCODE)", "include": true, "description": "Indicates whether any column in the table has compression encoding defined."}, "diststyle": {"id": "diststyle", "label": "Dist Style", "value": "AUTO(EVEN)", "include": true, "description": "Distribution style or distribution key column, if key distribution is defined."}, "pct_used": {"id": "pct_used", "label": "Disk Utilization", "value": 0.000198, "include": true, "description": "Percent of available space that is used by the table."}, "rows": {"id": "rows", "label": "Approximate Row Count", "value": 2.0, "include": true, "description": "Approximate number of rows in the table. This value includes rows marked for deletion, but not yet vacuumed."}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.recharge_source.stg_recharge__charge"}, "model.recharge_source.stg_recharge__customer": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03_recharge_source", "name": "stg_recharge__customer", "database": "redshift-test-kristin", "comment": null, "owner": "awsuser"}, "columns": {"customer_id": {"type": "bigint", "index": 1, "name": "customer_id", "comment": null}, "customer_hash": {"type": "character varying(31)", "index": 2, "name": "customer_hash", "comment": null}, "external_customer_id_ecommerce": {"type": "integer", "index": 3, "name": "external_customer_id_ecommerce", "comment": null}, "email": {"type": "character varying(19)", "index": 4, "name": "email", "comment": null}, "first_name": {"type": "character varying(7)", "index": 5, "name": "first_name", "comment": null}, "last_name": {"type": "character varying(6)", "index": 6, "name": "last_name", "comment": null}, "customer_created_at": {"type": "timestamp without time zone", "index": 7, "name": "customer_created_at", "comment": null}, "customer_updated_at": {"type": "timestamp without time zone", "index": 8, "name": "customer_updated_at", "comment": null}, "first_charge_processed_at": {"type": "timestamp without time zone", "index": 9, "name": "first_charge_processed_at", "comment": null}, "subscriptions_active_count": {"type": "integer", "index": 10, "name": "subscriptions_active_count", "comment": null}, "subscriptions_total_count": {"type": "integer", "index": 11, "name": "subscriptions_total_count", "comment": null}, "has_valid_payment_method": {"type": "boolean", "index": 12, "name": "has_valid_payment_method", "comment": null}, "has_payment_method_in_dunning": {"type": "boolean", "index": 13, "name": "has_payment_method_in_dunning", "comment": null}, "tax_exempt": {"type": "boolean", "index": 14, "name": "tax_exempt", "comment": null}}, "stats": {"size": {"id": "size", "label": "Approximate Size", "value": 34000000.0, "include": true, "description": "Approximate size of the table, calculated from a count of 1MB blocks"}, "stats_off": {"id": "stats_off", "label": "Stats Off", "value": 0.0, "include": true, "description": "Number that indicates how stale the table statistics are; 0 is current, 100 is out of date."}, "sortkey1": {"id": "sortkey1", "label": "Sort Key 1", "value": "AUTO(SORTKEY)", "include": true, "description": "First column in the sort key."}, "max_varchar": {"id": "max_varchar", "label": "Max Varchar", "value": 31.0, "include": true, "description": "Size of the largest column that uses a VARCHAR data type."}, "encoded": {"id": "encoded", "label": "Encoded", "value": "Y, AUTO(ENCODE)", "include": true, "description": "Indicates whether any column in the table has compression encoding defined."}, "diststyle": {"id": "diststyle", "label": "Dist Style", "value": "AUTO(EVEN)", "include": true, "description": "Distribution style or distribution key column, if key distribution is defined."}, "pct_used": {"id": "pct_used", "label": "Disk Utilization", "value": 9.3e-05, "include": true, "description": "Percent of available space that is used by the table."}, "rows": {"id": "rows", "label": "Approximate Row Count", "value": 2.0, "include": true, "description": "Approximate number of rows in the table. This value includes rows marked for deletion, but not yet vacuumed."}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.recharge_source.stg_recharge__customer"}, "model.recharge_source.stg_recharge__discount": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03_recharge_source", "name": "stg_recharge__discount", "database": "redshift-test-kristin", "comment": null, "owner": "awsuser"}, "columns": {"discount_id": {"type": "bigint", "index": 1, "name": "discount_id", "comment": null}, "discount_created_at": {"type": "timestamp without time zone", "index": 2, "name": "discount_created_at", "comment": null}, "discount_updated_at": {"type": "timestamp without time zone", "index": 3, "name": "discount_updated_at", "comment": null}, "discount_starts_at": {"type": "timestamp without time zone", "index": 4, "name": "discount_starts_at", "comment": null}, "discount_ends_at": {"type": "timestamp without time zone", "index": 5, "name": "discount_ends_at", "comment": null}, "code": {"type": "character varying(6)", "index": 6, "name": "code", "comment": null}, "value": {"type": "integer", "index": 7, "name": "value", "comment": null}, "status": {"type": "character varying(7)", "index": 8, "name": "status", "comment": null}, "usage_limits": {"type": "integer", "index": 9, "name": "usage_limits", "comment": null}, "applies_to": {"type": "character varying(21)", "index": 10, "name": "applies_to", "comment": null}, "applies_to_resource": {"type": "character varying(21)", "index": 11, "name": "applies_to_resource", "comment": null}, "applies_to_id": {"type": "bigint", "index": 12, "name": "applies_to_id", "comment": null}, "applies_to_product_type": {"type": "character varying(12)", "index": 13, "name": "applies_to_product_type", "comment": null}, "minimum_order_amount": {"type": "integer", "index": 14, "name": "minimum_order_amount", "comment": null}}, "stats": {"size": {"id": "size", "label": "Approximate Size", "value": 34000000.0, "include": true, "description": "Approximate size of the table, calculated from a count of 1MB blocks"}, "stats_off": {"id": "stats_off", "label": "Stats Off", "value": 0.0, "include": true, "description": "Number that indicates how stale the table statistics are; 0 is current, 100 is out of date."}, "sortkey1": {"id": "sortkey1", "label": "Sort Key 1", "value": "AUTO(SORTKEY)", "include": true, "description": "First column in the sort key."}, "max_varchar": {"id": "max_varchar", "label": "Max Varchar", "value": 21.0, "include": true, "description": "Size of the largest column that uses a VARCHAR data type."}, "encoded": {"id": "encoded", "label": "Encoded", "value": "Y, AUTO(ENCODE)", "include": true, "description": "Indicates whether any column in the table has compression encoding defined."}, "diststyle": {"id": "diststyle", "label": "Dist Style", "value": "AUTO(EVEN)", "include": true, "description": "Distribution style or distribution key column, if key distribution is defined."}, "pct_used": {"id": "pct_used", "label": "Disk Utilization", "value": 9.3e-05, "include": true, "description": "Percent of available space that is used by the table."}, "rows": {"id": "rows", "label": "Approximate Row Count", "value": 2.0, "include": true, "description": "Approximate number of rows in the table. This value includes rows marked for deletion, but not yet vacuumed."}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.recharge_source.stg_recharge__discount"}, "model.recharge_source.stg_recharge__one_time_product": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03_recharge_source", "name": "stg_recharge__one_time_product", "database": "redshift-test-kristin", "comment": null, "owner": "awsuser"}, "columns": {"one_time_product_id": {"type": "bigint", "index": 1, "name": "one_time_product_id", "comment": null}, "address_id": {"type": "bigint", "index": 2, "name": "address_id", "comment": null}, "customer_id": {"type": "bigint", "index": 3, "name": "customer_id", "comment": null}, "is_deleted": {"type": "boolean", "index": 4, "name": "is_deleted", "comment": null}, "one_time_created_at": {"type": "timestamp without time zone", "index": 5, "name": "one_time_created_at", "comment": null}, "one_time_updated_at": {"type": "timestamp without time zone", "index": 6, "name": "one_time_updated_at", "comment": null}, "one_time_next_charge_scheduled_at": {"type": "timestamp without time zone", "index": 7, "name": "one_time_next_charge_scheduled_at", "comment": null}, "product_title": {"type": "character varying(16)", "index": 8, "name": "product_title", "comment": null}, "variant_title": {"type": "integer", "index": 9, "name": "variant_title", "comment": null}, "price": {"type": "integer", "index": 10, "name": "price", "comment": null}, "quantity": {"type": "integer", "index": 11, "name": "quantity", "comment": null}, "external_product_id_ecommerce": {"type": "bigint", "index": 12, "name": "external_product_id_ecommerce", "comment": null}, "external_variant_id_ecommerce": {"type": "bigint", "index": 13, "name": "external_variant_id_ecommerce", "comment": null}, "sku": {"type": "integer", "index": 14, "name": "sku", "comment": null}}, "stats": {"size": {"id": "size", "label": "Approximate Size", "value": 34000000.0, "include": true, "description": "Approximate size of the table, calculated from a count of 1MB blocks"}, "stats_off": {"id": "stats_off", "label": "Stats Off", "value": 0.0, "include": true, "description": "Number that indicates how stale the table statistics are; 0 is current, 100 is out of date."}, "sortkey1": {"id": "sortkey1", "label": "Sort Key 1", "value": "AUTO(SORTKEY)", "include": true, "description": "First column in the sort key."}, "max_varchar": {"id": "max_varchar", "label": "Max Varchar", "value": 16.0, "include": true, "description": "Size of the largest column that uses a VARCHAR data type."}, "encoded": {"id": "encoded", "label": "Encoded", "value": "Y, AUTO(ENCODE)", "include": true, "description": "Indicates whether any column in the table has compression encoding defined."}, "diststyle": {"id": "diststyle", "label": "Dist Style", "value": "AUTO(EVEN)", "include": true, "description": "Distribution style or distribution key column, if key distribution is defined."}, "pct_used": {"id": "pct_used", "label": "Disk Utilization", "value": 9.3e-05, "include": true, "description": "Percent of available space that is used by the table."}, "rows": {"id": "rows", "label": "Approximate Row Count", "value": 2.0, "include": true, "description": "Approximate number of rows in the table. This value includes rows marked for deletion, but not yet vacuumed."}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.recharge_source.stg_recharge__one_time_product"}, "model.recharge_source.stg_recharge__order_line_item": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03_recharge_source", "name": "stg_recharge__order_line_item", "database": "redshift-test-kristin", "comment": null, "owner": "awsuser"}, "columns": {"order_id": {"type": "integer", "index": 1, "name": "order_id", "comment": null}, "index": {"type": "integer", "index": 2, "name": "index", "comment": null}, "external_product_id_ecommerce": {"type": "bigint", "index": 3, "name": "external_product_id_ecommerce", "comment": null}, "external_variant_id_ecommerce": {"type": "bigint", "index": 4, "name": "external_variant_id_ecommerce", "comment": null}, "order_line_item_title": {"type": "character varying(7)", "index": 5, "name": "order_line_item_title", "comment": null}, "product_variant_title": {"type": "character varying(43)", "index": 6, "name": "product_variant_title", "comment": null}, "sku": {"type": "character varying(5)", "index": 7, "name": "sku", "comment": null}, "quantity": {"type": "integer", "index": 8, "name": "quantity", "comment": null}, "grams": {"type": "integer", "index": 9, "name": "grams", "comment": null}, "total_price": {"type": "double precision", "index": 10, "name": "total_price", "comment": null}, "unit_price": {"type": "double precision", "index": 11, "name": "unit_price", "comment": null}, "tax_due": {"type": "integer", "index": 12, "name": "tax_due", "comment": null}, "taxable": {"type": "boolean", "index": 13, "name": "taxable", "comment": null}, "taxable_amount": {"type": "integer", "index": 14, "name": "taxable_amount", "comment": null}, "unit_price_includes_tax": {"type": "boolean", "index": 15, "name": "unit_price_includes_tax", "comment": null}, "purchase_item_id": {"type": "integer", "index": 16, "name": "purchase_item_id", "comment": null}, "purchase_item_type": {"type": "character varying(5)", "index": 17, "name": "purchase_item_type", "comment": null}}, "stats": {"size": {"id": "size", "label": "Approximate Size", "value": 40000000.0, "include": true, "description": "Approximate size of the table, calculated from a count of 1MB blocks"}, "stats_off": {"id": "stats_off", "label": "Stats Off", "value": 0.0, "include": true, "description": "Number that indicates how stale the table statistics are; 0 is current, 100 is out of date."}, "sortkey1": {"id": "sortkey1", "label": "Sort Key 1", "value": "AUTO(SORTKEY)", "include": true, "description": "First column in the sort key."}, "max_varchar": {"id": "max_varchar", "label": "Max Varchar", "value": 43.0, "include": true, "description": "Size of the largest column that uses a VARCHAR data type."}, "encoded": {"id": "encoded", "label": "Encoded", "value": "Y, AUTO(ENCODE)", "include": true, "description": "Indicates whether any column in the table has compression encoding defined."}, "diststyle": {"id": "diststyle", "label": "Dist Style", "value": "AUTO(EVEN)", "include": true, "description": "Distribution style or distribution key column, if key distribution is defined."}, "pct_used": {"id": "pct_used", "label": "Disk Utilization", "value": 0.00011, "include": true, "description": "Percent of available space that is used by the table."}, "rows": {"id": "rows", "label": "Approximate Row Count", "value": 2.0, "include": true, "description": "Approximate number of rows in the table. This value includes rows marked for deletion, but not yet vacuumed."}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.recharge_source.stg_recharge__order_line_item"}, "model.recharge_source.stg_recharge__order": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03_recharge_source", "name": "stg_recharge__order", "database": "redshift-test-kristin", "comment": null, "owner": "awsuser"}, "columns": {"order_id": {"type": "bigint", "index": 1, "name": "order_id", "comment": null}, "external_order_id_ecommerce": {"type": "integer", "index": 2, "name": "external_order_id_ecommerce", "comment": null}, "external_order_number_ecommerce": {"type": "integer", "index": 3, "name": "external_order_number_ecommerce", "comment": null}, "customer_id": {"type": "bigint", "index": 4, "name": "customer_id", "comment": null}, "email": {"type": "character varying(19)", "index": 5, "name": "email", "comment": null}, "order_created_at": {"type": "timestamp without time zone", "index": 6, "name": "order_created_at", "comment": null}, "order_status": {"type": "character varying(7)", "index": 7, "name": "order_status", "comment": null}, "order_updated_at": {"type": "timestamp without time zone", "index": 8, "name": "order_updated_at", "comment": null}, "charge_id": {"type": "bigint", "index": 9, "name": "charge_id", "comment": null}, "transaction_id": {"type": "character varying(28)", "index": 10, "name": "transaction_id", "comment": null}, "charge_status": {"type": "character varying(7)", "index": 11, "name": "charge_status", "comment": null}, "is_prepaid": {"type": "boolean", "index": 12, "name": "is_prepaid", "comment": null}, "order_total_price": {"type": "double precision", "index": 13, "name": "order_total_price", "comment": null}, "order_type": {"type": "character varying(9)", "index": 14, "name": "order_type", "comment": null}, "order_processed_at": {"type": "timestamp without time zone", "index": 15, "name": "order_processed_at", "comment": null}, "order_scheduled_at": {"type": "timestamp without time zone", "index": 16, "name": "order_scheduled_at", "comment": null}, "order_shipped_date": {"type": "timestamp without time zone", "index": 17, "name": "order_shipped_date", "comment": null}, "address_id": {"type": "bigint", "index": 18, "name": "address_id", "comment": null}, "is_deleted": {"type": "boolean", "index": 19, "name": "is_deleted", "comment": null}}, "stats": {"size": {"id": "size", "label": "Approximate Size", "value": 44000000.0, "include": true, "description": "Approximate size of the table, calculated from a count of 1MB blocks"}, "stats_off": {"id": "stats_off", "label": "Stats Off", "value": 0.0, "include": true, "description": "Number that indicates how stale the table statistics are; 0 is current, 100 is out of date."}, "sortkey1": {"id": "sortkey1", "label": "Sort Key 1", "value": "AUTO(SORTKEY)", "include": true, "description": "First column in the sort key."}, "max_varchar": {"id": "max_varchar", "label": "Max Varchar", "value": 28.0, "include": true, "description": "Size of the largest column that uses a VARCHAR data type."}, "encoded": {"id": "encoded", "label": "Encoded", "value": "Y, AUTO(ENCODE)", "include": true, "description": "Indicates whether any column in the table has compression encoding defined."}, "diststyle": {"id": "diststyle", "label": "Dist Style", "value": "AUTO(EVEN)", "include": true, "description": "Distribution style or distribution key column, if key distribution is defined."}, "pct_used": {"id": "pct_used", "label": "Disk Utilization", "value": 0.000121, "include": true, "description": "Percent of available space that is used by the table."}, "rows": {"id": "rows", "label": "Approximate Row Count", "value": 2.0, "include": true, "description": "Approximate number of rows in the table. This value includes rows marked for deletion, but not yet vacuumed."}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.recharge_source.stg_recharge__order"}, "model.recharge.recharge__charge_line_item_history": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03_recharge", "name": "recharge__charge_line_item_history", "database": "redshift-test-kristin", "comment": null, "owner": "awsuser"}, "columns": {"charge_id": {"type": "bigint", "index": 1, "name": "charge_id", "comment": null}, "charge_row_num": {"type": "bigint", "index": 2, "name": "charge_row_num", "comment": null}, "source_index": {"type": "integer", "index": 3, "name": "source_index", "comment": null}, "charge_created_at": {"type": "timestamp without time zone", "index": 4, "name": "charge_created_at", "comment": null}, "customer_id": {"type": "bigint", "index": 5, "name": "customer_id", "comment": null}, "address_id": {"type": "bigint", "index": 6, "name": "address_id", "comment": null}, "amount": {"type": "double precision", "index": 7, "name": "amount", "comment": null}, "title": {"type": "character varying(13)", "index": 8, "name": "title", "comment": null}, "line_item_type": {"type": "character varying(11)", "index": 9, "name": "line_item_type", "comment": null}}, "stats": {"size": {"id": "size", "label": "Approximate Size", "value": 24000000.0, "include": true, "description": "Approximate size of the table, calculated from a count of 1MB blocks"}, "stats_off": {"id": "stats_off", "label": "Stats Off", "value": 0.0, "include": true, "description": "Number that indicates how stale the table statistics are; 0 is current, 100 is out of date."}, "sortkey_num": {"id": "sortkey_num", "label": "# Sort Keys", "value": 3.0, "include": true, "description": "Number of columns defined as sort keys."}, "sortkey1": {"id": "sortkey1", "label": "Sort Key 1", "value": "AUTO(SORTKEY(charge_id))", "include": true, "description": "First column in the sort key."}, "unsorted": {"id": "unsorted", "label": "Unsorted %", "value": 0.0, "include": true, "description": "Percent of unsorted rows in the table."}, "max_varchar": {"id": "max_varchar", "label": "Max Varchar", "value": 13.0, "include": true, "description": "Size of the largest column that uses a VARCHAR data type."}, "encoded": {"id": "encoded", "label": "Encoded", "value": "Y, AUTO(ENCODE)", "include": true, "description": "Indicates whether any column in the table has compression encoding defined."}, "diststyle": {"id": "diststyle", "label": "Dist Style", "value": "AUTO(KEY(charge_id))", "include": true, "description": "Distribution style or distribution key column, if key distribution is defined."}, "pct_used": {"id": "pct_used", "label": "Disk Utilization", "value": 6.6e-05, "include": true, "description": "Percent of available space that is used by the table."}, "skew_rows": {"id": "skew_rows", "label": "Skew Rows", "value": 100.0, "include": true, "description": "Ratio of the number of rows in the slice with the most rows to the number of rows in the slice with the fewest rows."}, "skew_sortkey1": {"id": "skew_sortkey1", "label": "Sort Key Skew", "value": 1.0, "include": true, "description": "Ratio of the size of the largest non-sort key column to the size of the first column of the sort key."}, "rows": {"id": "rows", "label": "Approximate Row Count", "value": 8.0, "include": true, "description": "Approximate number of rows in the table. This value includes rows marked for deletion, but not yet vacuumed."}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.recharge.recharge__charge_line_item_history"}, "model.recharge_source.stg_recharge__subscription_history": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03_recharge_source", "name": "stg_recharge__subscription_history", "database": "redshift-test-kristin", "comment": null, "owner": "awsuser"}, "columns": {"subscription_id": {"type": "bigint", "index": 1, "name": "subscription_id", "comment": null}, "customer_id": {"type": "bigint", "index": 2, "name": "customer_id", "comment": null}, "address_id": {"type": "bigint", "index": 3, "name": "address_id", "comment": null}, "subscription_created_at": {"type": "timestamp without time zone", "index": 4, "name": "subscription_created_at", "comment": null}, "external_product_id_ecommerce": {"type": "bigint", "index": 5, "name": "external_product_id_ecommerce", "comment": null}, "external_variant_id_ecommerce": {"type": "bigint", "index": 6, "name": "external_variant_id_ecommerce", "comment": null}, "product_title": {"type": "character varying(16)", "index": 7, "name": "product_title", "comment": null}, "variant_title": {"type": "character varying(43)", "index": 8, "name": "variant_title", "comment": null}, "sku": {"type": "character varying(5)", "index": 9, "name": "sku", "comment": null}, "price": {"type": "double precision", "index": 10, "name": "price", "comment": null}, "quantity": {"type": "integer", "index": 11, "name": "quantity", "comment": null}, "subscription_status": {"type": "character varying(9)", "index": 12, "name": "subscription_status", "comment": null}, "charge_interval_frequency": {"type": "integer", "index": 13, "name": "charge_interval_frequency", "comment": null}, "order_interval_unit": {"type": "character varying(3)", "index": 14, "name": "order_interval_unit", "comment": null}, "order_interval_frequency": {"type": "integer", "index": 15, "name": "order_interval_frequency", "comment": null}, "order_day_of_month": {"type": "integer", "index": 16, "name": "order_day_of_month", "comment": null}, "order_day_of_week": {"type": "integer", "index": 17, "name": "order_day_of_week", "comment": null}, "expire_after_specific_number_of_charges": {"type": "integer", "index": 18, "name": "expire_after_specific_number_of_charges", "comment": null}, "subscription_updated_at": {"type": "timestamp without time zone", "index": 19, "name": "subscription_updated_at", "comment": null}, "subscription_next_charge_scheduled_at": {"type": "timestamp without time zone", "index": 20, "name": "subscription_next_charge_scheduled_at", "comment": null}, "subscription_cancelled_at": {"type": "timestamp without time zone", "index": 21, "name": "subscription_cancelled_at", "comment": null}, "cancellation_reason": {"type": "character varying(16)", "index": 22, "name": "cancellation_reason", "comment": null}, "cancellation_reason_comments": {"type": "integer", "index": 23, "name": "cancellation_reason_comments", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 24, "name": "_fivetran_synced", "comment": null}, "is_most_recent_record": {"type": "boolean", "index": 25, "name": "is_most_recent_record", "comment": null}}, "stats": {"size": {"id": "size", "label": "Approximate Size", "value": 56000000.0, "include": true, "description": "Approximate size of the table, calculated from a count of 1MB blocks"}, "stats_off": {"id": "stats_off", "label": "Stats Off", "value": 0.0, "include": true, "description": "Number that indicates how stale the table statistics are; 0 is current, 100 is out of date."}, "sortkey_num": {"id": "sortkey_num", "label": "# Sort Keys", "value": 1.0, "include": true, "description": "Number of columns defined as sort keys."}, "sortkey1": {"id": "sortkey1", "label": "Sort Key 1", "value": "AUTO(SORTKEY(subscription_id))", "include": true, "description": "First column in the sort key."}, "unsorted": {"id": "unsorted", "label": "Unsorted %", "value": 0.0, "include": true, "description": "Percent of unsorted rows in the table."}, "max_varchar": {"id": "max_varchar", "label": "Max Varchar", "value": 43.0, "include": true, "description": "Size of the largest column that uses a VARCHAR data type."}, "encoded": {"id": "encoded", "label": "Encoded", "value": "Y, AUTO(ENCODE)", "include": true, "description": "Indicates whether any column in the table has compression encoding defined."}, "diststyle": {"id": "diststyle", "label": "Dist Style", "value": "AUTO(KEY(subscription_id))", "include": true, "description": "Distribution style or distribution key column, if key distribution is defined."}, "pct_used": {"id": "pct_used", "label": "Disk Utilization", "value": 0.000154, "include": true, "description": "Percent of available space that is used by the table."}, "skew_rows": {"id": "skew_rows", "label": "Skew Rows", "value": 100.0, "include": true, "description": "Ratio of the number of rows in the slice with the most rows to the number of rows in the slice with the fewest rows."}, "skew_sortkey1": {"id": "skew_sortkey1", "label": "Sort Key Skew", "value": 1.0, "include": true, "description": "Ratio of the size of the largest non-sort key column to the size of the first column of the sort key."}, "rows": {"id": "rows", "label": "Approximate Row Count", "value": 2.0, "include": true, "description": "Approximate number of rows in the table. This value includes rows marked for deletion, but not yet vacuumed."}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.recharge_source.stg_recharge__subscription_history"}, "model.recharge_source.stg_recharge__subscription": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03_recharge_source", "name": "stg_recharge__subscription", "database": "redshift-test-kristin", "comment": null, "owner": "awsuser"}, "columns": {"subscription_id": {"type": "bigint", "index": 1, "name": "subscription_id", "comment": null}, "customer_id": {"type": "bigint", "index": 2, "name": "customer_id", "comment": null}, "address_id": {"type": "bigint", "index": 3, "name": "address_id", "comment": null}, "subscription_created_at": {"type": "timestamp without time zone", "index": 4, "name": "subscription_created_at", "comment": null}, "product_title": {"type": "character varying(16)", "index": 5, "name": "product_title", "comment": null}, "variant_title": {"type": "character varying(16)", "index": 6, "name": "variant_title", "comment": null}, "sku": {"type": "character varying(5)", "index": 7, "name": "sku", "comment": null}, "price": {"type": "double precision", "index": 8, "name": "price", "comment": null}, "quantity": {"type": "integer", "index": 9, "name": "quantity", "comment": null}, "subscription_status": {"type": "character varying(9)", "index": 10, "name": "subscription_status", "comment": null}, "subscription_next_charge_scheduled_at": {"type": "timestamp without time zone", "index": 11, "name": "subscription_next_charge_scheduled_at", "comment": null}, "charge_interval_frequency": {"type": "integer", "index": 12, "name": "charge_interval_frequency", "comment": null}, "expire_after_specific_number_of_charges": {"type": "integer", "index": 13, "name": "expire_after_specific_number_of_charges", "comment": null}, "order_interval_frequency": {"type": "integer", "index": 14, "name": "order_interval_frequency", "comment": null}, "order_interval_unit": {"type": "character varying(3)", "index": 15, "name": "order_interval_unit", "comment": null}, "order_day_of_week": {"type": "integer", "index": 16, "name": "order_day_of_week", "comment": null}, "order_day_of_month": {"type": "integer", "index": 17, "name": "order_day_of_month", "comment": null}, "subscription_updated_at": {"type": "timestamp without time zone", "index": 18, "name": "subscription_updated_at", "comment": null}, "external_product_id_ecommerce": {"type": "bigint", "index": 19, "name": "external_product_id_ecommerce", "comment": null}, "external_variant_id_ecommerce": {"type": "bigint", "index": 20, "name": "external_variant_id_ecommerce", "comment": null}, "subscription_cancelled_at": {"type": "timestamp without time zone", "index": 21, "name": "subscription_cancelled_at", "comment": null}, "cancellation_reason": {"type": "character varying(21)", "index": 22, "name": "cancellation_reason", "comment": null}, "cancellation_reason_comments": {"type": "integer", "index": 23, "name": "cancellation_reason_comments", "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.recharge_source.stg_recharge__subscription"}, "model.recharge.recharge__billing_history": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03_recharge", "name": "recharge__billing_history", "database": "redshift-test-kristin", "comment": null, "owner": "awsuser"}, "columns": {"order_id": {"type": "bigint", "index": 1, "name": "order_id", "comment": null}, "external_order_id_ecommerce": {"type": "integer", "index": 2, "name": "external_order_id_ecommerce", "comment": null}, "external_order_number_ecommerce": {"type": "integer", "index": 3, "name": "external_order_number_ecommerce", "comment": null}, "customer_id": {"type": "bigint", "index": 4, "name": "customer_id", "comment": null}, "email": {"type": "character varying(19)", "index": 5, "name": "email", "comment": null}, "order_created_at": {"type": "timestamp without time zone", "index": 6, "name": "order_created_at", "comment": null}, "order_status": {"type": "character varying(7)", "index": 7, "name": "order_status", "comment": null}, "order_updated_at": {"type": "timestamp without time zone", "index": 8, "name": "order_updated_at", "comment": null}, "charge_id": {"type": "bigint", "index": 9, "name": "charge_id", "comment": null}, "transaction_id": {"type": "character varying(28)", "index": 10, "name": "transaction_id", "comment": null}, "charge_status": {"type": "character varying(7)", "index": 11, "name": "charge_status", "comment": null}, "is_prepaid": {"type": "boolean", "index": 12, "name": "is_prepaid", "comment": null}, "order_total_price": {"type": "double precision", "index": 13, "name": "order_total_price", "comment": null}, "order_type": {"type": "character varying(9)", "index": 14, "name": "order_type", "comment": null}, "order_processed_at": {"type": "timestamp without time zone", "index": 15, "name": "order_processed_at", "comment": null}, "order_scheduled_at": {"type": "timestamp without time zone", "index": 16, "name": "order_scheduled_at", "comment": null}, "order_shipped_date": {"type": "timestamp without time zone", "index": 17, "name": "order_shipped_date", "comment": null}, "address_id": {"type": "bigint", "index": 18, "name": "address_id", "comment": null}, "is_deleted": {"type": "boolean", "index": 19, "name": "is_deleted", "comment": null}, "charge_created_at": {"type": "timestamp without time zone", "index": 20, "name": "charge_created_at", "comment": null}, "payment_processor": {"type": "character varying(9)", "index": 21, "name": "payment_processor", "comment": null}, "tags": {"type": "character varying(42)", "index": 22, "name": "tags", "comment": null}, "orders_count": {"type": "integer", "index": 23, "name": "orders_count", "comment": null}, "charge_type": {"type": "character varying(9)", "index": 24, "name": "charge_type", "comment": null}, "charge_total_price": {"type": "double precision", "index": 25, "name": "charge_total_price", "comment": null}, "calculated_order_total_price": {"type": "numeric(25,2)", "index": 26, "name": "calculated_order_total_price", "comment": null}, "charge_subtotal_price": {"type": "double precision", "index": 27, "name": "charge_subtotal_price", "comment": null}, "calculated_order_subtotal_price": {"type": "numeric(25,2)", "index": 28, "name": "calculated_order_subtotal_price", "comment": null}, "charge_tax_lines": {"type": "double precision", "index": 29, "name": "charge_tax_lines", "comment": null}, "calculated_order_tax_lines": {"type": "numeric(25,2)", "index": 30, "name": "calculated_order_tax_lines", "comment": null}, "charge_total_discounts": {"type": "integer", "index": 31, "name": "charge_total_discounts", "comment": null}, "calculated_order_total_discounts": {"type": "numeric(25,2)", "index": 32, "name": "calculated_order_total_discounts", "comment": null}, "charge_total_refunds": {"type": "integer", "index": 33, "name": "charge_total_refunds", "comment": null}, "calculated_order_total_refunds": {"type": "numeric(25,2)", "index": 34, "name": "calculated_order_total_refunds", "comment": null}, "charge_total_tax": {"type": "double precision", "index": 35, "name": "charge_total_tax", "comment": null}, "calculated_order_total_tax": {"type": "numeric(25,2)", "index": 36, "name": "calculated_order_total_tax", "comment": null}, "charge_total_weight_grams": {"type": "integer", "index": 37, "name": "charge_total_weight_grams", "comment": null}, "calculated_order_total_weight_grams": {"type": "numeric(25,2)", "index": 38, "name": "calculated_order_total_weight_grams", "comment": null}, "charge_total_shipping": {"type": "numeric(25,2)", "index": 39, "name": "charge_total_shipping", "comment": null}, "calculated_order_total_shipping": {"type": "numeric(25,2)", "index": 40, "name": "calculated_order_total_shipping", "comment": null}, "order_item_quantity": {"type": "bigint", "index": 41, "name": "order_item_quantity", "comment": null}, "order_line_item_total": {"type": "numeric(25,2)", "index": 42, "name": "order_line_item_total", "comment": null}, "total_net_charge_value": {"type": "double precision", "index": 43, "name": "total_net_charge_value", "comment": null}, "total_calculated_net_order_value": {"type": "numeric(26,2)", "index": 44, "name": "total_calculated_net_order_value", "comment": null}}, "stats": {"size": {"id": "size", "label": "Approximate Size", "value": 94000000.0, "include": true, "description": "Approximate size of the table, calculated from a count of 1MB blocks"}, "stats_off": {"id": "stats_off", "label": "Stats Off", "value": 0.0, "include": true, "description": "Number that indicates how stale the table statistics are; 0 is current, 100 is out of date."}, "sortkey1": {"id": "sortkey1", "label": "Sort Key 1", "value": "AUTO(SORTKEY)", "include": true, "description": "First column in the sort key."}, "max_varchar": {"id": "max_varchar", "label": "Max Varchar", "value": 42.0, "include": true, "description": "Size of the largest column that uses a VARCHAR data type."}, "encoded": {"id": "encoded", "label": "Encoded", "value": "Y, AUTO(ENCODE)", "include": true, "description": "Indicates whether any column in the table has compression encoding defined."}, "diststyle": {"id": "diststyle", "label": "Dist Style", "value": "AUTO(EVEN)", "include": true, "description": "Distribution style or distribution key column, if key distribution is defined."}, "pct_used": {"id": "pct_used", "label": "Disk Utilization", "value": 0.000259, "include": true, "description": "Percent of available space that is used by the table."}, "rows": {"id": "rows", "label": "Approximate Row Count", "value": 2.0, "include": true, "description": "Approximate number of rows in the table. This value includes rows marked for deletion, but not yet vacuumed."}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.recharge.recharge__billing_history"}, "model.recharge.recharge__subscription_overview": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03_recharge", "name": "recharge__subscription_overview", "database": "redshift-test-kristin", "comment": null, "owner": "awsuser"}, "columns": {"subscription_id": {"type": "bigint", "index": 1, "name": "subscription_id", "comment": null}, "customer_id": {"type": "bigint", "index": 2, "name": "customer_id", "comment": null}, "address_id": {"type": "bigint", "index": 3, "name": "address_id", "comment": null}, "subscription_created_at": {"type": "timestamp without time zone", "index": 4, "name": "subscription_created_at", "comment": null}, "external_product_id_ecommerce": {"type": "bigint", "index": 5, "name": "external_product_id_ecommerce", "comment": null}, "external_variant_id_ecommerce": {"type": "bigint", "index": 6, "name": "external_variant_id_ecommerce", "comment": null}, "product_title": {"type": "character varying(16)", "index": 7, "name": "product_title", "comment": null}, "variant_title": {"type": "character varying(43)", "index": 8, "name": "variant_title", "comment": null}, "sku": {"type": "character varying(5)", "index": 9, "name": "sku", "comment": null}, "price": {"type": "double precision", "index": 10, "name": "price", "comment": null}, "quantity": {"type": "integer", "index": 11, "name": "quantity", "comment": null}, "subscription_status": {"type": "character varying(9)", "index": 12, "name": "subscription_status", "comment": null}, "charge_interval_frequency": {"type": "integer", "index": 13, "name": "charge_interval_frequency", "comment": null}, "order_interval_unit": {"type": "character varying(3)", "index": 14, "name": "order_interval_unit", "comment": null}, "order_interval_frequency": {"type": "integer", "index": 15, "name": "order_interval_frequency", "comment": null}, "order_day_of_month": {"type": "integer", "index": 16, "name": "order_day_of_month", "comment": null}, "order_day_of_week": {"type": "integer", "index": 17, "name": "order_day_of_week", "comment": null}, "expire_after_specific_number_of_charges": {"type": "integer", "index": 18, "name": "expire_after_specific_number_of_charges", "comment": null}, "subscription_updated_at": {"type": "timestamp without time zone", "index": 19, "name": "subscription_updated_at", "comment": null}, "subscription_next_charge_scheduled_at": {"type": "timestamp without time zone", "index": 20, "name": "subscription_next_charge_scheduled_at", "comment": null}, "subscription_cancelled_at": {"type": "timestamp without time zone", "index": 21, "name": "subscription_cancelled_at", "comment": null}, "cancellation_reason": {"type": "character varying(16)", "index": 22, "name": "cancellation_reason", "comment": null}, "cancellation_reason_comments": {"type": "integer", "index": 23, "name": "cancellation_reason_comments", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 24, "name": "_fivetran_synced", "comment": null}, "is_most_recent_record": {"type": "boolean", "index": 25, "name": "is_most_recent_record", "comment": null}, "count_successful_charges": {"type": "bigint", "index": 26, "name": "count_successful_charges", "comment": null}, "count_queued_charges": {"type": "bigint", "index": 27, "name": "count_queued_charges", "comment": null}, "charges_until_expiration": {"type": "bigint", "index": 28, "name": "charges_until_expiration", "comment": null}, "charge_interval_frequency_days": {"type": "integer", "index": 29, "name": "charge_interval_frequency_days", "comment": null}}, "stats": {"size": {"id": "size", "label": "Approximate Size", "value": 64000000.0, "include": true, "description": "Approximate size of the table, calculated from a count of 1MB blocks"}, "stats_off": {"id": "stats_off", "label": "Stats Off", "value": 0.0, "include": true, "description": "Number that indicates how stale the table statistics are; 0 is current, 100 is out of date."}, "sortkey_num": {"id": "sortkey_num", "label": "# Sort Keys", "value": 1.0, "include": true, "description": "Number of columns defined as sort keys."}, "sortkey1": {"id": "sortkey1", "label": "Sort Key 1", "value": "AUTO(SORTKEY(subscription_id))", "include": true, "description": "First column in the sort key."}, "unsorted": {"id": "unsorted", "label": "Unsorted %", "value": 0.0, "include": true, "description": "Percent of unsorted rows in the table."}, "max_varchar": {"id": "max_varchar", "label": "Max Varchar", "value": 43.0, "include": true, "description": "Size of the largest column that uses a VARCHAR data type."}, "encoded": {"id": "encoded", "label": "Encoded", "value": "Y, AUTO(ENCODE)", "include": true, "description": "Indicates whether any column in the table has compression encoding defined."}, "diststyle": {"id": "diststyle", "label": "Dist Style", "value": "AUTO(KEY(subscription_id))", "include": true, "description": "Distribution style or distribution key column, if key distribution is defined."}, "pct_used": {"id": "pct_used", "label": "Disk Utilization", "value": 0.000176, "include": true, "description": "Percent of available space that is used by the table."}, "skew_rows": {"id": "skew_rows", "label": "Skew Rows", "value": 100.0, "include": true, "description": "Ratio of the number of rows in the slice with the most rows to the number of rows in the slice with the fewest rows."}, "skew_sortkey1": {"id": "skew_sortkey1", "label": "Sort Key Skew", "value": 1.0, "include": true, "description": "Ratio of the size of the largest non-sort key column to the size of the first column of the sort key."}, "rows": {"id": "rows", "label": "Approximate Row Count", "value": 2.0, "include": true, "description": "Approximate number of rows in the table. This value includes rows marked for deletion, but not yet vacuumed."}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.recharge.recharge__subscription_overview"}, "model.recharge.recharge__customer_details": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03_recharge", "name": "recharge__customer_details", "database": "redshift-test-kristin", "comment": null, "owner": "awsuser"}, "columns": {"customer_id": {"type": "bigint", "index": 1, "name": "customer_id", "comment": null}, "customer_hash": {"type": "character varying(31)", "index": 2, "name": "customer_hash", "comment": null}, "external_customer_id_ecommerce": {"type": "integer", "index": 3, "name": "external_customer_id_ecommerce", "comment": null}, "email": {"type": "character varying(19)", "index": 4, "name": "email", "comment": null}, "first_name": {"type": "character varying(7)", "index": 5, "name": "first_name", "comment": null}, "last_name": {"type": "character varying(6)", "index": 6, "name": "last_name", "comment": null}, "customer_created_at": {"type": "timestamp without time zone", "index": 7, "name": "customer_created_at", "comment": null}, "customer_updated_at": {"type": "timestamp without time zone", "index": 8, "name": "customer_updated_at", "comment": null}, "first_charge_processed_at": {"type": "timestamp without time zone", "index": 9, "name": "first_charge_processed_at", "comment": null}, "subscriptions_active_count": {"type": "integer", "index": 10, "name": "subscriptions_active_count", "comment": null}, "subscriptions_total_count": {"type": "integer", "index": 11, "name": "subscriptions_total_count", "comment": null}, "has_valid_payment_method": {"type": "boolean", "index": 12, "name": "has_valid_payment_method", "comment": null}, "has_payment_method_in_dunning": {"type": "boolean", "index": 13, "name": "has_payment_method_in_dunning", "comment": null}, "tax_exempt": {"type": "boolean", "index": 14, "name": "tax_exempt", "comment": null}, "total_orders": {"type": "bigint", "index": 15, "name": "total_orders", "comment": null}, "total_amount_ordered": {"type": "numeric(25,2)", "index": 16, "name": "total_amount_ordered", "comment": null}, "avg_order_amount": {"type": "numeric(25,2)", "index": 17, "name": "avg_order_amount", "comment": null}, "total_order_line_item_total": {"type": "numeric(25,2)", "index": 18, "name": "total_order_line_item_total", "comment": null}, "avg_order_line_item_total": {"type": "numeric(25,2)", "index": 19, "name": "avg_order_line_item_total", "comment": null}, "avg_item_quantity_per_order": {"type": "numeric(25,2)", "index": 20, "name": "avg_item_quantity_per_order", "comment": null}, "total_amount_charged": {"type": "numeric(25,2)", "index": 21, "name": "total_amount_charged", "comment": null}, "avg_amount_charged": {"type": "numeric(25,2)", "index": 22, "name": "avg_amount_charged", "comment": null}, "charges_count": {"type": "bigint", "index": 23, "name": "charges_count", "comment": null}, "total_amount_taxed": {"type": "numeric(25,2)", "index": 24, "name": "total_amount_taxed", "comment": null}, "total_amount_discounted": {"type": "numeric(25,2)", "index": 25, "name": "total_amount_discounted", "comment": null}, "total_refunds": {"type": "numeric(25,2)", "index": 26, "name": "total_refunds", "comment": null}, "total_one_time_purchases": {"type": "bigint", "index": 27, "name": "total_one_time_purchases", "comment": null}, "total_net_spend": {"type": "numeric(25,2)", "index": 28, "name": "total_net_spend", "comment": null}, "calculated_subscriptions_active_count": {"type": "bigint", "index": 29, "name": "calculated_subscriptions_active_count", "comment": null}, "is_currently_subscribed": {"type": "boolean", "index": 30, "name": "is_currently_subscribed", "comment": null}, "is_new_customer": {"type": "boolean", "index": 31, "name": "is_new_customer", "comment": null}, "active_months": {"type": "numeric(25,2)", "index": 32, "name": "active_months", "comment": null}, "orders_monthly_average": {"type": "numeric(25,2)", "index": 33, "name": "orders_monthly_average", "comment": null}, "amount_ordered_monthly_average": {"type": "numeric(25,2)", "index": 34, "name": "amount_ordered_monthly_average", "comment": null}, "one_time_purchases_monthly_average": {"type": "numeric(25,2)", "index": 35, "name": "one_time_purchases_monthly_average", "comment": null}, "amount_charged_monthly_average": {"type": "numeric(25,2)", "index": 36, "name": "amount_charged_monthly_average", "comment": null}, "amount_discounted_monthly_average": {"type": "numeric(25,2)", "index": 37, "name": "amount_discounted_monthly_average", "comment": null}, "amount_taxed_monthly_average": {"type": "numeric(25,2)", "index": 38, "name": "amount_taxed_monthly_average", "comment": null}, "net_spend_monthly_average": {"type": "numeric(25,2)", "index": 39, "name": "net_spend_monthly_average", "comment": null}}, "stats": {"size": {"id": "size", "label": "Approximate Size", "value": 84000000.0, "include": true, "description": "Approximate size of the table, calculated from a count of 1MB blocks"}, "stats_off": {"id": "stats_off", "label": "Stats Off", "value": 0.0, "include": true, "description": "Number that indicates how stale the table statistics are; 0 is current, 100 is out of date."}, "sortkey1": {"id": "sortkey1", "label": "Sort Key 1", "value": "AUTO(SORTKEY)", "include": true, "description": "First column in the sort key."}, "max_varchar": {"id": "max_varchar", "label": "Max Varchar", "value": 31.0, "include": true, "description": "Size of the largest column that uses a VARCHAR data type."}, "encoded": {"id": "encoded", "label": "Encoded", "value": "Y, AUTO(ENCODE)", "include": true, "description": "Indicates whether any column in the table has compression encoding defined."}, "diststyle": {"id": "diststyle", "label": "Dist Style", "value": "AUTO(EVEN)", "include": true, "description": "Distribution style or distribution key column, if key distribution is defined."}, "pct_used": {"id": "pct_used", "label": "Disk Utilization", "value": 0.000232, "include": true, "description": "Percent of available space that is used by the table."}, "rows": {"id": "rows", "label": "Approximate Row Count", "value": 2.0, "include": true, "description": "Approximate number of rows in the table. This value includes rows marked for deletion, but not yet vacuumed."}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.recharge.recharge__customer_details"}, "model.recharge.recharge__customer_daily_rollup": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03_recharge", "name": "recharge__customer_daily_rollup", "database": "redshift-test-kristin", "comment": null, "owner": "awsuser"}, "columns": {"customer_id": {"type": "bigint", "index": 1, "name": "customer_id", "comment": null}, "date_day": {"type": "timestamp without time zone", "index": 2, "name": "date_day", "comment": null}, "date_week": {"type": "date", "index": 3, "name": "date_week", "comment": null}, "date_month": {"type": "date", "index": 4, "name": "date_month", "comment": null}, "date_year": {"type": "date", "index": 5, "name": "date_year", "comment": null}, "no_of_orders": {"type": "bigint", "index": 6, "name": "no_of_orders", "comment": null}, "recurring_orders": {"type": "bigint", "index": 7, "name": "recurring_orders", "comment": null}, "one_time_orders": {"type": "bigint", "index": 8, "name": "one_time_orders", "comment": null}, "total_charges": {"type": "double precision", "index": 9, "name": "total_charges", "comment": null}, "charge_total_price_realized": {"type": "numeric(25,2)", "index": 10, "name": "charge_total_price_realized", "comment": null}, "charge_total_discounts_realized": {"type": "numeric(25,2)", "index": 11, "name": "charge_total_discounts_realized", "comment": null}, "charge_total_tax_realized": {"type": "numeric(25,2)", "index": 12, "name": "charge_total_tax_realized", "comment": null}, "charge_total_refunds_realized": {"type": "numeric(25,2)", "index": 13, "name": "charge_total_refunds_realized", "comment": null}, "calculated_order_total_discounts_realized": {"type": "numeric(25,2)", "index": 14, "name": "calculated_order_total_discounts_realized", "comment": null}, "calculated_order_total_tax_realized": {"type": "numeric(25,2)", "index": 15, "name": "calculated_order_total_tax_realized", "comment": null}, "calculated_order_total_price_realized": {"type": "numeric(25,2)", "index": 16, "name": "calculated_order_total_price_realized", "comment": null}, "calculated_order_total_refunds_realized": {"type": "numeric(25,2)", "index": 17, "name": "calculated_order_total_refunds_realized", "comment": null}, "order_line_item_total_realized": {"type": "numeric(25,2)", "index": 18, "name": "order_line_item_total_realized", "comment": null}, "order_item_quantity_realized": {"type": "numeric(25,2)", "index": 19, "name": "order_item_quantity_realized", "comment": null}, "charge_recurring_net_amount_realized": {"type": "numeric(25,2)", "index": 20, "name": "charge_recurring_net_amount_realized", "comment": null}, "charge_one_time_net_amount_realized": {"type": "numeric(25,2)", "index": 21, "name": "charge_one_time_net_amount_realized", "comment": null}, "calculated_order_recurring_net_amount_realized": {"type": "numeric(25,2)", "index": 22, "name": "calculated_order_recurring_net_amount_realized", "comment": null}, "calculated_order_one_time_net_amount_realized": {"type": "numeric(25,2)", "index": 23, "name": "calculated_order_one_time_net_amount_realized", "comment": null}, "charge_total_price_running_total": {"type": "numeric(25,2)", "index": 24, "name": "charge_total_price_running_total", "comment": null}, "charge_total_discounts_running_total": {"type": "numeric(25,2)", "index": 25, "name": "charge_total_discounts_running_total", "comment": null}, "charge_total_tax_running_total": {"type": "numeric(25,2)", "index": 26, "name": "charge_total_tax_running_total", "comment": null}, "charge_total_refunds_running_total": {"type": "numeric(25,2)", "index": 27, "name": "charge_total_refunds_running_total", "comment": null}, "calculated_order_total_discounts_running_total": {"type": "numeric(25,2)", "index": 28, "name": "calculated_order_total_discounts_running_total", "comment": null}, "calculated_order_total_tax_running_total": {"type": "numeric(25,2)", "index": 29, "name": "calculated_order_total_tax_running_total", "comment": null}, "calculated_order_total_price_running_total": {"type": "numeric(25,2)", "index": 30, "name": "calculated_order_total_price_running_total", "comment": null}, "calculated_order_total_refunds_running_total": {"type": "numeric(25,2)", "index": 31, "name": "calculated_order_total_refunds_running_total", "comment": null}, "order_line_item_total_running_total": {"type": "numeric(25,2)", "index": 32, "name": "order_line_item_total_running_total", "comment": null}, "order_item_quantity_running_total": {"type": "numeric(25,2)", "index": 33, "name": "order_item_quantity_running_total", "comment": null}, "charge_recurring_net_amount_running_total": {"type": "numeric(25,2)", "index": 34, "name": "charge_recurring_net_amount_running_total", "comment": null}, "charge_one_time_net_amount_running_total": {"type": "numeric(25,2)", "index": 35, "name": "charge_one_time_net_amount_running_total", "comment": null}, "calculated_order_recurring_net_amount_running_total": {"type": "numeric(25,2)", "index": 36, "name": "calculated_order_recurring_net_amount_running_total", "comment": null}, "calculated_order_one_time_net_amount_running_total": {"type": "numeric(25,2)", "index": 37, "name": "calculated_order_one_time_net_amount_running_total", "comment": null}, "active_months_to_date": {"type": "numeric(25,2)", "index": 38, "name": "active_months_to_date", "comment": null}}, "stats": {"size": {"id": "size", "label": "Approximate Size", "value": 82000000.0, "include": true, "description": "Approximate size of the table, calculated from a count of 1MB blocks"}, "stats_off": {"id": "stats_off", "label": "Stats Off", "value": 0.0, "include": true, "description": "Number that indicates how stale the table statistics are; 0 is current, 100 is out of date."}, "sortkey_num": {"id": "sortkey_num", "label": "# Sort Keys", "value": 2.0, "include": true, "description": "Number of columns defined as sort keys."}, "sortkey1": {"id": "sortkey1", "label": "Sort Key 1", "value": "AUTO(SORTKEY(customer_id))", "include": true, "description": "First column in the sort key."}, "unsorted": {"id": "unsorted", "label": "Unsorted %", "value": 0.0, "include": true, "description": "Percent of unsorted rows in the table."}, "max_varchar": {"id": "max_varchar", "label": "Max Varchar", "value": 0.0, "include": true, "description": "Size of the largest column that uses a VARCHAR data type."}, "encoded": {"id": "encoded", "label": "Encoded", "value": "Y, AUTO(ENCODE)", "include": true, "description": "Indicates whether any column in the table has compression encoding defined."}, "diststyle": {"id": "diststyle", "label": "Dist Style", "value": "AUTO(KEY(customer_id))", "include": true, "description": "Distribution style or distribution key column, if key distribution is defined."}, "pct_used": {"id": "pct_used", "label": "Disk Utilization", "value": 0.000226, "include": true, "description": "Percent of available space that is used by the table."}, "skew_rows": {"id": "skew_rows", "label": "Skew Rows", "value": 100.0, "include": true, "description": "Ratio of the number of rows in the slice with the most rows to the number of rows in the slice with the fewest rows."}, "skew_sortkey1": {"id": "skew_sortkey1", "label": "Sort Key Skew", "value": 1.0, "include": true, "description": "Ratio of the size of the largest non-sort key column to the size of the first column of the sort key."}, "rows": {"id": "rows", "label": "Approximate Row Count", "value": 122.0, "include": true, "description": "Approximate number of rows in the table. This value includes rows marked for deletion, but not yet vacuumed."}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.recharge.recharge__customer_daily_rollup"}, "model.recharge.recharge__monthly_recurring_revenue": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03_recharge", "name": "recharge__monthly_recurring_revenue", "database": "redshift-test-kristin", "comment": null, "owner": "awsuser"}, "columns": {"date_month": {"type": "date", "index": 1, "name": "date_month", "comment": null}, "customer_id": {"type": "bigint", "index": 2, "name": "customer_id", "comment": null}, "recurring_orders": {"type": "bigint", "index": 3, "name": "recurring_orders", "comment": null}, "total_net_recurring_charges": {"type": "numeric(25,2)", "index": 4, "name": "total_net_recurring_charges", "comment": null}, "calculated_net_order_mrr": {"type": "numeric(25,2)", "index": 5, "name": "calculated_net_order_mrr", "comment": null}, "one_time_orders": {"type": "bigint", "index": 6, "name": "one_time_orders", "comment": null}, "total_net_one_time_charges": {"type": "numeric(25,2)", "index": 7, "name": "total_net_one_time_charges", "comment": null}, "calculated_net_order_one_times": {"type": "numeric(25,2)", "index": 8, "name": "calculated_net_order_one_times", "comment": null}}, "stats": {"size": {"id": "size", "label": "Approximate Size", "value": 22000000.0, "include": true, "description": "Approximate size of the table, calculated from a count of 1MB blocks"}, "stats_off": {"id": "stats_off", "label": "Stats Off", "value": 0.0, "include": true, "description": "Number that indicates how stale the table statistics are; 0 is current, 100 is out of date."}, "sortkey1": {"id": "sortkey1", "label": "Sort Key 1", "value": "AUTO(SORTKEY)", "include": true, "description": "First column in the sort key."}, "max_varchar": {"id": "max_varchar", "label": "Max Varchar", "value": 0.0, "include": true, "description": "Size of the largest column that uses a VARCHAR data type."}, "encoded": {"id": "encoded", "label": "Encoded", "value": "Y, AUTO(ENCODE)", "include": true, "description": "Indicates whether any column in the table has compression encoding defined."}, "diststyle": {"id": "diststyle", "label": "Dist Style", "value": "AUTO(EVEN)", "include": true, "description": "Distribution style or distribution key column, if key distribution is defined."}, "pct_used": {"id": "pct_used", "label": "Disk Utilization", "value": 6e-05, "include": true, "description": "Percent of available space that is used by the table."}, "rows": {"id": "rows", "label": "Approximate Row Count", "value": 6.0, "include": true, "description": "Approximate number of rows in the table. This value includes rows marked for deletion, but not yet vacuumed."}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.recharge.recharge__monthly_recurring_revenue"}, "model.recharge_source.stg_recharge__charge_order_attribute_tmp": {"metadata": {"type": "VIEW", "schema": "recharge_integration_tests_03_recharge_source", "name": "stg_recharge__charge_order_attribute_tmp", "database": "redshift-test-kristin", "comment": null, "owner": "awsuser"}, "columns": {"charge_id": {"type": "bigint", "index": 1, "name": "charge_id", "comment": null}, "index": {"type": "integer", "index": 2, "name": "index", "comment": null}, "order_attribute": {"type": "character varying(173)", "index": 3, "name": "order_attribute", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 4, "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": "model.recharge_source.stg_recharge__charge_order_attribute_tmp"}, "model.recharge_source.stg_recharge__address_shipping_line_tmp": {"metadata": {"type": "VIEW", "schema": "recharge_integration_tests_03_recharge_source", "name": "stg_recharge__address_shipping_line_tmp", "database": "redshift-test-kristin", "comment": null, "owner": "awsuser"}, "columns": {"address_id": {"type": "bigint", "index": 1, "name": "address_id", "comment": null}, "index": {"type": "integer", "index": 2, "name": "index", "comment": null}, "price": {"type": "double precision", "index": 3, "name": "price", "comment": null}, "code": {"type": "character varying(6)", "index": 4, "name": "code", "comment": null}, "title": {"type": "character varying(7)", "index": 5, "name": "title", "comment": null}, "_fivetran_deleted": {"type": "boolean", "index": 6, "name": "_fivetran_deleted", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 7, "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": "model.recharge_source.stg_recharge__address_shipping_line_tmp"}, "model.recharge_source.stg_recharge__charge_discount_tmp": {"metadata": {"type": "VIEW", "schema": "recharge_integration_tests_03_recharge_source", "name": "stg_recharge__charge_discount_tmp", "database": "redshift-test-kristin", "comment": null, "owner": "awsuser"}, "columns": {"charge_id": {"type": "bigint", "index": 1, "name": "charge_id", "comment": null}, "index": {"type": "integer", "index": 2, "name": "index", "comment": null}, "id": {"type": "bigint", "index": 3, "name": "id", "comment": null}, "code": {"type": "character varying(6)", "index": 4, "name": "code", "comment": null}, "value": {"type": "double precision", "index": 5, "name": "value", "comment": null}, "value_type": {"type": "character varying(10)", "index": 6, "name": "value_type", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 7, "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": "model.recharge_source.stg_recharge__charge_discount_tmp"}, "model.recharge_source.stg_recharge__address_discounts_tmp": {"metadata": {"type": "VIEW", "schema": "recharge_integration_tests_03_recharge_source", "name": "stg_recharge__address_discounts_tmp", "database": "redshift-test-kristin", "comment": null, "owner": "awsuser"}, "columns": {"id": {"type": "bigint", "index": 1, "name": "id", "comment": null}, "address_id": {"type": "bigint", "index": 2, "name": "address_id", "comment": null}, "index": {"type": "integer", "index": 3, "name": "index", "comment": null}, "_fivetran_deleted": {"type": "boolean", "index": 4, "name": "_fivetran_deleted", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 5, "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": "model.recharge_source.stg_recharge__address_discounts_tmp"}, "model.recharge_source.stg_recharge__charge_shipping_line_tmp": {"metadata": {"type": "VIEW", "schema": "recharge_integration_tests_03_recharge_source", "name": "stg_recharge__charge_shipping_line_tmp", "database": "redshift-test-kristin", "comment": null, "owner": "awsuser"}, "columns": {"charge_id": {"type": "bigint", "index": 1, "name": "charge_id", "comment": null}, "index": {"type": "integer", "index": 2, "name": "index", "comment": null}, "price": {"type": "double precision", "index": 3, "name": "price", "comment": null}, "code": {"type": "character varying(7)", "index": 4, "name": "code", "comment": null}, "title": {"type": "character varying(8)", "index": 5, "name": "title", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 6, "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": "model.recharge_source.stg_recharge__charge_shipping_line_tmp"}, "model.recharge_source.stg_recharge__address_tmp": {"metadata": {"type": "VIEW", "schema": "recharge_integration_tests_03_recharge_source", "name": "stg_recharge__address_tmp", "database": "redshift-test-kristin", "comment": null, "owner": "awsuser"}, "columns": {"id": {"type": "bigint", "index": 1, "name": "id", "comment": null}, "customer_id": {"type": "bigint", "index": 2, "name": "customer_id", "comment": null}, "first_name": {"type": "character varying(7)", "index": 3, "name": "first_name", "comment": null}, "last_name": {"type": "character varying(6)", "index": 4, "name": "last_name", "comment": null}, "address_1": {"type": "character varying(17)", "index": 5, "name": "address_1", "comment": null}, "address_2": {"type": "character varying(17)", "index": 6, "name": "address_2", "comment": null}, "city": {"type": "character varying(6)", "index": 7, "name": "city", "comment": null}, "province": {"type": "integer", "index": 8, "name": "province", "comment": null}, "country_code": {"type": "character varying(9)", "index": 9, "name": "country_code", "comment": null}, "zip": {"type": "character varying(5)", "index": 10, "name": "zip", "comment": null}, "company": {"type": "integer", "index": 11, "name": "company", "comment": null}, "phone": {"type": "character varying(7)", "index": 12, "name": "phone", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 13, "name": "created_at", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 14, "name": "updated_at", "comment": null}, "_fivetran_deleted": {"type": "boolean", "index": 15, "name": "_fivetran_deleted", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 16, "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": "model.recharge_source.stg_recharge__address_tmp"}, "model.recharge_source.stg_recharge__charge_line_item_tmp": {"metadata": {"type": "VIEW", "schema": "recharge_integration_tests_03_recharge_source", "name": "stg_recharge__charge_line_item_tmp", "database": "redshift-test-kristin", "comment": null, "owner": "awsuser"}, "columns": {"charge_id": {"type": "bigint", "index": 1, "name": "charge_id", "comment": null}, "index": {"type": "integer", "index": 2, "name": "index", "comment": null}, "variant_title": {"type": "character varying(16)", "index": 3, "name": "variant_title", "comment": null}, "title": {"type": "character varying(8)", "index": 4, "name": "title", "comment": null}, "quantity": {"type": "integer", "index": 5, "name": "quantity", "comment": null}, "grams": {"type": "integer", "index": 6, "name": "grams", "comment": null}, "total_price": {"type": "character varying(256)", "index": 7, "name": "total_price", "comment": null}, "sku": {"type": "character varying(5)", "index": 8, "name": "sku", "comment": null}, "external_product_id_ecommerce": {"type": "bigint", "index": 9, "name": "external_product_id_ecommerce", "comment": null}, "vendor": {"type": "character varying(12)", "index": 10, "name": "vendor", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 11, "name": "_fivetran_synced", "comment": null}, "unit_price": {"type": "double precision", "index": 12, "name": "unit_price", "comment": null}, "tax_due": {"type": "integer", "index": 13, "name": "tax_due", "comment": null}, "taxable": {"type": "boolean", "index": 14, "name": "taxable", "comment": null}, "taxable_amount": {"type": "integer", "index": 15, "name": "taxable_amount", "comment": null}, "unit_price_includes_tax": {"type": "boolean", "index": 16, "name": "unit_price_includes_tax", "comment": null}, "purchase_item_id": {"type": "integer", "index": 17, "name": "purchase_item_id", "comment": null}, "purchase_item_type": {"type": "character varying(5)", "index": 18, "name": "purchase_item_type", "comment": null}, "external_variant_id_ecommerce": {"type": "bigint", "index": 19, "name": "external_variant_id_ecommerce", "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.recharge_source.stg_recharge__charge_line_item_tmp"}, "model.recharge_source.stg_recharge__charge_tax_line_tmp": {"metadata": {"type": "VIEW", "schema": "recharge_integration_tests_03_recharge_source", "name": "stg_recharge__charge_tax_line_tmp", "database": "redshift-test-kristin", "comment": null, "owner": "awsuser"}, "columns": {"charge_id": {"type": "bigint", "index": 1, "name": "charge_id", "comment": null}, "index": {"type": "integer", "index": 2, "name": "index", "comment": null}, "price": {"type": "double precision", "index": 3, "name": "price", "comment": null}, "rate": {"type": "double precision", "index": 4, "name": "rate", "comment": null}, "title": {"type": "character varying(8)", "index": 5, "name": "title", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 6, "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": "model.recharge_source.stg_recharge__charge_tax_line_tmp"}, "model.recharge_source.stg_recharge__charge_tmp": {"metadata": {"type": "VIEW", "schema": "recharge_integration_tests_03_recharge_source", "name": "stg_recharge__charge_tmp", "database": "redshift-test-kristin", "comment": null, "owner": "awsuser"}, "columns": {"id": {"type": "bigint", "index": 1, "name": "id", "comment": null}, "address_id": {"type": "bigint", "index": 2, "name": "address_id", "comment": null}, "customer_id": {"type": "bigint", "index": 3, "name": "customer_id", "comment": null}, "customer_hash": {"type": "character varying(31)", "index": 4, "name": "customer_hash", "comment": null}, "note": {"type": "character varying(25)", "index": 5, "name": "note", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 6, "name": "created_at", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 7, "name": "updated_at", "comment": null}, "processed_at": {"type": "timestamp without time zone", "index": 8, "name": "processed_at", "comment": null}, "scheduled_at": {"type": "timestamp without time zone", "index": 9, "name": "scheduled_at", "comment": null}, "orders_count": {"type": "integer", "index": 10, "name": "orders_count", "comment": null}, "external_order_id_ecommerce": {"type": "integer", "index": 11, "name": "external_order_id_ecommerce", "comment": null}, "subtotal_price": {"type": "double precision", "index": 12, "name": "subtotal_price", "comment": null}, "tags": {"type": "character varying(42)", "index": 13, "name": "tags", "comment": null}, "tax_lines": {"type": "double precision", "index": 14, "name": "tax_lines", "comment": null}, "total_discounts": {"type": "integer", "index": 15, "name": "total_discounts", "comment": null}, "total_line_items_price": {"type": "double precision", "index": 16, "name": "total_line_items_price", "comment": null}, "total_price": {"type": "character varying(256)", "index": 17, "name": "total_price", "comment": null}, "total_tax": {"type": "double precision", "index": 18, "name": "total_tax", "comment": null}, "total_weight_grams": {"type": "integer", "index": 19, "name": "total_weight_grams", "comment": null}, "type": {"type": "character varying(9)", "index": 20, "name": "type", "comment": null}, "status": {"type": "character varying(6)", "index": 21, "name": "status", "comment": null}, "total_refunds": {"type": "integer", "index": 22, "name": "total_refunds", "comment": null}, "external_transaction_id_payment_processor": {"type": "integer", "index": 23, "name": "external_transaction_id_payment_processor", "comment": null}, "email": {"type": "character varying(19)", "index": 24, "name": "email", "comment": null}, "payment_processor": {"type": "character varying(9)", "index": 25, "name": "payment_processor", "comment": null}, "has_uncommited_changes": {"type": "boolean", "index": 26, "name": "has_uncommited_changes", "comment": null}, "retry_date": {"type": "timestamp without time zone", "index": 27, "name": "retry_date", "comment": null}, "error_type": {"type": "integer", "index": 28, "name": "error_type", "comment": null}, "error": {"type": "integer", "index": 29, "name": "error", "comment": null}, "charge_attempts": {"type": "integer", "index": 30, "name": "charge_attempts", "comment": null}, "external_variant_id_not_found": {"type": "integer", "index": 31, "name": "external_variant_id_not_found", "comment": null}, "client_details_browser_ip": {"type": "integer", "index": 32, "name": "client_details_browser_ip", "comment": null}, "client_details_user_agent": {"type": "integer", "index": 33, "name": "client_details_user_agent", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 34, "name": "_fivetran_synced", "comment": null}, "last_charge_attempt_date": {"type": "timestamp without time zone", "index": 35, "name": "last_charge_attempt_date", "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.recharge_source.stg_recharge__charge_tmp"}, "model.recharge_source.stg_recharge__customer_tmp": {"metadata": {"type": "VIEW", "schema": "recharge_integration_tests_03_recharge_source", "name": "stg_recharge__customer_tmp", "database": "redshift-test-kristin", "comment": null, "owner": "awsuser"}, "columns": {"id": {"type": "bigint", "index": 1, "name": "id", "comment": null}, "hash": {"type": "character varying(31)", "index": 2, "name": "hash", "comment": null}, "external_customer_id_ecommerce": {"type": "integer", "index": 3, "name": "external_customer_id_ecommerce", "comment": null}, "email": {"type": "character varying(19)", "index": 4, "name": "email", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 5, "name": "created_at", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 6, "name": "updated_at", "comment": null}, "first_charge_processed_at": {"type": "timestamp without time zone", "index": 7, "name": "first_charge_processed_at", "comment": null}, "first_name": {"type": "character varying(7)", "index": 8, "name": "first_name", "comment": null}, "last_name": {"type": "character varying(6)", "index": 9, "name": "last_name", "comment": null}, "subscriptions_active_count": {"type": "integer", "index": 10, "name": "subscriptions_active_count", "comment": null}, "subscriptions_total_count": {"type": "integer", "index": 11, "name": "subscriptions_total_count", "comment": null}, "has_valid_payment_method": {"type": "boolean", "index": 12, "name": "has_valid_payment_method", "comment": null}, "has_payment_method_in_dunning": {"type": "boolean", "index": 13, "name": "has_payment_method_in_dunning", "comment": null}, "_fivetran_deleted": {"type": "boolean", "index": 14, "name": "_fivetran_deleted", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 15, "name": "_fivetran_synced", "comment": null}, "tax_exempt": {"type": "boolean", "index": 16, "name": "tax_exempt", "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.recharge_source.stg_recharge__customer_tmp"}, "model.recharge_source.stg_recharge__discount_tmp": {"metadata": {"type": "VIEW", "schema": "recharge_integration_tests_03_recharge_source", "name": "stg_recharge__discount_tmp", "database": "redshift-test-kristin", "comment": null, "owner": "awsuser"}, "columns": {"id": {"type": "bigint", "index": 1, "name": "id", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 2, "name": "created_at", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 3, "name": "updated_at", "comment": null}, "starts_at": {"type": "timestamp without time zone", "index": 4, "name": "starts_at", "comment": null}, "ends_at": {"type": "timestamp without time zone", "index": 5, "name": "ends_at", "comment": null}, "code": {"type": "character varying(6)", "index": 6, "name": "code", "comment": null}, "value": {"type": "integer", "index": 7, "name": "value", "comment": null}, "status": {"type": "character varying(7)", "index": 8, "name": "status", "comment": null}, "usage_limits": {"type": "integer", "index": 9, "name": "usage_limits", "comment": null}, "applies_to": {"type": "character varying(21)", "index": 10, "name": "applies_to", "comment": null}, "applies_to_resource": {"type": "character varying(21)", "index": 11, "name": "applies_to_resource", "comment": null}, "applies_to_id": {"type": "bigint", "index": 12, "name": "applies_to_id", "comment": null}, "applies_to_product_type": {"type": "character varying(12)", "index": 13, "name": "applies_to_product_type", "comment": null}, "minimum_order_amount": {"type": "integer", "index": 14, "name": "minimum_order_amount", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 15, "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": "model.recharge_source.stg_recharge__discount_tmp"}, "model.recharge_source.stg_recharge__one_time_product_tmp": {"metadata": {"type": "VIEW", "schema": "recharge_integration_tests_03_recharge_source", "name": "stg_recharge__one_time_product_tmp", "database": "redshift-test-kristin", "comment": null, "owner": "awsuser"}, "columns": {"id": {"type": "bigint", "index": 1, "name": "id", "comment": null}, "address_id": {"type": "bigint", "index": 2, "name": "address_id", "comment": null}, "customer_id": {"type": "bigint", "index": 3, "name": "customer_id", "comment": null}, "is_deleted": {"type": "boolean", "index": 4, "name": "is_deleted", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 5, "name": "created_at", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 6, "name": "updated_at", "comment": null}, "next_charge_scheduled_at": {"type": "timestamp without time zone", "index": 7, "name": "next_charge_scheduled_at", "comment": null}, "product_title": {"type": "character varying(16)", "index": 8, "name": "product_title", "comment": null}, "variant_title": {"type": "integer", "index": 9, "name": "variant_title", "comment": null}, "price": {"type": "integer", "index": 10, "name": "price", "comment": null}, "quantity": {"type": "integer", "index": 11, "name": "quantity", "comment": null}, "external_product_id_ecommerce": {"type": "bigint", "index": 12, "name": "external_product_id_ecommerce", "comment": null}, "external_variant_id_ecommerce": {"type": "bigint", "index": 13, "name": "external_variant_id_ecommerce", "comment": null}, "sku": {"type": "integer", "index": 14, "name": "sku", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 15, "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": "model.recharge_source.stg_recharge__one_time_product_tmp"}, "model.recharge_source.stg_recharge__order_line_item_tmp": {"metadata": {"type": "VIEW", "schema": "recharge_integration_tests_03_recharge_source", "name": "stg_recharge__order_line_item_tmp", "database": "redshift-test-kristin", "comment": null, "owner": "awsuser"}, "columns": {"order_id": {"type": "integer", "index": 1, "name": "order_id", "comment": null}, "index": {"type": "integer", "index": 2, "name": "index", "comment": null}, "variant_title": {"type": "character varying(43)", "index": 3, "name": "variant_title", "comment": null}, "title": {"type": "character varying(7)", "index": 4, "name": "title", "comment": null}, "quantity": {"type": "integer", "index": 5, "name": "quantity", "comment": null}, "grams": {"type": "integer", "index": 6, "name": "grams", "comment": null}, "total_price": {"type": "character varying(256)", "index": 7, "name": "total_price", "comment": null}, "sku": {"type": "character varying(5)", "index": 8, "name": "sku", "comment": null}, "external_product_id_ecommerce": {"type": "bigint", "index": 9, "name": "external_product_id_ecommerce", "comment": null}, "external_variant_id_ecommerce": {"type": "bigint", "index": 10, "name": "external_variant_id_ecommerce", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 11, "name": "_fivetran_synced", "comment": null}, "unit_price": {"type": "double precision", "index": 12, "name": "unit_price", "comment": null}, "tax_due": {"type": "integer", "index": 13, "name": "tax_due", "comment": null}, "taxable": {"type": "boolean", "index": 14, "name": "taxable", "comment": null}, "taxable_amount": {"type": "integer", "index": 15, "name": "taxable_amount", "comment": null}, "unit_price_includes_tax": {"type": "boolean", "index": 16, "name": "unit_price_includes_tax", "comment": null}, "purchase_item_id": {"type": "integer", "index": 17, "name": "purchase_item_id", "comment": null}, "purchase_item_type": {"type": "character varying(5)", "index": 18, "name": "purchase_item_type", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.recharge_source.stg_recharge__order_line_item_tmp"}, "model.recharge_source.stg_recharge__order_tmp": {"metadata": {"type": "VIEW", "schema": "recharge_integration_tests_03_recharge_source", "name": "stg_recharge__order_tmp", "database": "redshift-test-kristin", "comment": null, "owner": "awsuser"}, "columns": {"id": {"type": "bigint", "index": 1, "name": "id", "comment": null}, "customer_id": {"type": "bigint", "index": 2, "name": "customer_id", "comment": null}, "address_id": {"type": "bigint", "index": 3, "name": "address_id", "comment": null}, "charge_id": {"type": "bigint", "index": 4, "name": "charge_id", "comment": null}, "is_deleted": {"type": "boolean", "index": 5, "name": "is_deleted", "comment": null}, "email": {"type": "character varying(19)", "index": 6, "name": "email", "comment": null}, "transaction_id": {"type": "character varying(28)", "index": 7, "name": "transaction_id", "comment": null}, "charge_status": {"type": "character varying(7)", "index": 8, "name": "charge_status", "comment": null}, "is_prepaid": {"type": "boolean", "index": 9, "name": "is_prepaid", "comment": null}, "status": {"type": "character varying(7)", "index": 10, "name": "status", "comment": null}, "total_price": {"type": "character varying(256)", "index": 11, "name": "total_price", "comment": null}, "type": {"type": "character varying(9)", "index": 12, "name": "type", "comment": null}, "external_order_id_ecommerce": {"type": "integer", "index": 13, "name": "external_order_id_ecommerce", "comment": null}, "external_order_number_ecommerce": {"type": "integer", "index": 14, "name": "external_order_number_ecommerce", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 15, "name": "created_at", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 16, "name": "updated_at", "comment": null}, "processed_at": {"type": "timestamp without time zone", "index": 17, "name": "processed_at", "comment": null}, "scheduled_at": {"type": "timestamp without time zone", "index": 18, "name": "scheduled_at", "comment": null}, "shipped_date": {"type": "timestamp without time zone", "index": 19, "name": "shipped_date", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 20, "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": "model.recharge_source.stg_recharge__order_tmp"}, "model.recharge_source.stg_recharge__subscription_history_tmp": {"metadata": {"type": "VIEW", "schema": "recharge_integration_tests_03_recharge_source", "name": "stg_recharge__subscription_history_tmp", "database": "redshift-test-kristin", "comment": null, "owner": "awsuser"}, "columns": {"subscription_id": {"type": "bigint", "index": 1, "name": "subscription_id", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 2, "name": "updated_at", "comment": null}, "address_id": {"type": "bigint", "index": 3, "name": "address_id", "comment": null}, "customer_id": {"type": "bigint", "index": 4, "name": "customer_id", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 5, "name": "created_at", "comment": null}, "cancelled_at": {"type": "timestamp without time zone", "index": 6, "name": "cancelled_at", "comment": null}, "next_charge_scheduled_at": {"type": "timestamp without time zone", "index": 7, "name": "next_charge_scheduled_at", "comment": null}, "price": {"type": "double precision", "index": 8, "name": "price", "comment": null}, "quantity": {"type": "integer", "index": 9, "name": "quantity", "comment": null}, "cancellation_reason": {"type": "character varying(16)", "index": 10, "name": "cancellation_reason", "comment": null}, "status": {"type": "character varying(9)", "index": 11, "name": "status", "comment": null}, "cancellation_reason_comments": {"type": "integer", "index": 12, "name": "cancellation_reason_comments", "comment": null}, "variant_title": {"type": "character varying(43)", "index": 13, "name": "variant_title", "comment": null}, "external_product_id_ecommerce": {"type": "bigint", "index": 14, "name": "external_product_id_ecommerce", "comment": null}, "external_variant_id_ecommerce": {"type": "bigint", "index": 15, "name": "external_variant_id_ecommerce", "comment": null}, "sku": {"type": "character varying(5)", "index": 16, "name": "sku", "comment": null}, "order_interval_unit": {"type": "character varying(3)", "index": 17, "name": "order_interval_unit", "comment": null}, "order_interval_frequency": {"type": "integer", "index": 18, "name": "order_interval_frequency", "comment": null}, "charge_interval_frequency": {"type": "integer", "index": 19, "name": "charge_interval_frequency", "comment": null}, "order_day_of_week": {"type": "integer", "index": 20, "name": "order_day_of_week", "comment": null}, "order_day_of_month": {"type": "integer", "index": 21, "name": "order_day_of_month", "comment": null}, "expire_after_specific_number_of_charges": {"type": "integer", "index": 22, "name": "expire_after_specific_number_of_charges", "comment": null}, "_fivetran_deleted": {"type": "boolean", "index": 23, "name": "_fivetran_deleted", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 24, "name": "_fivetran_synced", "comment": null}, "product_title": {"type": "character varying(16)", "index": 25, "name": "product_title", "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.recharge_source.stg_recharge__subscription_history_tmp"}, "model.recharge_source.stg_recharge__subscription_tmp": {"metadata": {"type": "VIEW", "schema": "recharge_integration_tests_03_recharge_source", "name": "stg_recharge__subscription_tmp", "database": "redshift-test-kristin", "comment": null, "owner": "awsuser"}, "columns": {"id": {"type": "bigint", "index": 1, "name": "id", "comment": null}, "address_id": {"type": "bigint", "index": 2, "name": "address_id", "comment": null}, "customer_id": {"type": "bigint", "index": 3, "name": "customer_id", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 4, "name": "created_at", "comment": null}, "cancelled_at": {"type": "timestamp without time zone", "index": 5, "name": "cancelled_at", "comment": null}, "next_charge_scheduled_at": {"type": "timestamp without time zone", "index": 6, "name": "next_charge_scheduled_at", "comment": null}, "price": {"type": "double precision", "index": 7, "name": "price", "comment": null}, "quantity": {"type": "integer", "index": 8, "name": "quantity", "comment": null}, "cancellation_reason": {"type": "character varying(21)", "index": 9, "name": "cancellation_reason", "comment": null}, "status": {"type": "character varying(9)", "index": 10, "name": "status", "comment": null}, "cancellation_reason_comments": {"type": "integer", "index": 11, "name": "cancellation_reason_comments", "comment": null}, "product_title": {"type": "character varying(16)", "index": 12, "name": "product_title", "comment": null}, "variant_title": {"type": "character varying(16)", "index": 13, "name": "variant_title", "comment": null}, "external_product_id_ecommerce": {"type": "bigint", "index": 14, "name": "external_product_id_ecommerce", "comment": null}, "external_variant_id_ecommerce": {"type": "bigint", "index": 15, "name": "external_variant_id_ecommerce", "comment": null}, "sku": {"type": "character varying(5)", "index": 16, "name": "sku", "comment": null}, "order_interval_unit": {"type": "character varying(3)", "index": 17, "name": "order_interval_unit", "comment": null}, "order_interval_frequency": {"type": "integer", "index": 18, "name": "order_interval_frequency", "comment": null}, "charge_interval_frequency": {"type": "integer", "index": 19, "name": "charge_interval_frequency", "comment": null}, "order_day_of_week": {"type": "integer", "index": 20, "name": "order_day_of_week", "comment": null}, "order_day_of_month": {"type": "integer", "index": 21, "name": "order_day_of_month", "comment": null}, "expire_after_specific_number_of_charges": {"type": "integer", "index": 22, "name": "expire_after_specific_number_of_charges", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 23, "name": "updated_at", "comment": null}, "_fivetran_deleted": {"type": "boolean", "index": 24, "name": "_fivetran_deleted", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 25, "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": "model.recharge_source.stg_recharge__subscription_tmp"}}, "sources": {"source.recharge_source.recharge.address_discounts": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03", "name": "address_discounts_data", "database": "redshift-test-kristin", "comment": null, "owner": "awsuser"}, "columns": {"id": {"type": "bigint", "index": 1, "name": "id", "comment": null}, "address_id": {"type": "bigint", "index": 2, "name": "address_id", "comment": null}, "index": {"type": "integer", "index": 3, "name": "index", "comment": null}, "_fivetran_deleted": {"type": "boolean", "index": 4, "name": "_fivetran_deleted", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 5, "name": "_fivetran_synced", "comment": null}}, "stats": {"size": {"id": "size", "label": "Approximate Size", "value": 8000000.0, "include": true, "description": "Approximate size of the table, calculated from a count of 1MB blocks"}, "stats_off": {"id": "stats_off", "label": "Stats Off", "value": 100.0, "include": true, "description": "Number that indicates how stale the table statistics are; 0 is current, 100 is out of date."}, "sortkey1": {"id": "sortkey1", "label": "Sort Key 1", "value": "AUTO(SORTKEY)", "include": true, "description": "First column in the sort key."}, "max_varchar": {"id": "max_varchar", "label": "Max Varchar", "value": 0.0, "include": true, "description": "Size of the largest column that uses a VARCHAR data type."}, "encoded": {"id": "encoded", "label": "Encoded", "value": "Y, AUTO(ENCODE)", "include": true, "description": "Indicates whether any column in the table has compression encoding defined."}, "diststyle": {"id": "diststyle", "label": "Dist Style", "value": "AUTO(ALL)", "include": true, "description": "Distribution style or distribution key column, if key distribution is defined."}, "pct_used": {"id": "pct_used", "label": "Disk Utilization", "value": 2.2e-05, "include": true, "description": "Percent of available space that is used by the table."}, "rows": {"id": "rows", "label": "Approximate Row Count", "value": 2.0, "include": true, "description": "Approximate number of rows in the table. This value includes rows marked for deletion, but not yet vacuumed."}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.recharge_source.recharge.address_discounts"}, "source.recharge_source.recharge.address": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03", "name": "address_data", "database": "redshift-test-kristin", "comment": null, "owner": "awsuser"}, "columns": {"id": {"type": "bigint", "index": 1, "name": "id", "comment": null}, "customer_id": {"type": "bigint", "index": 2, "name": "customer_id", "comment": null}, "first_name": {"type": "character varying(7)", "index": 3, "name": "first_name", "comment": null}, "last_name": {"type": "character varying(6)", "index": 4, "name": "last_name", "comment": null}, "address_1": {"type": "character varying(17)", "index": 5, "name": "address_1", "comment": null}, "address_2": {"type": "character varying(17)", "index": 6, "name": "address_2", "comment": null}, "city": {"type": "character varying(6)", "index": 7, "name": "city", "comment": null}, "province": {"type": "integer", "index": 8, "name": "province", "comment": null}, "country_code": {"type": "character varying(9)", "index": 9, "name": "country_code", "comment": null}, "zip": {"type": "character varying(5)", "index": 10, "name": "zip", "comment": null}, "company": {"type": "integer", "index": 11, "name": "company", "comment": null}, "phone": {"type": "character varying(7)", "index": 12, "name": "phone", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 13, "name": "created_at", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 14, "name": "updated_at", "comment": null}, "_fivetran_deleted": {"type": "boolean", "index": 15, "name": "_fivetran_deleted", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 16, "name": "_fivetran_synced", "comment": null}}, "stats": {"size": {"id": "size", "label": "Approximate Size", "value": 19000000.0, "include": true, "description": "Approximate size of the table, calculated from a count of 1MB blocks"}, "stats_off": {"id": "stats_off", "label": "Stats Off", "value": 100.0, "include": true, "description": "Number that indicates how stale the table statistics are; 0 is current, 100 is out of date."}, "sortkey1": {"id": "sortkey1", "label": "Sort Key 1", "value": "AUTO(SORTKEY)", "include": true, "description": "First column in the sort key."}, "max_varchar": {"id": "max_varchar", "label": "Max Varchar", "value": 17.0, "include": true, "description": "Size of the largest column that uses a VARCHAR data type."}, "encoded": {"id": "encoded", "label": "Encoded", "value": "Y, AUTO(ENCODE)", "include": true, "description": "Indicates whether any column in the table has compression encoding defined."}, "diststyle": {"id": "diststyle", "label": "Dist Style", "value": "AUTO(ALL)", "include": true, "description": "Distribution style or distribution key column, if key distribution is defined."}, "pct_used": {"id": "pct_used", "label": "Disk Utilization", "value": 5.2e-05, "include": true, "description": "Percent of available space that is used by the table."}, "rows": {"id": "rows", "label": "Approximate Row Count", "value": 2.0, "include": true, "description": "Approximate number of rows in the table. This value includes rows marked for deletion, but not yet vacuumed."}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.recharge_source.recharge.address"}, "source.recharge_source.recharge.charge_order_attribute": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03", "name": "charge_order_attribute_data", "database": "redshift-test-kristin", "comment": null, "owner": "awsuser"}, "columns": {"charge_id": {"type": "bigint", "index": 1, "name": "charge_id", "comment": null}, "index": {"type": "integer", "index": 2, "name": "index", "comment": null}, "order_attribute": {"type": "character varying(173)", "index": 3, "name": "order_attribute", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 4, "name": "_fivetran_synced", "comment": null}}, "stats": {"size": {"id": "size", "label": "Approximate Size", "value": 7000000.0, "include": true, "description": "Approximate size of the table, calculated from a count of 1MB blocks"}, "stats_off": {"id": "stats_off", "label": "Stats Off", "value": 100.0, "include": true, "description": "Number that indicates how stale the table statistics are; 0 is current, 100 is out of date."}, "sortkey1": {"id": "sortkey1", "label": "Sort Key 1", "value": "AUTO(SORTKEY)", "include": true, "description": "First column in the sort key."}, "max_varchar": {"id": "max_varchar", "label": "Max Varchar", "value": 173.0, "include": true, "description": "Size of the largest column that uses a VARCHAR data type."}, "encoded": {"id": "encoded", "label": "Encoded", "value": "Y, AUTO(ENCODE)", "include": true, "description": "Indicates whether any column in the table has compression encoding defined."}, "diststyle": {"id": "diststyle", "label": "Dist Style", "value": "AUTO(ALL)", "include": true, "description": "Distribution style or distribution key column, if key distribution is defined."}, "pct_used": {"id": "pct_used", "label": "Disk Utilization", "value": 1.9e-05, "include": true, "description": "Percent of available space that is used by the table."}, "rows": {"id": "rows", "label": "Approximate Row Count", "value": 2.0, "include": true, "description": "Approximate number of rows in the table. This value includes rows marked for deletion, but not yet vacuumed."}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.recharge_source.recharge.charge_order_attribute"}, "source.recharge_source.recharge.charge_shipping_line": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03", "name": "charge_shipping_line_data", "database": "redshift-test-kristin", "comment": null, "owner": "awsuser"}, "columns": {"charge_id": {"type": "bigint", "index": 1, "name": "charge_id", "comment": null}, "index": {"type": "integer", "index": 2, "name": "index", "comment": null}, "price": {"type": "double precision", "index": 3, "name": "price", "comment": null}, "code": {"type": "character varying(7)", "index": 4, "name": "code", "comment": null}, "title": {"type": "character varying(8)", "index": 5, "name": "title", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 6, "name": "_fivetran_synced", "comment": null}}, "stats": {"size": {"id": "size", "label": "Approximate Size", "value": 9000000.0, "include": true, "description": "Approximate size of the table, calculated from a count of 1MB blocks"}, "stats_off": {"id": "stats_off", "label": "Stats Off", "value": 100.0, "include": true, "description": "Number that indicates how stale the table statistics are; 0 is current, 100 is out of date."}, "sortkey1": {"id": "sortkey1", "label": "Sort Key 1", "value": "AUTO(SORTKEY)", "include": true, "description": "First column in the sort key."}, "max_varchar": {"id": "max_varchar", "label": "Max Varchar", "value": 8.0, "include": true, "description": "Size of the largest column that uses a VARCHAR data type."}, "encoded": {"id": "encoded", "label": "Encoded", "value": "Y, AUTO(ENCODE)", "include": true, "description": "Indicates whether any column in the table has compression encoding defined."}, "diststyle": {"id": "diststyle", "label": "Dist Style", "value": "AUTO(ALL)", "include": true, "description": "Distribution style or distribution key column, if key distribution is defined."}, "pct_used": {"id": "pct_used", "label": "Disk Utilization", "value": 2.4e-05, "include": true, "description": "Percent of available space that is used by the table."}, "rows": {"id": "rows", "label": "Approximate Row Count", "value": 2.0, "include": true, "description": "Approximate number of rows in the table. This value includes rows marked for deletion, but not yet vacuumed."}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.recharge_source.recharge.charge_shipping_line"}, "source.recharge_source.recharge.charge_discount": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03", "name": "charge_discount_data", "database": "redshift-test-kristin", "comment": null, "owner": "awsuser"}, "columns": {"charge_id": {"type": "bigint", "index": 1, "name": "charge_id", "comment": null}, "index": {"type": "integer", "index": 2, "name": "index", "comment": null}, "id": {"type": "bigint", "index": 3, "name": "id", "comment": null}, "code": {"type": "character varying(6)", "index": 4, "name": "code", "comment": null}, "value": {"type": "double precision", "index": 5, "name": "value", "comment": null}, "value_type": {"type": "character varying(10)", "index": 6, "name": "value_type", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 7, "name": "_fivetran_synced", "comment": null}}, "stats": {"size": {"id": "size", "label": "Approximate Size", "value": 10000000.0, "include": true, "description": "Approximate size of the table, calculated from a count of 1MB blocks"}, "stats_off": {"id": "stats_off", "label": "Stats Off", "value": 100.0, "include": true, "description": "Number that indicates how stale the table statistics are; 0 is current, 100 is out of date."}, "sortkey1": {"id": "sortkey1", "label": "Sort Key 1", "value": "AUTO(SORTKEY)", "include": true, "description": "First column in the sort key."}, "max_varchar": {"id": "max_varchar", "label": "Max Varchar", "value": 10.0, "include": true, "description": "Size of the largest column that uses a VARCHAR data type."}, "encoded": {"id": "encoded", "label": "Encoded", "value": "Y, AUTO(ENCODE)", "include": true, "description": "Indicates whether any column in the table has compression encoding defined."}, "diststyle": {"id": "diststyle", "label": "Dist Style", "value": "AUTO(ALL)", "include": true, "description": "Distribution style or distribution key column, if key distribution is defined."}, "pct_used": {"id": "pct_used", "label": "Disk Utilization", "value": 2.7e-05, "include": true, "description": "Percent of available space that is used by the table."}, "rows": {"id": "rows", "label": "Approximate Row Count", "value": 2.0, "include": true, "description": "Approximate number of rows in the table. This value includes rows marked for deletion, but not yet vacuumed."}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.recharge_source.recharge.charge_discount"}, "source.recharge_source.recharge.charge": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03", "name": "charge_data", "database": "redshift-test-kristin", "comment": null, "owner": "awsuser"}, "columns": {"id": {"type": "bigint", "index": 1, "name": "id", "comment": null}, "address_id": {"type": "bigint", "index": 2, "name": "address_id", "comment": null}, "customer_id": {"type": "bigint", "index": 3, "name": "customer_id", "comment": null}, "customer_hash": {"type": "character varying(31)", "index": 4, "name": "customer_hash", "comment": null}, "note": {"type": "character varying(25)", "index": 5, "name": "note", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 6, "name": "created_at", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 7, "name": "updated_at", "comment": null}, "processed_at": {"type": "timestamp without time zone", "index": 8, "name": "processed_at", "comment": null}, "scheduled_at": {"type": "timestamp without time zone", "index": 9, "name": "scheduled_at", "comment": null}, "orders_count": {"type": "integer", "index": 10, "name": "orders_count", "comment": null}, "external_order_id_ecommerce": {"type": "integer", "index": 11, "name": "external_order_id_ecommerce", "comment": null}, "subtotal_price": {"type": "double precision", "index": 12, "name": "subtotal_price", "comment": null}, "tags": {"type": "character varying(42)", "index": 13, "name": "tags", "comment": null}, "tax_lines": {"type": "double precision", "index": 14, "name": "tax_lines", "comment": null}, "total_discounts": {"type": "integer", "index": 15, "name": "total_discounts", "comment": null}, "total_line_items_price": {"type": "double precision", "index": 16, "name": "total_line_items_price", "comment": null}, "total_price": {"type": "character varying(256)", "index": 17, "name": "total_price", "comment": null}, "total_tax": {"type": "double precision", "index": 18, "name": "total_tax", "comment": null}, "total_weight_grams": {"type": "integer", "index": 19, "name": "total_weight_grams", "comment": null}, "type": {"type": "character varying(9)", "index": 20, "name": "type", "comment": null}, "status": {"type": "character varying(6)", "index": 21, "name": "status", "comment": null}, "total_refunds": {"type": "integer", "index": 22, "name": "total_refunds", "comment": null}, "external_transaction_id_payment_processor": {"type": "integer", "index": 23, "name": "external_transaction_id_payment_processor", "comment": null}, "email": {"type": "character varying(19)", "index": 24, "name": "email", "comment": null}, "payment_processor": {"type": "character varying(9)", "index": 25, "name": "payment_processor", "comment": null}, "has_uncommited_changes": {"type": "boolean", "index": 26, "name": "has_uncommited_changes", "comment": null}, "retry_date": {"type": "timestamp without time zone", "index": 27, "name": "retry_date", "comment": null}, "error_type": {"type": "integer", "index": 28, "name": "error_type", "comment": null}, "error": {"type": "integer", "index": 29, "name": "error", "comment": null}, "charge_attempts": {"type": "integer", "index": 30, "name": "charge_attempts", "comment": null}, "external_variant_id_not_found": {"type": "integer", "index": 31, "name": "external_variant_id_not_found", "comment": null}, "client_details_browser_ip": {"type": "integer", "index": 32, "name": "client_details_browser_ip", "comment": null}, "client_details_user_agent": {"type": "integer", "index": 33, "name": "client_details_user_agent", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 34, "name": "_fivetran_synced", "comment": null}, "last_charge_attempt_date": {"type": "timestamp without time zone", "index": 35, "name": "last_charge_attempt_date", "comment": null}}, "stats": {"size": {"id": "size", "label": "Approximate Size", "value": 38000000.0, "include": true, "description": "Approximate size of the table, calculated from a count of 1MB blocks"}, "stats_off": {"id": "stats_off", "label": "Stats Off", "value": 100.0, "include": true, "description": "Number that indicates how stale the table statistics are; 0 is current, 100 is out of date."}, "sortkey1": {"id": "sortkey1", "label": "Sort Key 1", "value": "AUTO(SORTKEY)", "include": true, "description": "First column in the sort key."}, "max_varchar": {"id": "max_varchar", "label": "Max Varchar", "value": 256.0, "include": true, "description": "Size of the largest column that uses a VARCHAR data type."}, "encoded": {"id": "encoded", "label": "Encoded", "value": "Y, AUTO(ENCODE)", "include": true, "description": "Indicates whether any column in the table has compression encoding defined."}, "diststyle": {"id": "diststyle", "label": "Dist Style", "value": "AUTO(ALL)", "include": true, "description": "Distribution style or distribution key column, if key distribution is defined."}, "pct_used": {"id": "pct_used", "label": "Disk Utilization", "value": 0.000105, "include": true, "description": "Percent of available space that is used by the table."}, "rows": {"id": "rows", "label": "Approximate Row Count", "value": 2.0, "include": true, "description": "Approximate number of rows in the table. This value includes rows marked for deletion, but not yet vacuumed."}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.recharge_source.recharge.charge"}, "source.recharge_source.recharge.address_shipping_line": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03", "name": "address_shipping_line_data", "database": "redshift-test-kristin", "comment": null, "owner": "awsuser"}, "columns": {"address_id": {"type": "bigint", "index": 1, "name": "address_id", "comment": null}, "index": {"type": "integer", "index": 2, "name": "index", "comment": null}, "price": {"type": "double precision", "index": 3, "name": "price", "comment": null}, "code": {"type": "character varying(6)", "index": 4, "name": "code", "comment": null}, "title": {"type": "character varying(7)", "index": 5, "name": "title", "comment": null}, "_fivetran_deleted": {"type": "boolean", "index": 6, "name": "_fivetran_deleted", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 7, "name": "_fivetran_synced", "comment": null}}, "stats": {"size": {"id": "size", "label": "Approximate Size", "value": 10000000.0, "include": true, "description": "Approximate size of the table, calculated from a count of 1MB blocks"}, "stats_off": {"id": "stats_off", "label": "Stats Off", "value": 100.0, "include": true, "description": "Number that indicates how stale the table statistics are; 0 is current, 100 is out of date."}, "sortkey1": {"id": "sortkey1", "label": "Sort Key 1", "value": "AUTO(SORTKEY)", "include": true, "description": "First column in the sort key."}, "max_varchar": {"id": "max_varchar", "label": "Max Varchar", "value": 7.0, "include": true, "description": "Size of the largest column that uses a VARCHAR data type."}, "encoded": {"id": "encoded", "label": "Encoded", "value": "Y, AUTO(ENCODE)", "include": true, "description": "Indicates whether any column in the table has compression encoding defined."}, "diststyle": {"id": "diststyle", "label": "Dist Style", "value": "AUTO(ALL)", "include": true, "description": "Distribution style or distribution key column, if key distribution is defined."}, "pct_used": {"id": "pct_used", "label": "Disk Utilization", "value": 2.7e-05, "include": true, "description": "Percent of available space that is used by the table."}, "rows": {"id": "rows", "label": "Approximate Row Count", "value": 2.0, "include": true, "description": "Approximate number of rows in the table. This value includes rows marked for deletion, but not yet vacuumed."}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.recharge_source.recharge.address_shipping_line"}, "source.recharge_source.recharge.charge_line_item": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03", "name": "charge_line_item_data", "database": "redshift-test-kristin", "comment": null, "owner": "awsuser"}, "columns": {"charge_id": {"type": "bigint", "index": 1, "name": "charge_id", "comment": null}, "index": {"type": "integer", "index": 2, "name": "index", "comment": null}, "variant_title": {"type": "character varying(16)", "index": 3, "name": "variant_title", "comment": null}, "title": {"type": "character varying(8)", "index": 4, "name": "title", "comment": null}, "quantity": {"type": "integer", "index": 5, "name": "quantity", "comment": null}, "grams": {"type": "integer", "index": 6, "name": "grams", "comment": null}, "total_price": {"type": "character varying(256)", "index": 7, "name": "total_price", "comment": null}, "sku": {"type": "character varying(5)", "index": 8, "name": "sku", "comment": null}, "external_product_id_ecommerce": {"type": "bigint", "index": 9, "name": "external_product_id_ecommerce", "comment": null}, "vendor": {"type": "character varying(12)", "index": 10, "name": "vendor", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 11, "name": "_fivetran_synced", "comment": null}, "unit_price": {"type": "double precision", "index": 12, "name": "unit_price", "comment": null}, "tax_due": {"type": "integer", "index": 13, "name": "tax_due", "comment": null}, "taxable": {"type": "boolean", "index": 14, "name": "taxable", "comment": null}, "taxable_amount": {"type": "integer", "index": 15, "name": "taxable_amount", "comment": null}, "unit_price_includes_tax": {"type": "boolean", "index": 16, "name": "unit_price_includes_tax", "comment": null}, "purchase_item_id": {"type": "integer", "index": 17, "name": "purchase_item_id", "comment": null}, "purchase_item_type": {"type": "character varying(5)", "index": 18, "name": "purchase_item_type", "comment": null}, "external_variant_id_ecommerce": {"type": "bigint", "index": 19, "name": "external_variant_id_ecommerce", "comment": null}}, "stats": {"size": {"id": "size", "label": "Approximate Size", "value": 22000000.0, "include": true, "description": "Approximate size of the table, calculated from a count of 1MB blocks"}, "stats_off": {"id": "stats_off", "label": "Stats Off", "value": 100.0, "include": true, "description": "Number that indicates how stale the table statistics are; 0 is current, 100 is out of date."}, "sortkey1": {"id": "sortkey1", "label": "Sort Key 1", "value": "AUTO(SORTKEY)", "include": true, "description": "First column in the sort key."}, "max_varchar": {"id": "max_varchar", "label": "Max Varchar", "value": 256.0, "include": true, "description": "Size of the largest column that uses a VARCHAR data type."}, "encoded": {"id": "encoded", "label": "Encoded", "value": "Y, AUTO(ENCODE)", "include": true, "description": "Indicates whether any column in the table has compression encoding defined."}, "diststyle": {"id": "diststyle", "label": "Dist Style", "value": "AUTO(ALL)", "include": true, "description": "Distribution style or distribution key column, if key distribution is defined."}, "pct_used": {"id": "pct_used", "label": "Disk Utilization", "value": 6e-05, "include": true, "description": "Percent of available space that is used by the table."}, "rows": {"id": "rows", "label": "Approximate Row Count", "value": 2.0, "include": true, "description": "Approximate number of rows in the table. This value includes rows marked for deletion, but not yet vacuumed."}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.recharge_source.recharge.charge_line_item"}, "source.recharge_source.recharge.discount": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03", "name": "discount_data", "database": "redshift-test-kristin", "comment": null, "owner": "awsuser"}, "columns": {"id": {"type": "bigint", "index": 1, "name": "id", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 2, "name": "created_at", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 3, "name": "updated_at", "comment": null}, "starts_at": {"type": "timestamp without time zone", "index": 4, "name": "starts_at", "comment": null}, "ends_at": {"type": "timestamp without time zone", "index": 5, "name": "ends_at", "comment": null}, "code": {"type": "character varying(6)", "index": 6, "name": "code", "comment": null}, "value": {"type": "integer", "index": 7, "name": "value", "comment": null}, "status": {"type": "character varying(7)", "index": 8, "name": "status", "comment": null}, "usage_limits": {"type": "integer", "index": 9, "name": "usage_limits", "comment": null}, "applies_to": {"type": "character varying(21)", "index": 10, "name": "applies_to", "comment": null}, "applies_to_resource": {"type": "character varying(21)", "index": 11, "name": "applies_to_resource", "comment": null}, "applies_to_id": {"type": "bigint", "index": 12, "name": "applies_to_id", "comment": null}, "applies_to_product_type": {"type": "character varying(12)", "index": 13, "name": "applies_to_product_type", "comment": null}, "minimum_order_amount": {"type": "integer", "index": 14, "name": "minimum_order_amount", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 15, "name": "_fivetran_synced", "comment": null}}, "stats": {"size": {"id": "size", "label": "Approximate Size", "value": 18000000.0, "include": true, "description": "Approximate size of the table, calculated from a count of 1MB blocks"}, "stats_off": {"id": "stats_off", "label": "Stats Off", "value": 100.0, "include": true, "description": "Number that indicates how stale the table statistics are; 0 is current, 100 is out of date."}, "sortkey1": {"id": "sortkey1", "label": "Sort Key 1", "value": "AUTO(SORTKEY)", "include": true, "description": "First column in the sort key."}, "max_varchar": {"id": "max_varchar", "label": "Max Varchar", "value": 21.0, "include": true, "description": "Size of the largest column that uses a VARCHAR data type."}, "encoded": {"id": "encoded", "label": "Encoded", "value": "Y, AUTO(ENCODE)", "include": true, "description": "Indicates whether any column in the table has compression encoding defined."}, "diststyle": {"id": "diststyle", "label": "Dist Style", "value": "AUTO(ALL)", "include": true, "description": "Distribution style or distribution key column, if key distribution is defined."}, "pct_used": {"id": "pct_used", "label": "Disk Utilization", "value": 4.9e-05, "include": true, "description": "Percent of available space that is used by the table."}, "rows": {"id": "rows", "label": "Approximate Row Count", "value": 2.0, "include": true, "description": "Approximate number of rows in the table. This value includes rows marked for deletion, but not yet vacuumed."}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.recharge_source.recharge.discount"}, "source.recharge_source.recharge.charge_tax_line": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03", "name": "charge_tax_line_data", "database": "redshift-test-kristin", "comment": null, "owner": "awsuser"}, "columns": {"charge_id": {"type": "bigint", "index": 1, "name": "charge_id", "comment": null}, "index": {"type": "integer", "index": 2, "name": "index", "comment": null}, "price": {"type": "double precision", "index": 3, "name": "price", "comment": null}, "rate": {"type": "double precision", "index": 4, "name": "rate", "comment": null}, "title": {"type": "character varying(8)", "index": 5, "name": "title", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 6, "name": "_fivetran_synced", "comment": null}}, "stats": {"size": {"id": "size", "label": "Approximate Size", "value": 9000000.0, "include": true, "description": "Approximate size of the table, calculated from a count of 1MB blocks"}, "stats_off": {"id": "stats_off", "label": "Stats Off", "value": 100.0, "include": true, "description": "Number that indicates how stale the table statistics are; 0 is current, 100 is out of date."}, "sortkey1": {"id": "sortkey1", "label": "Sort Key 1", "value": "AUTO(SORTKEY)", "include": true, "description": "First column in the sort key."}, "max_varchar": {"id": "max_varchar", "label": "Max Varchar", "value": 8.0, "include": true, "description": "Size of the largest column that uses a VARCHAR data type."}, "encoded": {"id": "encoded", "label": "Encoded", "value": "Y, AUTO(ENCODE)", "include": true, "description": "Indicates whether any column in the table has compression encoding defined."}, "diststyle": {"id": "diststyle", "label": "Dist Style", "value": "AUTO(ALL)", "include": true, "description": "Distribution style or distribution key column, if key distribution is defined."}, "pct_used": {"id": "pct_used", "label": "Disk Utilization", "value": 2.4e-05, "include": true, "description": "Percent of available space that is used by the table."}, "rows": {"id": "rows", "label": "Approximate Row Count", "value": 2.0, "include": true, "description": "Approximate number of rows in the table. This value includes rows marked for deletion, but not yet vacuumed."}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.recharge_source.recharge.charge_tax_line"}, "source.recharge_source.recharge.one_time_product": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03", "name": "one_time_product_data", "database": "redshift-test-kristin", "comment": null, "owner": "awsuser"}, "columns": {"id": {"type": "bigint", "index": 1, "name": "id", "comment": null}, "address_id": {"type": "bigint", "index": 2, "name": "address_id", "comment": null}, "customer_id": {"type": "bigint", "index": 3, "name": "customer_id", "comment": null}, "is_deleted": {"type": "boolean", "index": 4, "name": "is_deleted", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 5, "name": "created_at", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 6, "name": "updated_at", "comment": null}, "next_charge_scheduled_at": {"type": "timestamp without time zone", "index": 7, "name": "next_charge_scheduled_at", "comment": null}, "product_title": {"type": "character varying(16)", "index": 8, "name": "product_title", "comment": null}, "variant_title": {"type": "integer", "index": 9, "name": "variant_title", "comment": null}, "price": {"type": "integer", "index": 10, "name": "price", "comment": null}, "quantity": {"type": "integer", "index": 11, "name": "quantity", "comment": null}, "external_product_id_ecommerce": {"type": "bigint", "index": 12, "name": "external_product_id_ecommerce", "comment": null}, "external_variant_id_ecommerce": {"type": "bigint", "index": 13, "name": "external_variant_id_ecommerce", "comment": null}, "sku": {"type": "integer", "index": 14, "name": "sku", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 15, "name": "_fivetran_synced", "comment": null}}, "stats": {"size": {"id": "size", "label": "Approximate Size", "value": 18000000.0, "include": true, "description": "Approximate size of the table, calculated from a count of 1MB blocks"}, "stats_off": {"id": "stats_off", "label": "Stats Off", "value": 100.0, "include": true, "description": "Number that indicates how stale the table statistics are; 0 is current, 100 is out of date."}, "sortkey1": {"id": "sortkey1", "label": "Sort Key 1", "value": "AUTO(SORTKEY)", "include": true, "description": "First column in the sort key."}, "max_varchar": {"id": "max_varchar", "label": "Max Varchar", "value": 16.0, "include": true, "description": "Size of the largest column that uses a VARCHAR data type."}, "encoded": {"id": "encoded", "label": "Encoded", "value": "Y, AUTO(ENCODE)", "include": true, "description": "Indicates whether any column in the table has compression encoding defined."}, "diststyle": {"id": "diststyle", "label": "Dist Style", "value": "AUTO(ALL)", "include": true, "description": "Distribution style or distribution key column, if key distribution is defined."}, "pct_used": {"id": "pct_used", "label": "Disk Utilization", "value": 4.9e-05, "include": true, "description": "Percent of available space that is used by the table."}, "rows": {"id": "rows", "label": "Approximate Row Count", "value": 2.0, "include": true, "description": "Approximate number of rows in the table. This value includes rows marked for deletion, but not yet vacuumed."}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.recharge_source.recharge.one_time_product"}, "source.recharge_source.recharge.customer": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03", "name": "customer_data", "database": "redshift-test-kristin", "comment": null, "owner": "awsuser"}, "columns": {"id": {"type": "bigint", "index": 1, "name": "id", "comment": null}, "hash": {"type": "character varying(31)", "index": 2, "name": "hash", "comment": null}, "external_customer_id_ecommerce": {"type": "integer", "index": 3, "name": "external_customer_id_ecommerce", "comment": null}, "email": {"type": "character varying(19)", "index": 4, "name": "email", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 5, "name": "created_at", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 6, "name": "updated_at", "comment": null}, "first_charge_processed_at": {"type": "timestamp without time zone", "index": 7, "name": "first_charge_processed_at", "comment": null}, "first_name": {"type": "character varying(7)", "index": 8, "name": "first_name", "comment": null}, "last_name": {"type": "character varying(6)", "index": 9, "name": "last_name", "comment": null}, "subscriptions_active_count": {"type": "integer", "index": 10, "name": "subscriptions_active_count", "comment": null}, "subscriptions_total_count": {"type": "integer", "index": 11, "name": "subscriptions_total_count", "comment": null}, "has_valid_payment_method": {"type": "boolean", "index": 12, "name": "has_valid_payment_method", "comment": null}, "has_payment_method_in_dunning": {"type": "boolean", "index": 13, "name": "has_payment_method_in_dunning", "comment": null}, "_fivetran_deleted": {"type": "boolean", "index": 14, "name": "_fivetran_deleted", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 15, "name": "_fivetran_synced", "comment": null}, "tax_exempt": {"type": "boolean", "index": 16, "name": "tax_exempt", "comment": null}}, "stats": {"size": {"id": "size", "label": "Approximate Size", "value": 19000000.0, "include": true, "description": "Approximate size of the table, calculated from a count of 1MB blocks"}, "stats_off": {"id": "stats_off", "label": "Stats Off", "value": 100.0, "include": true, "description": "Number that indicates how stale the table statistics are; 0 is current, 100 is out of date."}, "sortkey1": {"id": "sortkey1", "label": "Sort Key 1", "value": "AUTO(SORTKEY)", "include": true, "description": "First column in the sort key."}, "max_varchar": {"id": "max_varchar", "label": "Max Varchar", "value": 31.0, "include": true, "description": "Size of the largest column that uses a VARCHAR data type."}, "encoded": {"id": "encoded", "label": "Encoded", "value": "Y, AUTO(ENCODE)", "include": true, "description": "Indicates whether any column in the table has compression encoding defined."}, "diststyle": {"id": "diststyle", "label": "Dist Style", "value": "AUTO(ALL)", "include": true, "description": "Distribution style or distribution key column, if key distribution is defined."}, "pct_used": {"id": "pct_used", "label": "Disk Utilization", "value": 5.2e-05, "include": true, "description": "Percent of available space that is used by the table."}, "rows": {"id": "rows", "label": "Approximate Row Count", "value": 2.0, "include": true, "description": "Approximate number of rows in the table. This value includes rows marked for deletion, but not yet vacuumed."}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.recharge_source.recharge.customer"}, "source.recharge_source.recharge.order_line_item": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03", "name": "order_line_item_data", "database": "redshift-test-kristin", "comment": null, "owner": "awsuser"}, "columns": {"order_id": {"type": "integer", "index": 1, "name": "order_id", "comment": null}, "index": {"type": "integer", "index": 2, "name": "index", "comment": null}, "variant_title": {"type": "character varying(43)", "index": 3, "name": "variant_title", "comment": null}, "title": {"type": "character varying(7)", "index": 4, "name": "title", "comment": null}, "quantity": {"type": "integer", "index": 5, "name": "quantity", "comment": null}, "grams": {"type": "integer", "index": 6, "name": "grams", "comment": null}, "total_price": {"type": "character varying(256)", "index": 7, "name": "total_price", "comment": null}, "sku": {"type": "character varying(5)", "index": 8, "name": "sku", "comment": null}, "external_product_id_ecommerce": {"type": "bigint", "index": 9, "name": "external_product_id_ecommerce", "comment": null}, "external_variant_id_ecommerce": {"type": "bigint", "index": 10, "name": "external_variant_id_ecommerce", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 11, "name": "_fivetran_synced", "comment": null}, "unit_price": {"type": "double precision", "index": 12, "name": "unit_price", "comment": null}, "tax_due": {"type": "integer", "index": 13, "name": "tax_due", "comment": null}, "taxable": {"type": "boolean", "index": 14, "name": "taxable", "comment": null}, "taxable_amount": {"type": "integer", "index": 15, "name": "taxable_amount", "comment": null}, "unit_price_includes_tax": {"type": "boolean", "index": 16, "name": "unit_price_includes_tax", "comment": null}, "purchase_item_id": {"type": "integer", "index": 17, "name": "purchase_item_id", "comment": null}, "purchase_item_type": {"type": "character varying(5)", "index": 18, "name": "purchase_item_type", "comment": null}}, "stats": {"size": {"id": "size", "label": "Approximate Size", "value": 21000000.0, "include": true, "description": "Approximate size of the table, calculated from a count of 1MB blocks"}, "stats_off": {"id": "stats_off", "label": "Stats Off", "value": 100.0, "include": true, "description": "Number that indicates how stale the table statistics are; 0 is current, 100 is out of date."}, "sortkey1": {"id": "sortkey1", "label": "Sort Key 1", "value": "AUTO(SORTKEY)", "include": true, "description": "First column in the sort key."}, "max_varchar": {"id": "max_varchar", "label": "Max Varchar", "value": 256.0, "include": true, "description": "Size of the largest column that uses a VARCHAR data type."}, "encoded": {"id": "encoded", "label": "Encoded", "value": "Y, AUTO(ENCODE)", "include": true, "description": "Indicates whether any column in the table has compression encoding defined."}, "diststyle": {"id": "diststyle", "label": "Dist Style", "value": "AUTO(ALL)", "include": true, "description": "Distribution style or distribution key column, if key distribution is defined."}, "pct_used": {"id": "pct_used", "label": "Disk Utilization", "value": 5.8e-05, "include": true, "description": "Percent of available space that is used by the table."}, "rows": {"id": "rows", "label": "Approximate Row Count", "value": 2.0, "include": true, "description": "Approximate number of rows in the table. This value includes rows marked for deletion, but not yet vacuumed."}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.recharge_source.recharge.order_line_item"}, "source.recharge_source.recharge.subscription_history": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03", "name": "subscription_history_data", "database": "redshift-test-kristin", "comment": null, "owner": "awsuser"}, "columns": {"subscription_id": {"type": "bigint", "index": 1, "name": "subscription_id", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 2, "name": "updated_at", "comment": null}, "address_id": {"type": "bigint", "index": 3, "name": "address_id", "comment": null}, "customer_id": {"type": "bigint", "index": 4, "name": "customer_id", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 5, "name": "created_at", "comment": null}, "cancelled_at": {"type": "timestamp without time zone", "index": 6, "name": "cancelled_at", "comment": null}, "next_charge_scheduled_at": {"type": "timestamp without time zone", "index": 7, "name": "next_charge_scheduled_at", "comment": null}, "price": {"type": "double precision", "index": 8, "name": "price", "comment": null}, "quantity": {"type": "integer", "index": 9, "name": "quantity", "comment": null}, "cancellation_reason": {"type": "character varying(16)", "index": 10, "name": "cancellation_reason", "comment": null}, "status": {"type": "character varying(9)", "index": 11, "name": "status", "comment": null}, "cancellation_reason_comments": {"type": "integer", "index": 12, "name": "cancellation_reason_comments", "comment": null}, "variant_title": {"type": "character varying(43)", "index": 13, "name": "variant_title", "comment": null}, "external_product_id_ecommerce": {"type": "bigint", "index": 14, "name": "external_product_id_ecommerce", "comment": null}, "external_variant_id_ecommerce": {"type": "bigint", "index": 15, "name": "external_variant_id_ecommerce", "comment": null}, "sku": {"type": "character varying(5)", "index": 16, "name": "sku", "comment": null}, "order_interval_unit": {"type": "character varying(3)", "index": 17, "name": "order_interval_unit", "comment": null}, "order_interval_frequency": {"type": "integer", "index": 18, "name": "order_interval_frequency", "comment": null}, "charge_interval_frequency": {"type": "integer", "index": 19, "name": "charge_interval_frequency", "comment": null}, "order_day_of_week": {"type": "integer", "index": 20, "name": "order_day_of_week", "comment": null}, "order_day_of_month": {"type": "integer", "index": 21, "name": "order_day_of_month", "comment": null}, "expire_after_specific_number_of_charges": {"type": "integer", "index": 22, "name": "expire_after_specific_number_of_charges", "comment": null}, "_fivetran_deleted": {"type": "boolean", "index": 23, "name": "_fivetran_deleted", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 24, "name": "_fivetran_synced", "comment": null}, "product_title": {"type": "character varying(16)", "index": 25, "name": "product_title", "comment": null}}, "stats": {"size": {"id": "size", "label": "Approximate Size", "value": 28000000.0, "include": true, "description": "Approximate size of the table, calculated from a count of 1MB blocks"}, "stats_off": {"id": "stats_off", "label": "Stats Off", "value": 100.0, "include": true, "description": "Number that indicates how stale the table statistics are; 0 is current, 100 is out of date."}, "sortkey1": {"id": "sortkey1", "label": "Sort Key 1", "value": "AUTO(SORTKEY)", "include": true, "description": "First column in the sort key."}, "max_varchar": {"id": "max_varchar", "label": "Max Varchar", "value": 43.0, "include": true, "description": "Size of the largest column that uses a VARCHAR data type."}, "encoded": {"id": "encoded", "label": "Encoded", "value": "Y, AUTO(ENCODE)", "include": true, "description": "Indicates whether any column in the table has compression encoding defined."}, "diststyle": {"id": "diststyle", "label": "Dist Style", "value": "AUTO(ALL)", "include": true, "description": "Distribution style or distribution key column, if key distribution is defined."}, "pct_used": {"id": "pct_used", "label": "Disk Utilization", "value": 7.7e-05, "include": true, "description": "Percent of available space that is used by the table."}, "rows": {"id": "rows", "label": "Approximate Row Count", "value": 2.0, "include": true, "description": "Approximate number of rows in the table. This value includes rows marked for deletion, but not yet vacuumed."}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.recharge_source.recharge.subscription_history"}, "source.recharge_source.recharge.subscription": {"metadata": {"type": "BASE TABLE", "schema": "recharge_integration_tests_03", "name": "subscription_data", "database": "redshift-test-kristin", "comment": null, "owner": "awsuser"}, "columns": {"id": {"type": "bigint", "index": 1, "name": "id", "comment": null}, "address_id": {"type": "bigint", "index": 2, "name": "address_id", "comment": null}, "customer_id": {"type": "bigint", "index": 3, "name": "customer_id", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 4, "name": "created_at", "comment": null}, "cancelled_at": {"type": "timestamp without time zone", "index": 5, "name": "cancelled_at", "comment": null}, "next_charge_scheduled_at": {"type": "timestamp without time zone", "index": 6, "name": "next_charge_scheduled_at", "comment": null}, "price": {"type": "double precision", "index": 7, "name": "price", "comment": null}, "quantity": {"type": "integer", "index": 8, "name": "quantity", "comment": null}, "cancellation_reason": {"type": "character varying(21)", "index": 9, "name": "cancellation_reason", "comment": null}, "status": {"type": "character varying(9)", "index": 10, "name": "status", "comment": null}, "cancellation_reason_comments": {"type": "integer", "index": 11, "name": "cancellation_reason_comments", "comment": null}, "product_title": {"type": "character varying(16)", "index": 12, "name": "product_title", "comment": null}, "variant_title": {"type": "character varying(16)", "index": 13, "name": "variant_title", "comment": null}, "external_product_id_ecommerce": {"type": "bigint", "index": 14, "name": "external_product_id_ecommerce", "comment": null}, "external_variant_id_ecommerce": {"type": "bigint", "index": 15, "name": "external_variant_id_ecommerce", "comment": null}, "sku": {"type": "character varying(5)", "index": 16, "name": "sku", "comment": null}, "order_interval_unit": {"type": "character varying(3)", "index": 17, "name": "order_interval_unit", "comment": null}, "order_interval_frequency": {"type": "integer", "index": 18, "name": "order_interval_frequency", "comment": null}, "charge_interval_frequency": {"type": "integer", "index": 19, "name": "charge_interval_frequency", "comment": null}, "order_day_of_week": {"type": "integer", "index": 20, "name": "order_day_of_week", "comment": null}, "order_day_of_month": {"type": "integer", "index": 21, "name": "order_day_of_month", "comment": null}, "expire_after_specific_number_of_charges": {"type": "integer", "index": 22, "name": "expire_after_specific_number_of_charges", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 23, "name": "updated_at", "comment": null}, "_fivetran_deleted": {"type": "boolean", "index": 24, "name": "_fivetran_deleted", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 25, "name": "_fivetran_synced", "comment": null}}, "stats": {"size": {"id": "size", "label": "Approximate Size", "value": 28000000.0, "include": true, "description": "Approximate size of the table, calculated from a count of 1MB blocks"}, "stats_off": {"id": "stats_off", "label": "Stats Off", "value": 100.0, "include": true, "description": "Number that indicates how stale the table statistics are; 0 is current, 100 is out of date."}, "sortkey1": {"id": "sortkey1", "label": "Sort Key 1", "value": "AUTO(SORTKEY)", "include": true, "description": "First column in the sort key."}, "max_varchar": {"id": "max_varchar", "label": "Max Varchar", "value": 21.0, "include": true, "description": "Size of the largest column that uses a VARCHAR data type."}, "encoded": {"id": "encoded", "label": "Encoded", "value": "Y, AUTO(ENCODE)", "include": true, "description": "Indicates whether any column in the table has compression encoding defined."}, "diststyle": {"id": "diststyle", "label": "Dist Style", "value": "AUTO(ALL)", "include": true, "description": "Distribution style or distribution key column, if key distribution is defined."}, "pct_used": {"id": "pct_used", "label": "Disk Utilization", "value": 7.7e-05, "include": true, "description": "Percent of available space that is used by the table."}, "rows": {"id": "rows", "label": "Approximate Row Count", "value": 2.0, "include": true, "description": "Approximate number of rows in the table. This value includes rows marked for deletion, but not yet vacuumed."}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.recharge_source.recharge.subscription"}}, "errors": null}
\ No newline at end of file
diff --git a/docs/index.html b/docs/index.html
index 0807e63..5631ac6 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -64,7 +64,7 @@
* Released under MIT license "+e+"-1},In.prototype.set=function(e,t){var n=this.__data__,r=Hn(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Nn.prototype.clear=function(){this.size=0,this.__data__={hash:new Rn,map:new(hn||In),string:new Rn}},Nn.prototype.delete=function(e){var t=Ji(this,e).delete(e);return this.size-=t?1:0,t},Nn.prototype.get=function(e){return Ji(this,e).get(e)},Nn.prototype.has=function(e){return Ji(this,e).has(e)},Nn.prototype.set=function(e,t){var n=Ji(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Mn.prototype.add=Mn.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},Mn.prototype.has=function(e){return this.__data__.has(e)},zn.prototype.clear=function(){this.__data__=new In,this.size=0},zn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},zn.prototype.get=function(e){return this.__data__.get(e)},zn.prototype.has=function(e){return this.__data__.has(e)},zn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof In){var r=n.__data__;if(!hn||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Nn(r)}return n.set(e,t),this.size=n.size,this};var tr=ki(cr),nr=ki(ur,!0);function rr(e,t){var n=!0;return tr(e,(function(e,r,i){return n=!!t(e,r,i)})),n}function ir(e,t,n){for(var r=-1,i=e.length;++r0&&n(s)?t>1?ar(s,t-1,n,r,i):ht(i,s):r||(i[i.length]=s)}return i}var sr=Ai(),lr=Ai(!0);function cr(e,t){return e&&sr(e,t,ws)}function ur(e,t){return e&&lr(e,t,ws)}function dr(e,t){return ut(t,(function(t){return Fa(e[t])}))}function fr(e,t){for(var n=0,r=(t=li(t,e)).length;null!=e&&n-1&&e%1==0&&e\n {{ model.source_name }}.{{ model.name }}\n source table\n
\n Description
\n Columns
\n Referenced By
\n -1},In.prototype.set=function(e,t){var n=this.__data__,r=Hn(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Nn.prototype.clear=function(){this.size=0,this.__data__={hash:new Rn,map:new(hn||In),string:new Rn}},Nn.prototype.delete=function(e){var t=Ji(this,e).delete(e);return this.size-=t?1:0,t},Nn.prototype.get=function(e){return Ji(this,e).get(e)},Nn.prototype.has=function(e){return Ji(this,e).has(e)},Nn.prototype.set=function(e,t){var n=Ji(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Mn.prototype.add=Mn.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},Mn.prototype.has=function(e){return this.__data__.has(e)},zn.prototype.clear=function(){this.__data__=new In,this.size=0},zn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},zn.prototype.get=function(e){return this.__data__.get(e)},zn.prototype.has=function(e){return this.__data__.has(e)},zn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof In){var r=n.__data__;if(!hn||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Nn(r)}return n.set(e,t),this.size=n.size,this};var tr=ki(cr),nr=ki(ur,!0);function rr(e,t){var n=!0;return tr(e,(function(e,r,i){return n=!!t(e,r,i)})),n}function ir(e,t,n){for(var r=-1,i=e.length;++r0&&n(s)?t>1?ar(s,t-1,n,r,i):ht(i,s):r||(i[i.length]=s)}return i}var sr=Ai(),lr=Ai(!0);function cr(e,t){return e&&sr(e,t,ws)}function ur(e,t){return e&&lr(e,t,ws)}function dr(e,t){return ut(t,(function(t){return Fa(e[t])}))}function fr(e,t){for(var n=0,r=(t=li(t,e)).length;null!=e&&n-1&&e%1==0&&e\n {{ model.source_name }}.{{ model.name }}\n source table\n
\n Description
\n Columns
\n Referenced By
\n
\n":"'+(n?e:c(e,!0))+"\n
"},a.prototype.blockquote=function(e){return""+(n?e:c(e,!0))+"\n
\n"+e+"
\n"},a.prototype.html=function(e){return e},a.prototype.heading=function(e,t,n){return"
\n":"
\n"},a.prototype.list=function(e,t,n){var r=t?"ol":"ul";return"<"+r+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+""+r+">\n"},a.prototype.listitem=function(e){return"\n\n"+e+"\n\n"+t+"\n
\n"},a.prototype.tablerow=function(e){return"\n"+e+" \n"},a.prototype.tablecell=function(e,t){var n=t.header?"th":"td";return(t.align?"<"+n+' style="text-align:'+t.align+'">':"<"+n+">")+e+""+n+">\n"},a.prototype.strong=function(e){return""+e+""},a.prototype.em=function(e){return""+e+""},a.prototype.codespan=function(e){return""+e+"
"},a.prototype.br=function(){return this.options.xhtml?"
":"
"},a.prototype.del=function(e){return""+e+""},a.prototype.link=function(e,t,n){if(this.options.sanitize){try{var r=decodeURIComponent(u(e)).replace(/[^\w:]/g,"").toLowerCase()}catch(e){return n}if(0===r.indexOf("javascript:")||0===r.indexOf("vbscript:")||0===r.indexOf("data:"))return n}this.options.baseUrl&&!h.test(e)&&(e=f(this.options.baseUrl,e));var i='"+n+""},a.prototype.image=function(e,t,n){this.options.baseUrl&&!h.test(e)&&(e=f(this.options.baseUrl,e));var r='":">"},a.prototype.text=function(e){return e},s.prototype.strong=s.prototype.em=s.prototype.codespan=s.prototype.del=s.prototype.text=function(e){return e},s.prototype.link=s.prototype.image=function(e,t,n){return""+n},s.prototype.br=function(){return""},l.parse=function(e,t){return new l(t).parse(e)},l.prototype.parse=function(e){this.inline=new o(e.links,this.options),this.inlineText=new o(e.links,m({},this.options,{renderer:new s})),this.tokens=e.reverse();for(var t="";this.next();)t+=this.tok();return t},l.prototype.next=function(){return this.token=this.tokens.pop()},l.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0},l.prototype.parseText=function(){for(var e=this.token.text;"text"===this.peek().type;)e+="\n"+this.next().text;return this.inline.output(e)},l.prototype.tok=function(){switch(this.token.type){case"space":return"";case"hr":return this.renderer.hr();case"heading":return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,u(this.inlineText.output(this.token.text)));case"code":return this.renderer.code(this.token.text,this.token.lang,this.token.escaped);case"table":var e,t,n,r,i="",o="";for(n="",e=0;e
"+c(e.message+"",!0)+"";throw e}}g.exec=g,v.options=v.setOptions=function(e){return m(v.defaults,e),v},v.defaults={gfm:!0,tables:!0,breaks:!1,pedantic:!1,sanitize:!1,sanitizer:null,mangle:!0,smartLists:!1,silent:!1,highlight:null,langPrefix:"lang-",smartypants:!1,headerPrefix:"",renderer:new a,xhtml:!1,baseUrl:null},v.Parser=l,v.parser=l.parse,v.Renderer=a,v.TextRenderer=s,v.Lexer=r,v.lexer=r.lex,v.InlineLexer=o,v.inlineLexer=o.output,v.parse=v,e.exports=v}(this||"undefined"!=typeof window&&window)}).call(this,n(35))},function(e,t,n){n(231),n(233),n(422),n(424),n(428),n(430),n(434),n(436),n(440),n(442)},function(e,t,n){"use strict";const r=n(232),i=n(21),o=n(31);angular.module("dbt").directive("graphLauncher",["$state","$q","graph","selectorService","project","trackingService","locationService",function(e,t,n,a,s,l,c){return{restrict:"EA",replace:!0,scope:{},templateUrl:r,link:function(t,r){t.filters_visible=!1,t.graphService=n,t.selectorService=a,t.allSelected=!0;var s={tags:{visible:!1},packages:{visible:!1},resource_types:{visible:!1}};t.onWindowClick=function(e){o(e.target);var t=o(e.target).closest(".dropup");t.length||(s.tags.visible=!1,s.packages.visible=!1);var n=t.data("form-type");i.each(s,(function(e,t){t!=n&&(e.visible=!1)})),o(e.target).closest("#graph-viz-wrapper").length&&setTimeout((function(){o(":focus").blur()}))},t.onSelectClick=function(e){i.each(s,(function(t,n){n==e&&(t.visible=!t.visible,t.visible||o(":focus").blur())}))},t.isVisible=function(e){return s[e].visible},t.isSelected=function(e,t){return-1!=a.selection.dirty[e].indexOf(t)},t.onSelectAll=function(e,n,r){var i=a.selection.dirty;i[e]=n?[...a.options[e]]:[],t.allSelected=!t.allSelected,r.preventDefault()},t.onItemSelect=function(e,n,r){var o=a.selection.dirty;t.isSelected(e,n)?o[e]=i.without(o[e],n):o[e]=i.union(o[e],[n]),r.preventDefault()},t.onSelectBlur=function(e,n){n&&(n.relatedTarget&&"SELECT"!=n.relatedTarget.tagName||t.isVisible(e)&&o(n.target).focus())},t.resourceTypeTitle=function(e){return"analysis"==e?"Analyses":e[0].toUpperCase()+e.slice(1)+"s"},t.selectionLabel=function(e,t){var n=a.selection.dirty[e],r=a.options[e];return 0==n.length?"None selected":1==n.length?n[0]||t:n.length==r.length?"All selected":n.length+" selected"},t.onUpdateSelector=function(){var e=a.updateSelection(),t=n.updateGraph(e);l.track_graph_interaction("update-graph",t.length)},t.showExpanded=function(){var e=a.getViewNode(),t=e?e.name:null;if(e&&"source"==e.resource_type)var r=n.showFullGraph("source:"+e.source_name+"."+e.name);else if(e&&"exposure"==e.resource_type)r=n.showFullGraph("exposure:"+e.name);else if(e&&"metric"==e.resource_type)r=n.showFullGraph("metric:"+e.name);else r=n.showFullGraph(t);l.track_graph_interaction("show-expanded",r.length)},t.showContracted=function(){var e=a.getViewNode();if(e&&"source"==e.resource_type)var t=n.showVerticalGraph("source:"+e.source_name+"."+e.name,!0);else if(e&&"exposure"==e.resource_type)t=n.showVerticalGraph("exposure:"+e.name,!0);else if(e&&"metric"==e.resource_type)t=n.showVerticalGraph("metric:"+e.name,!0);else t=n.showVerticalGraph(e.name,!0);c.clearState(),l.track_graph_interaction("show-contracted",t.length)},t.closeGraph=function(){n.hideGraph(),c.clearState()},t.onLauncherClick=function(){var r=a.getViewNode();if(r)a.resetSelection(r),t.showContracted();else if(e.params.source){a.resetSelection(),t.showExpanded();var i=a.selectSource(e.params.source,{children:!0});setTimeout((function(){n.updateGraph(i)}))}else a.resetSelection(),t.showExpanded()},t.$watch((function(){return a.selection.dirty}),(function(e,t){if(a.isDirty()){var r=n.graph.pristine.dag,o=n.graph.pristine.nodes,s=a.selection.clean,l=a.selection.dirty,c=a.selectNodes(r,o,s),u=a.selectNodes(r,o,l),d=i.difference(c.selected,u.selected);n.markDirty(d)}else n.markAllClean()}),!0)}}}])},function(e,t){var n="/components/graph/graph-launcher.html";window.angular.module("ng").run(["$templateCache",function(e){e.put(n,'\n
'+(n?e:c(e,!0))+"\n
\n":""+(n?e:c(e,!0))+"\n
"},a.prototype.blockquote=function(e){return"\n"+e+"\n"},a.prototype.html=function(e){return e},a.prototype.heading=function(e,t,n){return"
"+e+"
\n"},a.prototype.table=function(e,t){return""+e+"
"},a.prototype.br=function(){return this.options.xhtml?""+c(e.message+"",!0)+"";throw e}}g.exec=g,v.options=v.setOptions=function(e){return m(v.defaults,e),v},v.defaults={gfm:!0,tables:!0,breaks:!1,pedantic:!1,sanitize:!1,sanitizer:null,mangle:!0,smartLists:!1,silent:!1,highlight:null,langPrefix:"lang-",smartypants:!1,headerPrefix:"",renderer:new a,xhtml:!1,baseUrl:null},v.Parser=l,v.parser=l.parse,v.Renderer=a,v.TextRenderer=s,v.Lexer=r,v.lexer=r.lex,v.InlineLexer=o,v.inlineLexer=o.output,v.parse=v,e.exports=v}(this||"undefined"!=typeof window&&window)}).call(this,n(35))},function(e,t,n){n(231),n(233),n(422),n(424),n(428),n(430),n(434),n(436),n(440),n(442)},function(e,t,n){"use strict";const r=n(232),i=n(21),o=n(31);angular.module("dbt").directive("graphLauncher",["$state","$q","graph","selectorService","project","trackingService","locationService",function(e,t,n,a,s,l,c){return{restrict:"EA",replace:!0,scope:{},templateUrl:r,link:function(t,r){t.filters_visible=!1,t.graphService=n,t.selectorService=a,t.allSelected=!0;var s={tags:{visible:!1},packages:{visible:!1},resource_types:{visible:!1}};t.onWindowClick=function(e){o(e.target);var t=o(e.target).closest(".dropup");t.length||(s.tags.visible=!1,s.packages.visible=!1);var n=t.data("form-type");i.each(s,(function(e,t){t!=n&&(e.visible=!1)})),o(e.target).closest("#graph-viz-wrapper").length&&setTimeout((function(){o(":focus").blur()}))},t.onSelectClick=function(e){i.each(s,(function(t,n){n==e&&(t.visible=!t.visible,t.visible||o(":focus").blur())}))},t.isVisible=function(e){return s[e].visible},t.isSelected=function(e,t){return-1!=a.selection.dirty[e].indexOf(t)},t.onSelectAll=function(e,n,r){var i=a.selection.dirty;i[e]=n?[...a.options[e]]:[],t.allSelected=!t.allSelected,r.preventDefault()},t.onItemSelect=function(e,n,r){var o=a.selection.dirty;t.isSelected(e,n)?o[e]=i.without(o[e],n):o[e]=i.union(o[e],[n]),r.preventDefault()},t.onSelectBlur=function(e,n){n&&(n.relatedTarget&&"SELECT"!=n.relatedTarget.tagName||t.isVisible(e)&&o(n.target).focus())},t.resourceTypeTitle=function(e){return"analysis"==e?"Analyses":e[0].toUpperCase()+e.slice(1)+"s"},t.selectionLabel=function(e,t){var n=a.selection.dirty[e],r=a.options[e];return 0==n.length?"None selected":1==n.length?n[0]||t:n.length==r.length?"All selected":n.length+" selected"},t.onUpdateSelector=function(){var e=a.updateSelection(),t=n.updateGraph(e);l.track_graph_interaction("update-graph",t.length)},t.showExpanded=function(){var e=a.getViewNode(),t=e?e.name:null;if(e&&"source"==e.resource_type)var r=n.showFullGraph("source:"+e.source_name+"."+e.name);else if(e&&"exposure"==e.resource_type)r=n.showFullGraph("exposure:"+e.name);else if(e&&"metric"==e.resource_type)r=n.showFullGraph("metric:"+e.name);else r=n.showFullGraph(t);l.track_graph_interaction("show-expanded",r.length)},t.showContracted=function(){var e=a.getViewNode();if(e&&"source"==e.resource_type)var t=n.showVerticalGraph("source:"+e.source_name+"."+e.name,!0);else if(e&&"exposure"==e.resource_type)t=n.showVerticalGraph("exposure:"+e.name,!0);else if(e&&"metric"==e.resource_type)t=n.showVerticalGraph("metric:"+e.name,!0);else t=n.showVerticalGraph(e.name,!0);c.clearState(),l.track_graph_interaction("show-contracted",t.length)},t.closeGraph=function(){n.hideGraph(),c.clearState()},t.onLauncherClick=function(){var r=a.getViewNode();if(r)a.resetSelection(r),t.showContracted();else if(e.params.source){a.resetSelection(),t.showExpanded();var i=a.selectSource(e.params.source,{children:!0});setTimeout((function(){n.updateGraph(i)}))}else a.resetSelection(),t.showExpanded()},t.$watch((function(){return a.selection.dirty}),(function(e,t){if(a.isDirty()){var r=n.graph.pristine.dag,o=n.graph.pristine.nodes,s=a.selection.clean,l=a.selection.dirty,c=a.selectNodes(r,o,s),u=a.selectNodes(r,o,l),d=i.difference(c.selected,u.selected);n.markDirty(d)}else n.markAllClean()}),!0)}}}])},function(e,t){var n="/components/graph/graph-launcher.html";window.angular.module("ng").run(["$templateCache",function(e){e.put(n,'\n
{{ tag }}
\n Column | \nType | \nDescription | \nTests | \nMore? | \n
---|---|---|---|---|
\n \n {{ get_col_name(column.name) }}\n \n | \n \n {{ column.type }}\n | \n \n\n \n U\n N\n F\n A\n +\n \n | \n\n \n \n \n \n \n \n \n \n | \n|
\n \n \n \n \n\n Details\n\n \n \n \n
\n \n\n Description\n \n\n \n Generic Tests\n
| \n
\n Argument | \nType | \nDescription | \nMore? | \n
---|---|---|---|
\n \n {{ arg.name }}\n \n | \n \n {{ arg.type }}\n | \n \n\n \n \n \n \n \n \n \n \n | \n|
\n \n \n \n \n Description\n \n | \n