├── .gitignore ├── README.md ├── db ├── data │ ├── jaffle_shop_customers.csv │ ├── jaffle_shop_orders.csv │ └── stripe_payments.csv ├── docker-compose.yaml ├── dockerfile ├── requirements.txt └── scripts │ ├── create_db_insert_data.py │ └── sql │ └── create_tables.sql └── jaffle_shop ├── .gitignore ├── .user.yml ├── README.md ├── analyses ├── .gitkeep ├── compare_queries.sql └── total_revenue.sql ├── dbt_packages ├── audit_helper │ ├── .circleci │ │ └── config.yml │ ├── .github │ │ ├── CODEOWNERS │ │ ├── ISSUE_TEMPLATE │ │ │ ├── bug_report.md │ │ │ └── feature_request.md │ │ └── pull_request_template.md │ ├── .gitignore │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── dbt_project.yml │ ├── integration_tests │ │ ├── analyses │ │ │ ├── compare_column_values_smoke_test.sql │ │ │ └── compare_relation_columns_smoke_test.sql │ │ ├── ci │ │ │ └── sample.profiles.yml │ │ ├── dbt_project.yml │ │ ├── models │ │ │ ├── compare_queries.sql │ │ │ ├── compare_relations_with_exclude.sql │ │ │ ├── compare_relations_without_exclude.sql │ │ │ └── schema.yml │ │ ├── packages.yml │ │ └── seeds │ │ │ ├── data_compare_relations__a_relation.csv │ │ │ ├── data_compare_relations__b_relation.csv │ │ │ ├── expected_results__compare_relations_with_exclude.csv │ │ │ └── expected_results__compare_relations_without_exclude.csv │ ├── macros │ │ ├── compare_column_values.sql │ │ ├── compare_queries.sql │ │ ├── compare_relation_columns.sql │ │ └── compare_relations.sql │ └── packages.yml └── dbt_utils │ ├── .circleci │ └── config.yml │ ├── .github │ ├── CODEOWNERS │ ├── ISSUE_TEMPLATE │ │ ├── bug_report.md │ │ ├── dbt_minor_release.md │ │ ├── feature_request.md │ │ └── utils_minor_release.md │ └── pull_request_template.md │ ├── .gitignore │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── RELEASE.md │ ├── dbt_project.yml │ ├── docker-compose.yml │ ├── etc │ └── dbt-logo.png │ ├── integration_tests │ ├── .env │ │ ├── bigquery.env │ │ ├── postgres.env │ │ ├── redshift.env │ │ └── snowflake.env │ ├── .gitignore │ ├── Makefile │ ├── README.md │ ├── ci │ │ └── sample.profiles.yml │ ├── data │ │ ├── .gitkeep │ │ ├── cross_db │ │ │ ├── data_any_value_expected.csv │ │ │ ├── data_bool_or.csv │ │ │ ├── data_bool_or_expected.csv │ │ │ ├── data_cast_bool_to_text │ │ │ ├── data_concat.csv │ │ │ ├── data_date_trunc.csv │ │ │ ├── data_dateadd.csv │ │ │ ├── data_datediff.csv │ │ │ ├── data_hash.csv │ │ │ ├── data_last_day.csv │ │ │ ├── data_length.csv │ │ │ ├── data_listagg.csv │ │ │ ├── data_listagg_output.csv │ │ │ ├── data_position.csv │ │ │ ├── data_replace.csv │ │ │ ├── data_right.csv │ │ │ ├── data_safe_cast.csv │ │ │ ├── data_split_part.csv │ │ │ └── data_width_bucket.csv │ │ ├── datetime │ │ │ └── data_date_spine.csv │ │ ├── etc │ │ │ └── data_people.csv │ │ ├── geo │ │ │ ├── data_haversine_km.csv │ │ │ └── data_haversine_mi.csv │ │ ├── materializations │ │ │ └── data_insert_by_period.csv │ │ ├── schema_tests │ │ │ ├── data_cardinality_equality_a.csv │ │ │ ├── data_cardinality_equality_b.csv │ │ │ ├── data_not_null_proportion.csv │ │ │ ├── data_test_accepted_range.csv │ │ │ ├── data_test_at_least_one.csv │ │ │ ├── data_test_equal_rowcount.csv │ │ │ ├── data_test_expression_is_true.csv │ │ │ ├── data_test_fewer_rows_than_table_1.csv │ │ │ ├── data_test_fewer_rows_than_table_2.csv │ │ │ ├── data_test_mutually_exclusive_ranges_no_gaps.csv │ │ │ ├── data_test_mutually_exclusive_ranges_with_gaps.csv │ │ │ ├── data_test_mutually_exclusive_ranges_with_gaps_zero_length.csv │ │ │ ├── data_test_not_accepted_values.csv │ │ │ ├── data_test_not_constant.csv │ │ │ ├── data_test_not_null_where.csv │ │ │ ├── data_test_relationships_where_table_1.csv │ │ │ ├── data_test_relationships_where_table_2.csv │ │ │ ├── data_test_sequential_timestamps.csv │ │ │ ├── data_test_sequential_values.csv │ │ │ ├── data_test_unique_where.csv │ │ │ ├── data_unique_combination_of_columns.csv │ │ │ └── schema.yml │ │ ├── sql │ │ │ ├── data_deduplicate.csv │ │ │ ├── data_deduplicate_expected.csv │ │ │ ├── data_events_20180101.csv │ │ │ ├── data_events_20180102.csv │ │ │ ├── data_events_20180103.csv │ │ │ ├── data_filtered_columns_in_relation.csv │ │ │ ├── data_filtered_columns_in_relation_expected.csv │ │ │ ├── data_generate_series.csv │ │ │ ├── data_get_column_values.csv │ │ │ ├── data_get_column_values_dropped.csv │ │ │ ├── data_get_query_results_as_dict.csv │ │ │ ├── data_nullcheck_table.csv │ │ │ ├── data_pivot.csv │ │ │ ├── data_pivot_expected.csv │ │ │ ├── data_pivot_expected_apostrophe.csv │ │ │ ├── data_safe_add.csv │ │ │ ├── data_star.csv │ │ │ ├── data_star_aggregate.csv │ │ │ ├── data_star_aggregate_expected.csv │ │ │ ├── data_star_expected.csv │ │ │ ├── data_star_prefix_suffix_expected.csv │ │ │ ├── data_surrogate_key.csv │ │ │ ├── data_union_events_expected.csv │ │ │ ├── data_union_expected.csv │ │ │ ├── data_union_table_1.csv │ │ │ ├── data_union_table_2.csv │ │ │ ├── data_unpivot.csv │ │ │ ├── data_unpivot_bool.csv │ │ │ ├── data_unpivot_bool_expected.csv │ │ │ ├── data_unpivot_expected.csv │ │ │ └── data_unpivot_original_api_expected.csv │ │ └── web │ │ │ ├── data_url_host.csv │ │ │ ├── data_url_path.csv │ │ │ └── data_urls.csv │ ├── dbt_project.yml │ ├── macros │ │ ├── .gitkeep │ │ ├── assert_equal_values.sql │ │ ├── limit_zero.sql │ │ └── tests.sql │ ├── models │ │ ├── cross_db_utils │ │ │ ├── schema.yml │ │ │ ├── test_any_value.sql │ │ │ ├── test_bool_or.sql │ │ │ ├── test_concat.sql │ │ │ ├── test_current_timestamp.sql │ │ │ ├── test_current_timestamp_in_utc.sql │ │ │ ├── test_date_trunc.sql │ │ │ ├── test_dateadd.sql │ │ │ ├── test_datediff.sql │ │ │ ├── test_hash.sql │ │ │ ├── test_last_day.sql │ │ │ ├── test_length.sql │ │ │ ├── test_listagg.sql │ │ │ ├── test_position.sql │ │ │ ├── test_replace.sql │ │ │ ├── test_right.sql │ │ │ ├── test_safe_cast.sql │ │ │ ├── test_split_part.sql │ │ │ └── test_width_bucket.sql │ │ ├── datetime │ │ │ ├── schema.yml │ │ │ └── test_date_spine.sql │ │ ├── generic_tests │ │ │ ├── schema.yml │ │ │ ├── test_equal_column_subset.sql │ │ │ ├── test_equal_rowcount.sql │ │ │ ├── test_fewer_rows_than.sql │ │ │ └── test_recency.sql │ │ ├── geo │ │ │ ├── schema.yml │ │ │ ├── test_haversine_distance_km.sql │ │ │ └── test_haversine_distance_mi.sql │ │ ├── materializations │ │ │ ├── expected_insert_by_period.sql │ │ │ ├── schema.yml │ │ │ └── test_insert_by_period.sql │ │ ├── sql │ │ │ ├── schema.yml │ │ │ ├── test_deduplicate.sql │ │ │ ├── test_generate_series.sql │ │ │ ├── test_get_column_values.sql │ │ │ ├── test_get_filtered_columns_in_relation.sql │ │ │ ├── test_get_relations_by_pattern.sql │ │ │ ├── test_get_relations_by_prefix_and_union.sql │ │ │ ├── test_groupby.sql │ │ │ ├── test_nullcheck_table.sql │ │ │ ├── test_pivot.sql │ │ │ ├── test_pivot_apostrophe.sql │ │ │ ├── test_safe_add.sql │ │ │ ├── test_star.sql │ │ │ ├── test_star_aggregate.sql │ │ │ ├── test_star_prefix_suffix.sql │ │ │ ├── test_star_uppercase.sql │ │ │ ├── test_surrogate_key.sql │ │ │ ├── test_union.sql │ │ │ ├── test_union_base.sql │ │ │ ├── test_unpivot.sql │ │ │ ├── test_unpivot_bool.sql │ │ │ └── test_unpivot_original_api.sql │ │ └── web │ │ │ ├── schema.yml │ │ │ ├── test_url_host.sql │ │ │ ├── test_url_path.sql │ │ │ └── test_urls.sql │ ├── packages.yml │ └── tests │ │ ├── assert_get_query_results_as_dict_objects_equal.sql │ │ ├── jinja_helpers │ │ ├── assert_pretty_output_msg_is_string.sql │ │ ├── assert_pretty_time_is_string.sql │ │ └── test_slugify.sql │ │ └── sql │ │ └── test_get_column_values_use_default.sql │ ├── macros │ ├── cross_db_utils │ │ ├── _is_ephemeral.sql │ │ ├── _is_relation.sql │ │ ├── any_value.sql │ │ ├── bool_or.sql │ │ ├── cast_bool_to_text.sql │ │ ├── concat.sql │ │ ├── current_timestamp.sql │ │ ├── datatypes.sql │ │ ├── date_trunc.sql │ │ ├── dateadd.sql │ │ ├── datediff.sql │ │ ├── escape_single_quotes.sql │ │ ├── except.sql │ │ ├── hash.sql │ │ ├── identifier.sql │ │ ├── intersect.sql │ │ ├── last_day.sql │ │ ├── length.sql │ │ ├── listagg.sql │ │ ├── literal.sql │ │ ├── position.sql │ │ ├── replace.sql │ │ ├── right.sql │ │ ├── safe_cast.sql │ │ ├── split_part.sql │ │ └── width_bucket.sql │ ├── generic_tests │ │ ├── accepted_range.sql │ │ ├── at_least_one.sql │ │ ├── cardinality_equality.sql │ │ ├── equal_rowcount.sql │ │ ├── equality.sql │ │ ├── expression_is_true.sql │ │ ├── fewer_rows_than.sql │ │ ├── mutually_exclusive_ranges.sql │ │ ├── not_accepted_values.sql │ │ ├── not_constant.sql │ │ ├── not_null_proportion.sql │ │ ├── recency.sql │ │ ├── relationships_where.sql │ │ ├── sequential_values.sql │ │ ├── test_not_null_where.sql │ │ ├── test_unique_where.sql │ │ └── unique_combination_of_columns.sql │ ├── jinja_helpers │ │ ├── log_info.sql │ │ ├── pretty_log_format.sql │ │ ├── pretty_time.sql │ │ └── slugify.sql │ ├── materializations │ │ └── insert_by_period_materialization.sql │ ├── sql │ │ ├── date_spine.sql │ │ ├── deduplicate.sql │ │ ├── generate_series.sql │ │ ├── get_column_values.sql │ │ ├── get_filtered_columns_in_relation.sql │ │ ├── get_query_results_as_dict.sql │ │ ├── get_relations_by_pattern.sql │ │ ├── get_relations_by_prefix.sql │ │ ├── get_table_types_sql.sql │ │ ├── get_tables_by_pattern_sql.sql │ │ ├── get_tables_by_prefix_sql.sql │ │ ├── groupby.sql │ │ ├── haversine_distance.sql │ │ ├── nullcheck.sql │ │ ├── nullcheck_table.sql │ │ ├── pivot.sql │ │ ├── safe_add.sql │ │ ├── star.sql │ │ ├── surrogate_key.sql │ │ ├── union.sql │ │ └── unpivot.sql │ └── web │ │ ├── get_url_host.sql │ │ ├── get_url_parameter.sql │ │ └── get_url_path.sql │ └── run_test.sh ├── dbt_project.yml ├── macros ├── .gitkeep ├── cents_to_dollars.sql ├── clean_stale_models.sql └── grant_select.sql ├── models ├── all_dates.sql ├── intermediate │ └── int_orders.sql ├── legacy │ └── customer_orders.sql ├── marts │ └── core │ │ ├── dim_customers.sql │ │ ├── fct_customer_orders.sql │ │ ├── fct_orders.sql │ │ └── int_orders__pivoted.sql └── staging │ ├── jaffle_shop │ ├── src_jaffle_shop.yml │ ├── stg_customers.sql │ ├── stg_jaffle_shop.md │ ├── stg_jaffle_shop.yml │ ├── stg_jaffle_shop__customers.sql │ ├── stg_jaffle_shop__orders.sql │ └── stg_orders.sql │ └── stripe │ ├── src_stripe.yml │ ├── stg_payments.sql │ └── stg_stripe__payments.sql ├── packages.yml ├── profiles.yml ├── seeds ├── .gitkeep └── employees.csv ├── snapshots └── .gitkeep ├── target ├── catalog.json ├── compiled │ └── jaffle_shop │ │ ├── analyses │ │ ├── compare_queries.sql │ │ └── total_revenue.sql │ │ ├── models │ │ ├── all_dates.sql │ │ ├── intermediate │ │ │ └── int_orders.sql │ │ ├── legacy │ │ │ ├── customer_orders.sql │ │ │ ├── fct_customer_orders.sql │ │ │ └── fct_customer_orders_old.sql │ │ ├── marts │ │ │ └── core │ │ │ │ ├── dim_customers.sql │ │ │ │ ├── fct_customer_orders.sql │ │ │ │ ├── fct_customers_orders.sql │ │ │ │ ├── fct_orders.sql │ │ │ │ └── int_orders__pivoted.sql │ │ └── staging │ │ │ ├── jaffle_shop │ │ │ ├── src_jaffle_shop.yml │ │ │ │ ├── source_not_null_jaffle_shop_customers_id.sql │ │ │ │ ├── source_not_null_jaffle_shop_orders_id.sql │ │ │ │ ├── source_unique_jaffle_shop_customers_id.sql │ │ │ │ └── source_unique_jaffle_shop_orders_id.sql │ │ │ ├── stg_customers.sql │ │ │ ├── stg_jaffle_shop.yml │ │ │ │ ├── accepted_values_stg_orders_99eb96a6e71559355998323ec83bd487.sql │ │ │ │ ├── not_null_stg_customers_customer_id.sql │ │ │ │ ├── not_null_stg_orders_order_id.sql │ │ │ │ ├── relationships_stg_orders_96411fe0c89b49c3f4da955dfd358ba0.sql │ │ │ │ ├── unique_stg_customers_customer_id.sql │ │ │ │ └── unique_stg_orders_order_id.sql │ │ │ ├── stg_jaffle_shop__customers.sql │ │ │ ├── stg_jaffle_shop__orders.sql │ │ │ └── stg_orders.sql │ │ │ └── stripe │ │ │ ├── stg_payments.sql │ │ │ └── stg_stripe__payments.sql │ │ └── tests │ │ ├── assert_positive_total_for_payments.sql │ │ └── assert_positive_total_for_payments_daily.sql ├── graph.gpickle ├── index.html ├── manifest.json ├── partial_parse.msgpack ├── perf_info.json ├── run │ └── jaffle_shop │ │ ├── models │ │ ├── all_dates.sql │ │ ├── intermediate │ │ │ └── int_orders.sql │ │ ├── legacy │ │ │ ├── customer_orders.sql │ │ │ ├── fct_customer_orders.sql │ │ │ └── fct_customer_orders_old.sql │ │ ├── marts │ │ │ └── core │ │ │ │ ├── dim_customers.sql │ │ │ │ ├── fct_customer_orders.sql │ │ │ │ ├── fct_customers_orders.sql │ │ │ │ ├── fct_orders.sql │ │ │ │ └── int_orders__pivoted.sql │ │ └── staging │ │ │ ├── jaffle_shop │ │ │ ├── src_jaffle_shop.yml │ │ │ │ ├── source_not_null_jaffle_shop_customers_id.sql │ │ │ │ ├── source_not_null_jaffle_shop_orders_id.sql │ │ │ │ ├── source_unique_jaffle_shop_customers_id.sql │ │ │ │ └── source_unique_jaffle_shop_orders_id.sql │ │ │ ├── stg_customers.sql │ │ │ ├── stg_jaffle_shop.yml │ │ │ │ ├── accepted_values_stg_orders_99eb96a6e71559355998323ec83bd487.sql │ │ │ │ ├── not_null_stg_customers_customer_id.sql │ │ │ │ ├── not_null_stg_orders_order_id.sql │ │ │ │ ├── relationships_stg_orders_96411fe0c89b49c3f4da955dfd358ba0.sql │ │ │ │ ├── unique_stg_customers_customer_id.sql │ │ │ │ └── unique_stg_orders_order_id.sql │ │ │ ├── stg_jaffle_shop__customers.sql │ │ │ ├── stg_jaffle_shop__orders.sql │ │ │ └── stg_orders.sql │ │ │ └── stripe │ │ │ ├── stg_payments.sql │ │ │ └── stg_stripe__payments.sql │ │ ├── seeds │ │ └── employees.csv │ │ └── tests │ │ ├── assert_positive_total_for_payments.sql │ │ └── assert_positive_total_for_payments_daily.sql └── run_results.json └── tests ├── .gitkeep ├── assert_positive_total_for_payments.sql └── assert_positive_total_for_payments_daily.sql /.gitignore: -------------------------------------------------------------------------------- 1 | dbt-fundamentals-jsp 2 | test 3 | notes.txt 4 | .DS_Store -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/README.md -------------------------------------------------------------------------------- /db/data/jaffle_shop_customers.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/db/data/jaffle_shop_customers.csv -------------------------------------------------------------------------------- /db/data/jaffle_shop_orders.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/db/data/jaffle_shop_orders.csv -------------------------------------------------------------------------------- /db/data/stripe_payments.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/db/data/stripe_payments.csv -------------------------------------------------------------------------------- /db/docker-compose.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/db/docker-compose.yaml -------------------------------------------------------------------------------- /db/dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/db/dockerfile -------------------------------------------------------------------------------- /db/requirements.txt: -------------------------------------------------------------------------------- 1 | pandas 2 | psycopg2-binary -------------------------------------------------------------------------------- /db/scripts/create_db_insert_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/db/scripts/create_db_insert_data.py -------------------------------------------------------------------------------- /db/scripts/sql/create_tables.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/db/scripts/sql/create_tables.sql -------------------------------------------------------------------------------- /jaffle_shop/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | logs/ 3 | -------------------------------------------------------------------------------- /jaffle_shop/.user.yml: -------------------------------------------------------------------------------- 1 | id: 1b0091fc-1df3-4c2c-b858-c17490e77cbd 2 | -------------------------------------------------------------------------------- /jaffle_shop/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/README.md -------------------------------------------------------------------------------- /jaffle_shop/analyses/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /jaffle_shop/analyses/compare_queries.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/analyses/compare_queries.sql -------------------------------------------------------------------------------- /jaffle_shop/analyses/total_revenue.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/analyses/total_revenue.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/audit_helper/.circleci/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/audit_helper/.circleci/config.yml -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/audit_helper/.github/CODEOWNERS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/audit_helper/.github/CODEOWNERS -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/audit_helper/.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/audit_helper/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/audit_helper/.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/audit_helper/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/audit_helper/.github/pull_request_template.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/audit_helper/.github/pull_request_template.md -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/audit_helper/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | target/ 3 | dbt_modules/ 4 | logs/ 5 | -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/audit_helper/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/audit_helper/CHANGELOG.md -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/audit_helper/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/audit_helper/LICENSE -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/audit_helper/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/audit_helper/README.md -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/audit_helper/dbt_project.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/audit_helper/dbt_project.yml -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/audit_helper/integration_tests/analyses/compare_column_values_smoke_test.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/audit_helper/integration_tests/analyses/compare_column_values_smoke_test.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/audit_helper/integration_tests/analyses/compare_relation_columns_smoke_test.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/audit_helper/integration_tests/analyses/compare_relation_columns_smoke_test.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/audit_helper/integration_tests/ci/sample.profiles.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/audit_helper/integration_tests/ci/sample.profiles.yml -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/audit_helper/integration_tests/dbt_project.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/audit_helper/integration_tests/dbt_project.yml -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/audit_helper/integration_tests/models/compare_queries.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/audit_helper/integration_tests/models/compare_queries.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/audit_helper/integration_tests/models/compare_relations_with_exclude.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/audit_helper/integration_tests/models/compare_relations_with_exclude.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/audit_helper/integration_tests/models/compare_relations_without_exclude.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/audit_helper/integration_tests/models/compare_relations_without_exclude.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/audit_helper/integration_tests/models/schema.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/audit_helper/integration_tests/models/schema.yml -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/audit_helper/integration_tests/packages.yml: -------------------------------------------------------------------------------- 1 | 2 | packages: 3 | - local: ../ 4 | -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/audit_helper/integration_tests/seeds/data_compare_relations__a_relation.csv: -------------------------------------------------------------------------------- 1 | col_a,col_b 2 | 1,a 3 | 2,b 4 | -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/audit_helper/integration_tests/seeds/data_compare_relations__b_relation.csv: -------------------------------------------------------------------------------- 1 | col_a,col_b 2 | 1,a 3 | 2,c 4 | -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/audit_helper/integration_tests/seeds/expected_results__compare_relations_with_exclude.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/audit_helper/integration_tests/seeds/expected_results__compare_relations_with_exclude.csv -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/audit_helper/integration_tests/seeds/expected_results__compare_relations_without_exclude.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/audit_helper/integration_tests/seeds/expected_results__compare_relations_without_exclude.csv -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/audit_helper/macros/compare_column_values.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/audit_helper/macros/compare_column_values.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/audit_helper/macros/compare_queries.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/audit_helper/macros/compare_queries.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/audit_helper/macros/compare_relation_columns.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/audit_helper/macros/compare_relation_columns.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/audit_helper/macros/compare_relations.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/audit_helper/macros/compare_relations.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/audit_helper/packages.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/audit_helper/packages.yml -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/.circleci/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/.circleci/config.yml -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/.github/CODEOWNERS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/.github/CODEOWNERS -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/.github/ISSUE_TEMPLATE/dbt_minor_release.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/.github/ISSUE_TEMPLATE/dbt_minor_release.md -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/.github/ISSUE_TEMPLATE/utils_minor_release.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/.github/ISSUE_TEMPLATE/utils_minor_release.md -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/.github/pull_request_template.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/.github/pull_request_template.md -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/.gitignore -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/CHANGELOG.md -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/LICENSE -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/README.md -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/RELEASE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/RELEASE.md -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/dbt_project.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/dbt_project.yml -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/docker-compose.yml -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/etc/dbt-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/etc/dbt-logo.png -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/.env/bigquery.env: -------------------------------------------------------------------------------- 1 | GCLOUD_SERVICE_KEY_PATH= -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/.env/postgres.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/.env/postgres.env -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/.env/redshift.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/.env/redshift.env -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/.env/snowflake.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/.env/snowflake.env -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | target/ 3 | dbt_modules/ 4 | logs/ 5 | -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/Makefile -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/README.md -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/ci/sample.profiles.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/ci/sample.profiles.yml -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/cross_db/data_any_value_expected.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/cross_db/data_any_value_expected.csv -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/cross_db/data_bool_or.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/cross_db/data_bool_or.csv -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/cross_db/data_bool_or_expected.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/cross_db/data_bool_or_expected.csv -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/cross_db/data_cast_bool_to_text: -------------------------------------------------------------------------------- 1 | id,my_bool 2 | 1,true 3 | 2,false 4 | 3, 5 | -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/cross_db/data_concat.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/cross_db/data_concat.csv -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/cross_db/data_date_trunc.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/cross_db/data_date_trunc.csv -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/cross_db/data_dateadd.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/cross_db/data_dateadd.csv -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/cross_db/data_datediff.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/cross_db/data_datediff.csv -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/cross_db/data_hash.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/cross_db/data_hash.csv -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/cross_db/data_last_day.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/cross_db/data_last_day.csv -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/cross_db/data_length.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/cross_db/data_length.csv -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/cross_db/data_listagg.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/cross_db/data_listagg.csv -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/cross_db/data_listagg_output.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/cross_db/data_listagg_output.csv -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/cross_db/data_position.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/cross_db/data_position.csv -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/cross_db/data_replace.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/cross_db/data_replace.csv -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/cross_db/data_right.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/cross_db/data_right.csv -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/cross_db/data_safe_cast.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/cross_db/data_safe_cast.csv -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/cross_db/data_split_part.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/cross_db/data_split_part.csv -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/cross_db/data_width_bucket.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/cross_db/data_width_bucket.csv -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/datetime/data_date_spine.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/datetime/data_date_spine.csv -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/etc/data_people.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/etc/data_people.csv -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/geo/data_haversine_km.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/geo/data_haversine_km.csv -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/geo/data_haversine_mi.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/geo/data_haversine_mi.csv -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/materializations/data_insert_by_period.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/materializations/data_insert_by_period.csv -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/schema_tests/data_cardinality_equality_a.csv: -------------------------------------------------------------------------------- 1 | same_name 2 | 1 3 | 2 4 | 3 -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/schema_tests/data_cardinality_equality_b.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/schema_tests/data_cardinality_equality_b.csv -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/schema_tests/data_not_null_proportion.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/schema_tests/data_not_null_proportion.csv -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/schema_tests/data_test_accepted_range.csv: -------------------------------------------------------------------------------- 1 | id 2 | -1 3 | 11 -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/schema_tests/data_test_at_least_one.csv: -------------------------------------------------------------------------------- 1 | field 2 | a 3 | -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/schema_tests/data_test_equal_rowcount.csv: -------------------------------------------------------------------------------- 1 | field 2 | 1 3 | 1 4 | 2 5 | -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/schema_tests/data_test_expression_is_true.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/schema_tests/data_test_expression_is_true.csv -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/schema_tests/data_test_fewer_rows_than_table_1.csv: -------------------------------------------------------------------------------- 1 | field 2 | 1 3 | 2 4 | 3 5 | -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/schema_tests/data_test_fewer_rows_than_table_2.csv: -------------------------------------------------------------------------------- 1 | field 2 | 1 3 | 2 4 | 3 5 | 4 6 | -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/schema_tests/data_test_mutually_exclusive_ranges_no_gaps.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/schema_tests/data_test_mutually_exclusive_ranges_no_gaps.csv -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/schema_tests/data_test_mutually_exclusive_ranges_with_gaps.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/schema_tests/data_test_mutually_exclusive_ranges_with_gaps.csv -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/schema_tests/data_test_mutually_exclusive_ranges_with_gaps_zero_length.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/schema_tests/data_test_mutually_exclusive_ranges_with_gaps_zero_length.csv -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/schema_tests/data_test_not_accepted_values.csv: -------------------------------------------------------------------------------- 1 | id,city 2 | 1,Barcelona 3 | 2,London 4 | 3,Paris 5 | 4,New York 6 | -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/schema_tests/data_test_not_constant.csv: -------------------------------------------------------------------------------- 1 | field 2 | 1 3 | 1 4 | 2 5 | -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/schema_tests/data_test_not_null_where.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/schema_tests/data_test_not_null_where.csv -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/schema_tests/data_test_relationships_where_table_1.csv: -------------------------------------------------------------------------------- 1 | id 2 | 1 3 | 2 4 | 3 5 | -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/schema_tests/data_test_relationships_where_table_2.csv: -------------------------------------------------------------------------------- 1 | id 2 | 1 3 | 2 4 | 4 5 | -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/schema_tests/data_test_sequential_timestamps.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/schema_tests/data_test_sequential_timestamps.csv -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/schema_tests/data_test_sequential_values.csv: -------------------------------------------------------------------------------- 1 | my_even_sequence 2 | 2 3 | 4 4 | 6 5 | 8 6 | 10 7 | -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/schema_tests/data_test_unique_where.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/schema_tests/data_test_unique_where.csv -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/schema_tests/data_unique_combination_of_columns.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/schema_tests/data_unique_combination_of_columns.csv -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/schema_tests/schema.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/schema_tests/schema.yml -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/sql/data_deduplicate.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/sql/data_deduplicate.csv -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/sql/data_deduplicate_expected.csv: -------------------------------------------------------------------------------- 1 | user_id,event,version 2 | 1,play,2 3 | -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/sql/data_events_20180101.csv: -------------------------------------------------------------------------------- 1 | user_id,event 2 | 1,play 3 | 2,pause 4 | -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/sql/data_events_20180102.csv: -------------------------------------------------------------------------------- 1 | user_id,event 2 | 3,play 3 | 4,pause 4 | -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/sql/data_events_20180103.csv: -------------------------------------------------------------------------------- 1 | user_id,event 2 | 5,play 3 | 6,pause 4 | -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/sql/data_filtered_columns_in_relation.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/sql/data_filtered_columns_in_relation.csv -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/sql/data_filtered_columns_in_relation_expected.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/sql/data_filtered_columns_in_relation_expected.csv -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/sql/data_generate_series.csv: -------------------------------------------------------------------------------- 1 | generated_number 2 | 1 3 | 2 4 | 3 5 | 4 6 | 5 7 | 6 8 | 7 9 | 8 10 | 9 11 | 10 12 | -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/sql/data_get_column_values.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/sql/data_get_column_values.csv -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/sql/data_get_column_values_dropped.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/sql/data_get_column_values_dropped.csv -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/sql/data_get_query_results_as_dict.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/sql/data_get_query_results_as_dict.csv -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/sql/data_nullcheck_table.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/sql/data_nullcheck_table.csv -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/sql/data_pivot.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/sql/data_pivot.csv -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/sql/data_pivot_expected.csv: -------------------------------------------------------------------------------- 1 | size,red,blue 2 | S,1,1 3 | M,1,0 -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/sql/data_pivot_expected_apostrophe.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/sql/data_pivot_expected_apostrophe.csv -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/sql/data_safe_add.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/sql/data_safe_add.csv -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/sql/data_star.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/sql/data_star.csv -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/sql/data_star_aggregate.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/sql/data_star_aggregate.csv -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/sql/data_star_aggregate_expected.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/sql/data_star_aggregate_expected.csv -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/sql/data_star_expected.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/sql/data_star_expected.csv -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/sql/data_star_prefix_suffix_expected.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/sql/data_star_prefix_suffix_expected.csv -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/sql/data_surrogate_key.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/sql/data_surrogate_key.csv -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/sql/data_union_events_expected.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/sql/data_union_events_expected.csv -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/sql/data_union_expected.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/sql/data_union_expected.csv -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/sql/data_union_table_1.csv: -------------------------------------------------------------------------------- 1 | id,name,favorite_number 2 | 1,drew,pi 3 | 2,bob,e 4 | 3,alice,4 5 | -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/sql/data_union_table_2.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/sql/data_union_table_2.csv -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/sql/data_unpivot.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/sql/data_unpivot.csv -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/sql/data_unpivot_bool.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/sql/data_unpivot_bool.csv -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/sql/data_unpivot_bool_expected.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/sql/data_unpivot_bool_expected.csv -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/sql/data_unpivot_expected.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/sql/data_unpivot_expected.csv -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/sql/data_unpivot_original_api_expected.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/sql/data_unpivot_original_api_expected.csv -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/web/data_url_host.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/web/data_url_host.csv -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/web/data_url_path.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/web/data_url_path.csv -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/web/data_urls.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/data/web/data_urls.csv -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/dbt_project.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/dbt_project.yml -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/macros/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/macros/assert_equal_values.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/macros/assert_equal_values.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/macros/limit_zero.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/macros/limit_zero.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/macros/tests.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/macros/tests.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/cross_db_utils/schema.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/cross_db_utils/schema.yml -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/cross_db_utils/test_any_value.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/cross_db_utils/test_any_value.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/cross_db_utils/test_bool_or.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/cross_db_utils/test_bool_or.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/cross_db_utils/test_concat.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/cross_db_utils/test_concat.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/cross_db_utils/test_current_timestamp.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/cross_db_utils/test_current_timestamp.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/cross_db_utils/test_current_timestamp_in_utc.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/cross_db_utils/test_current_timestamp_in_utc.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/cross_db_utils/test_date_trunc.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/cross_db_utils/test_date_trunc.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/cross_db_utils/test_dateadd.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/cross_db_utils/test_dateadd.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/cross_db_utils/test_datediff.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/cross_db_utils/test_datediff.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/cross_db_utils/test_hash.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/cross_db_utils/test_hash.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/cross_db_utils/test_last_day.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/cross_db_utils/test_last_day.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/cross_db_utils/test_length.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/cross_db_utils/test_length.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/cross_db_utils/test_listagg.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/cross_db_utils/test_listagg.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/cross_db_utils/test_position.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/cross_db_utils/test_position.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/cross_db_utils/test_replace.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/cross_db_utils/test_replace.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/cross_db_utils/test_right.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/cross_db_utils/test_right.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/cross_db_utils/test_safe_cast.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/cross_db_utils/test_safe_cast.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/cross_db_utils/test_split_part.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/cross_db_utils/test_split_part.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/cross_db_utils/test_width_bucket.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/cross_db_utils/test_width_bucket.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/datetime/schema.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/datetime/schema.yml -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/datetime/test_date_spine.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/datetime/test_date_spine.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/generic_tests/schema.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/generic_tests/schema.yml -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/generic_tests/test_equal_column_subset.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/generic_tests/test_equal_column_subset.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/generic_tests/test_equal_rowcount.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/generic_tests/test_equal_rowcount.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/generic_tests/test_fewer_rows_than.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/generic_tests/test_fewer_rows_than.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/generic_tests/test_recency.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/generic_tests/test_recency.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/geo/schema.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/geo/schema.yml -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/geo/test_haversine_distance_km.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/geo/test_haversine_distance_km.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/geo/test_haversine_distance_mi.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/geo/test_haversine_distance_mi.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/materializations/expected_insert_by_period.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/materializations/expected_insert_by_period.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/materializations/schema.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/materializations/schema.yml -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/materializations/test_insert_by_period.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/materializations/test_insert_by_period.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/sql/schema.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/sql/schema.yml -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/sql/test_deduplicate.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/sql/test_deduplicate.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/sql/test_generate_series.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/sql/test_generate_series.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/sql/test_get_column_values.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/sql/test_get_column_values.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/sql/test_get_filtered_columns_in_relation.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/sql/test_get_filtered_columns_in_relation.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/sql/test_get_relations_by_pattern.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/sql/test_get_relations_by_pattern.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/sql/test_get_relations_by_prefix_and_union.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/sql/test_get_relations_by_prefix_and_union.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/sql/test_groupby.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/sql/test_groupby.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/sql/test_nullcheck_table.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/sql/test_nullcheck_table.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/sql/test_pivot.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/sql/test_pivot.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/sql/test_pivot_apostrophe.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/sql/test_pivot_apostrophe.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/sql/test_safe_add.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/sql/test_safe_add.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/sql/test_star.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/sql/test_star.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/sql/test_star_aggregate.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/sql/test_star_aggregate.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/sql/test_star_prefix_suffix.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/sql/test_star_prefix_suffix.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/sql/test_star_uppercase.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/sql/test_star_uppercase.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/sql/test_surrogate_key.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/sql/test_surrogate_key.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/sql/test_union.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/sql/test_union.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/sql/test_union_base.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/sql/test_union_base.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/sql/test_unpivot.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/sql/test_unpivot.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/sql/test_unpivot_bool.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/sql/test_unpivot_bool.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/sql/test_unpivot_original_api.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/sql/test_unpivot_original_api.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/web/schema.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/web/schema.yml -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/web/test_url_host.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/web/test_url_host.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/web/test_url_path.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/web/test_url_path.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/web/test_urls.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/models/web/test_urls.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/packages.yml: -------------------------------------------------------------------------------- 1 | 2 | packages: 3 | - local: ../ 4 | -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/tests/assert_get_query_results_as_dict_objects_equal.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/tests/assert_get_query_results_as_dict_objects_equal.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/tests/jinja_helpers/assert_pretty_output_msg_is_string.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/tests/jinja_helpers/assert_pretty_output_msg_is_string.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/tests/jinja_helpers/assert_pretty_time_is_string.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/tests/jinja_helpers/assert_pretty_time_is_string.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/tests/jinja_helpers/test_slugify.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/tests/jinja_helpers/test_slugify.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/integration_tests/tests/sql/test_get_column_values_use_default.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/integration_tests/tests/sql/test_get_column_values_use_default.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/macros/cross_db_utils/_is_ephemeral.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/macros/cross_db_utils/_is_ephemeral.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/macros/cross_db_utils/_is_relation.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/macros/cross_db_utils/_is_relation.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/macros/cross_db_utils/any_value.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/macros/cross_db_utils/any_value.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/macros/cross_db_utils/bool_or.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/macros/cross_db_utils/bool_or.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/macros/cross_db_utils/cast_bool_to_text.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/macros/cross_db_utils/cast_bool_to_text.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/macros/cross_db_utils/concat.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/macros/cross_db_utils/concat.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/macros/cross_db_utils/current_timestamp.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/macros/cross_db_utils/current_timestamp.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/macros/cross_db_utils/datatypes.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/macros/cross_db_utils/datatypes.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/macros/cross_db_utils/date_trunc.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/macros/cross_db_utils/date_trunc.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/macros/cross_db_utils/dateadd.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/macros/cross_db_utils/dateadd.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/macros/cross_db_utils/datediff.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/macros/cross_db_utils/datediff.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/macros/cross_db_utils/escape_single_quotes.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/macros/cross_db_utils/escape_single_quotes.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/macros/cross_db_utils/except.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/macros/cross_db_utils/except.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/macros/cross_db_utils/hash.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/macros/cross_db_utils/hash.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/macros/cross_db_utils/identifier.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/macros/cross_db_utils/identifier.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/macros/cross_db_utils/intersect.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/macros/cross_db_utils/intersect.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/macros/cross_db_utils/last_day.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/macros/cross_db_utils/last_day.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/macros/cross_db_utils/length.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/macros/cross_db_utils/length.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/macros/cross_db_utils/listagg.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/macros/cross_db_utils/listagg.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/macros/cross_db_utils/literal.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/macros/cross_db_utils/literal.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/macros/cross_db_utils/position.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/macros/cross_db_utils/position.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/macros/cross_db_utils/replace.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/macros/cross_db_utils/replace.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/macros/cross_db_utils/right.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/macros/cross_db_utils/right.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/macros/cross_db_utils/safe_cast.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/macros/cross_db_utils/safe_cast.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/macros/cross_db_utils/split_part.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/macros/cross_db_utils/split_part.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/macros/cross_db_utils/width_bucket.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/macros/cross_db_utils/width_bucket.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/macros/generic_tests/accepted_range.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/macros/generic_tests/accepted_range.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/macros/generic_tests/at_least_one.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/macros/generic_tests/at_least_one.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/macros/generic_tests/cardinality_equality.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/macros/generic_tests/cardinality_equality.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/macros/generic_tests/equal_rowcount.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/macros/generic_tests/equal_rowcount.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/macros/generic_tests/equality.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/macros/generic_tests/equality.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/macros/generic_tests/expression_is_true.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/macros/generic_tests/expression_is_true.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/macros/generic_tests/fewer_rows_than.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/macros/generic_tests/fewer_rows_than.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/macros/generic_tests/mutually_exclusive_ranges.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/macros/generic_tests/mutually_exclusive_ranges.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/macros/generic_tests/not_accepted_values.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/macros/generic_tests/not_accepted_values.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/macros/generic_tests/not_constant.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/macros/generic_tests/not_constant.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/macros/generic_tests/not_null_proportion.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/macros/generic_tests/not_null_proportion.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/macros/generic_tests/recency.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/macros/generic_tests/recency.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/macros/generic_tests/relationships_where.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/macros/generic_tests/relationships_where.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/macros/generic_tests/sequential_values.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/macros/generic_tests/sequential_values.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/macros/generic_tests/test_not_null_where.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/macros/generic_tests/test_not_null_where.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/macros/generic_tests/test_unique_where.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/macros/generic_tests/test_unique_where.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/macros/generic_tests/unique_combination_of_columns.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/macros/generic_tests/unique_combination_of_columns.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/macros/jinja_helpers/log_info.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/macros/jinja_helpers/log_info.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/macros/jinja_helpers/pretty_log_format.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/macros/jinja_helpers/pretty_log_format.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/macros/jinja_helpers/pretty_time.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/macros/jinja_helpers/pretty_time.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/macros/jinja_helpers/slugify.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/macros/jinja_helpers/slugify.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/macros/materializations/insert_by_period_materialization.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/macros/materializations/insert_by_period_materialization.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/macros/sql/date_spine.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/macros/sql/date_spine.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/macros/sql/deduplicate.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/macros/sql/deduplicate.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/macros/sql/generate_series.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/macros/sql/generate_series.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/macros/sql/get_column_values.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/macros/sql/get_column_values.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/macros/sql/get_filtered_columns_in_relation.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/macros/sql/get_filtered_columns_in_relation.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/macros/sql/get_query_results_as_dict.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/macros/sql/get_query_results_as_dict.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/macros/sql/get_relations_by_pattern.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/macros/sql/get_relations_by_pattern.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/macros/sql/get_relations_by_prefix.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/macros/sql/get_relations_by_prefix.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/macros/sql/get_table_types_sql.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/macros/sql/get_table_types_sql.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/macros/sql/get_tables_by_pattern_sql.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/macros/sql/get_tables_by_pattern_sql.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/macros/sql/get_tables_by_prefix_sql.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/macros/sql/get_tables_by_prefix_sql.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/macros/sql/groupby.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/macros/sql/groupby.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/macros/sql/haversine_distance.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/macros/sql/haversine_distance.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/macros/sql/nullcheck.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/macros/sql/nullcheck.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/macros/sql/nullcheck_table.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/macros/sql/nullcheck_table.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/macros/sql/pivot.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/macros/sql/pivot.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/macros/sql/safe_add.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/macros/sql/safe_add.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/macros/sql/star.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/macros/sql/star.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/macros/sql/surrogate_key.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/macros/sql/surrogate_key.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/macros/sql/union.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/macros/sql/union.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/macros/sql/unpivot.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/macros/sql/unpivot.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/macros/web/get_url_host.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/macros/web/get_url_host.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/macros/web/get_url_parameter.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/macros/web/get_url_parameter.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/macros/web/get_url_path.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/macros/web/get_url_path.sql -------------------------------------------------------------------------------- /jaffle_shop/dbt_packages/dbt_utils/run_test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_packages/dbt_utils/run_test.sh -------------------------------------------------------------------------------- /jaffle_shop/dbt_project.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/dbt_project.yml -------------------------------------------------------------------------------- /jaffle_shop/macros/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /jaffle_shop/macros/cents_to_dollars.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/macros/cents_to_dollars.sql -------------------------------------------------------------------------------- /jaffle_shop/macros/clean_stale_models.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/macros/clean_stale_models.sql -------------------------------------------------------------------------------- /jaffle_shop/macros/grant_select.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/macros/grant_select.sql -------------------------------------------------------------------------------- /jaffle_shop/models/all_dates.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/models/all_dates.sql -------------------------------------------------------------------------------- /jaffle_shop/models/intermediate/int_orders.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/models/intermediate/int_orders.sql -------------------------------------------------------------------------------- /jaffle_shop/models/legacy/customer_orders.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/models/legacy/customer_orders.sql -------------------------------------------------------------------------------- /jaffle_shop/models/marts/core/dim_customers.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/models/marts/core/dim_customers.sql -------------------------------------------------------------------------------- /jaffle_shop/models/marts/core/fct_customer_orders.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/models/marts/core/fct_customer_orders.sql -------------------------------------------------------------------------------- /jaffle_shop/models/marts/core/fct_orders.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/models/marts/core/fct_orders.sql -------------------------------------------------------------------------------- /jaffle_shop/models/marts/core/int_orders__pivoted.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/models/marts/core/int_orders__pivoted.sql -------------------------------------------------------------------------------- /jaffle_shop/models/staging/jaffle_shop/src_jaffle_shop.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/models/staging/jaffle_shop/src_jaffle_shop.yml -------------------------------------------------------------------------------- /jaffle_shop/models/staging/jaffle_shop/stg_customers.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/models/staging/jaffle_shop/stg_customers.sql -------------------------------------------------------------------------------- /jaffle_shop/models/staging/jaffle_shop/stg_jaffle_shop.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/models/staging/jaffle_shop/stg_jaffle_shop.md -------------------------------------------------------------------------------- /jaffle_shop/models/staging/jaffle_shop/stg_jaffle_shop.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/models/staging/jaffle_shop/stg_jaffle_shop.yml -------------------------------------------------------------------------------- /jaffle_shop/models/staging/jaffle_shop/stg_jaffle_shop__customers.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/models/staging/jaffle_shop/stg_jaffle_shop__customers.sql -------------------------------------------------------------------------------- /jaffle_shop/models/staging/jaffle_shop/stg_jaffle_shop__orders.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/models/staging/jaffle_shop/stg_jaffle_shop__orders.sql -------------------------------------------------------------------------------- /jaffle_shop/models/staging/jaffle_shop/stg_orders.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/models/staging/jaffle_shop/stg_orders.sql -------------------------------------------------------------------------------- /jaffle_shop/models/staging/stripe/src_stripe.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/models/staging/stripe/src_stripe.yml -------------------------------------------------------------------------------- /jaffle_shop/models/staging/stripe/stg_payments.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/models/staging/stripe/stg_payments.sql -------------------------------------------------------------------------------- /jaffle_shop/models/staging/stripe/stg_stripe__payments.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/models/staging/stripe/stg_stripe__payments.sql -------------------------------------------------------------------------------- /jaffle_shop/packages.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/packages.yml -------------------------------------------------------------------------------- /jaffle_shop/profiles.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/profiles.yml -------------------------------------------------------------------------------- /jaffle_shop/seeds/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /jaffle_shop/seeds/employees.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/seeds/employees.csv -------------------------------------------------------------------------------- /jaffle_shop/snapshots/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /jaffle_shop/target/catalog.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/target/catalog.json -------------------------------------------------------------------------------- /jaffle_shop/target/compiled/jaffle_shop/analyses/compare_queries.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/target/compiled/jaffle_shop/analyses/compare_queries.sql -------------------------------------------------------------------------------- /jaffle_shop/target/compiled/jaffle_shop/analyses/total_revenue.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/target/compiled/jaffle_shop/analyses/total_revenue.sql -------------------------------------------------------------------------------- /jaffle_shop/target/compiled/jaffle_shop/models/all_dates.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/target/compiled/jaffle_shop/models/all_dates.sql -------------------------------------------------------------------------------- /jaffle_shop/target/compiled/jaffle_shop/models/intermediate/int_orders.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/target/compiled/jaffle_shop/models/intermediate/int_orders.sql -------------------------------------------------------------------------------- /jaffle_shop/target/compiled/jaffle_shop/models/legacy/customer_orders.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/target/compiled/jaffle_shop/models/legacy/customer_orders.sql -------------------------------------------------------------------------------- /jaffle_shop/target/compiled/jaffle_shop/models/legacy/fct_customer_orders.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/target/compiled/jaffle_shop/models/legacy/fct_customer_orders.sql -------------------------------------------------------------------------------- /jaffle_shop/target/compiled/jaffle_shop/models/legacy/fct_customer_orders_old.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/target/compiled/jaffle_shop/models/legacy/fct_customer_orders_old.sql -------------------------------------------------------------------------------- /jaffle_shop/target/compiled/jaffle_shop/models/marts/core/dim_customers.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/target/compiled/jaffle_shop/models/marts/core/dim_customers.sql -------------------------------------------------------------------------------- /jaffle_shop/target/compiled/jaffle_shop/models/marts/core/fct_customer_orders.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/target/compiled/jaffle_shop/models/marts/core/fct_customer_orders.sql -------------------------------------------------------------------------------- /jaffle_shop/target/compiled/jaffle_shop/models/marts/core/fct_customers_orders.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/target/compiled/jaffle_shop/models/marts/core/fct_customers_orders.sql -------------------------------------------------------------------------------- /jaffle_shop/target/compiled/jaffle_shop/models/marts/core/fct_orders.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/target/compiled/jaffle_shop/models/marts/core/fct_orders.sql -------------------------------------------------------------------------------- /jaffle_shop/target/compiled/jaffle_shop/models/marts/core/int_orders__pivoted.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/target/compiled/jaffle_shop/models/marts/core/int_orders__pivoted.sql -------------------------------------------------------------------------------- /jaffle_shop/target/compiled/jaffle_shop/models/staging/jaffle_shop/src_jaffle_shop.yml/source_not_null_jaffle_shop_customers_id.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/target/compiled/jaffle_shop/models/staging/jaffle_shop/src_jaffle_shop.yml/source_not_null_jaffle_shop_customers_id.sql -------------------------------------------------------------------------------- /jaffle_shop/target/compiled/jaffle_shop/models/staging/jaffle_shop/src_jaffle_shop.yml/source_not_null_jaffle_shop_orders_id.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/target/compiled/jaffle_shop/models/staging/jaffle_shop/src_jaffle_shop.yml/source_not_null_jaffle_shop_orders_id.sql -------------------------------------------------------------------------------- /jaffle_shop/target/compiled/jaffle_shop/models/staging/jaffle_shop/src_jaffle_shop.yml/source_unique_jaffle_shop_customers_id.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/target/compiled/jaffle_shop/models/staging/jaffle_shop/src_jaffle_shop.yml/source_unique_jaffle_shop_customers_id.sql -------------------------------------------------------------------------------- /jaffle_shop/target/compiled/jaffle_shop/models/staging/jaffle_shop/src_jaffle_shop.yml/source_unique_jaffle_shop_orders_id.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/target/compiled/jaffle_shop/models/staging/jaffle_shop/src_jaffle_shop.yml/source_unique_jaffle_shop_orders_id.sql -------------------------------------------------------------------------------- /jaffle_shop/target/compiled/jaffle_shop/models/staging/jaffle_shop/stg_customers.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/target/compiled/jaffle_shop/models/staging/jaffle_shop/stg_customers.sql -------------------------------------------------------------------------------- /jaffle_shop/target/compiled/jaffle_shop/models/staging/jaffle_shop/stg_jaffle_shop.yml/accepted_values_stg_orders_99eb96a6e71559355998323ec83bd487.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/target/compiled/jaffle_shop/models/staging/jaffle_shop/stg_jaffle_shop.yml/accepted_values_stg_orders_99eb96a6e71559355998323ec83bd487.sql -------------------------------------------------------------------------------- /jaffle_shop/target/compiled/jaffle_shop/models/staging/jaffle_shop/stg_jaffle_shop.yml/not_null_stg_customers_customer_id.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/target/compiled/jaffle_shop/models/staging/jaffle_shop/stg_jaffle_shop.yml/not_null_stg_customers_customer_id.sql -------------------------------------------------------------------------------- /jaffle_shop/target/compiled/jaffle_shop/models/staging/jaffle_shop/stg_jaffle_shop.yml/not_null_stg_orders_order_id.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/target/compiled/jaffle_shop/models/staging/jaffle_shop/stg_jaffle_shop.yml/not_null_stg_orders_order_id.sql -------------------------------------------------------------------------------- /jaffle_shop/target/compiled/jaffle_shop/models/staging/jaffle_shop/stg_jaffle_shop.yml/relationships_stg_orders_96411fe0c89b49c3f4da955dfd358ba0.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/target/compiled/jaffle_shop/models/staging/jaffle_shop/stg_jaffle_shop.yml/relationships_stg_orders_96411fe0c89b49c3f4da955dfd358ba0.sql -------------------------------------------------------------------------------- /jaffle_shop/target/compiled/jaffle_shop/models/staging/jaffle_shop/stg_jaffle_shop.yml/unique_stg_customers_customer_id.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/target/compiled/jaffle_shop/models/staging/jaffle_shop/stg_jaffle_shop.yml/unique_stg_customers_customer_id.sql -------------------------------------------------------------------------------- /jaffle_shop/target/compiled/jaffle_shop/models/staging/jaffle_shop/stg_jaffle_shop.yml/unique_stg_orders_order_id.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/target/compiled/jaffle_shop/models/staging/jaffle_shop/stg_jaffle_shop.yml/unique_stg_orders_order_id.sql -------------------------------------------------------------------------------- /jaffle_shop/target/compiled/jaffle_shop/models/staging/jaffle_shop/stg_jaffle_shop__customers.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/target/compiled/jaffle_shop/models/staging/jaffle_shop/stg_jaffle_shop__customers.sql -------------------------------------------------------------------------------- /jaffle_shop/target/compiled/jaffle_shop/models/staging/jaffle_shop/stg_jaffle_shop__orders.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/target/compiled/jaffle_shop/models/staging/jaffle_shop/stg_jaffle_shop__orders.sql -------------------------------------------------------------------------------- /jaffle_shop/target/compiled/jaffle_shop/models/staging/jaffle_shop/stg_orders.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/target/compiled/jaffle_shop/models/staging/jaffle_shop/stg_orders.sql -------------------------------------------------------------------------------- /jaffle_shop/target/compiled/jaffle_shop/models/staging/stripe/stg_payments.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/target/compiled/jaffle_shop/models/staging/stripe/stg_payments.sql -------------------------------------------------------------------------------- /jaffle_shop/target/compiled/jaffle_shop/models/staging/stripe/stg_stripe__payments.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/target/compiled/jaffle_shop/models/staging/stripe/stg_stripe__payments.sql -------------------------------------------------------------------------------- /jaffle_shop/target/compiled/jaffle_shop/tests/assert_positive_total_for_payments.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/target/compiled/jaffle_shop/tests/assert_positive_total_for_payments.sql -------------------------------------------------------------------------------- /jaffle_shop/target/compiled/jaffle_shop/tests/assert_positive_total_for_payments_daily.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/target/compiled/jaffle_shop/tests/assert_positive_total_for_payments_daily.sql -------------------------------------------------------------------------------- /jaffle_shop/target/graph.gpickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/target/graph.gpickle -------------------------------------------------------------------------------- /jaffle_shop/target/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/target/index.html -------------------------------------------------------------------------------- /jaffle_shop/target/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/target/manifest.json -------------------------------------------------------------------------------- /jaffle_shop/target/partial_parse.msgpack: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/target/partial_parse.msgpack -------------------------------------------------------------------------------- /jaffle_shop/target/perf_info.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/target/perf_info.json -------------------------------------------------------------------------------- /jaffle_shop/target/run/jaffle_shop/models/all_dates.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/target/run/jaffle_shop/models/all_dates.sql -------------------------------------------------------------------------------- /jaffle_shop/target/run/jaffle_shop/models/intermediate/int_orders.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/target/run/jaffle_shop/models/intermediate/int_orders.sql -------------------------------------------------------------------------------- /jaffle_shop/target/run/jaffle_shop/models/legacy/customer_orders.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/target/run/jaffle_shop/models/legacy/customer_orders.sql -------------------------------------------------------------------------------- /jaffle_shop/target/run/jaffle_shop/models/legacy/fct_customer_orders.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/target/run/jaffle_shop/models/legacy/fct_customer_orders.sql -------------------------------------------------------------------------------- /jaffle_shop/target/run/jaffle_shop/models/legacy/fct_customer_orders_old.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/target/run/jaffle_shop/models/legacy/fct_customer_orders_old.sql -------------------------------------------------------------------------------- /jaffle_shop/target/run/jaffle_shop/models/marts/core/dim_customers.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/target/run/jaffle_shop/models/marts/core/dim_customers.sql -------------------------------------------------------------------------------- /jaffle_shop/target/run/jaffle_shop/models/marts/core/fct_customer_orders.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/target/run/jaffle_shop/models/marts/core/fct_customer_orders.sql -------------------------------------------------------------------------------- /jaffle_shop/target/run/jaffle_shop/models/marts/core/fct_customers_orders.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/target/run/jaffle_shop/models/marts/core/fct_customers_orders.sql -------------------------------------------------------------------------------- /jaffle_shop/target/run/jaffle_shop/models/marts/core/fct_orders.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/target/run/jaffle_shop/models/marts/core/fct_orders.sql -------------------------------------------------------------------------------- /jaffle_shop/target/run/jaffle_shop/models/marts/core/int_orders__pivoted.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/target/run/jaffle_shop/models/marts/core/int_orders__pivoted.sql -------------------------------------------------------------------------------- /jaffle_shop/target/run/jaffle_shop/models/staging/jaffle_shop/src_jaffle_shop.yml/source_not_null_jaffle_shop_customers_id.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/target/run/jaffle_shop/models/staging/jaffle_shop/src_jaffle_shop.yml/source_not_null_jaffle_shop_customers_id.sql -------------------------------------------------------------------------------- /jaffle_shop/target/run/jaffle_shop/models/staging/jaffle_shop/src_jaffle_shop.yml/source_not_null_jaffle_shop_orders_id.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/target/run/jaffle_shop/models/staging/jaffle_shop/src_jaffle_shop.yml/source_not_null_jaffle_shop_orders_id.sql -------------------------------------------------------------------------------- /jaffle_shop/target/run/jaffle_shop/models/staging/jaffle_shop/src_jaffle_shop.yml/source_unique_jaffle_shop_customers_id.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/target/run/jaffle_shop/models/staging/jaffle_shop/src_jaffle_shop.yml/source_unique_jaffle_shop_customers_id.sql -------------------------------------------------------------------------------- /jaffle_shop/target/run/jaffle_shop/models/staging/jaffle_shop/src_jaffle_shop.yml/source_unique_jaffle_shop_orders_id.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/target/run/jaffle_shop/models/staging/jaffle_shop/src_jaffle_shop.yml/source_unique_jaffle_shop_orders_id.sql -------------------------------------------------------------------------------- /jaffle_shop/target/run/jaffle_shop/models/staging/jaffle_shop/stg_customers.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/target/run/jaffle_shop/models/staging/jaffle_shop/stg_customers.sql -------------------------------------------------------------------------------- /jaffle_shop/target/run/jaffle_shop/models/staging/jaffle_shop/stg_jaffle_shop.yml/accepted_values_stg_orders_99eb96a6e71559355998323ec83bd487.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/target/run/jaffle_shop/models/staging/jaffle_shop/stg_jaffle_shop.yml/accepted_values_stg_orders_99eb96a6e71559355998323ec83bd487.sql -------------------------------------------------------------------------------- /jaffle_shop/target/run/jaffle_shop/models/staging/jaffle_shop/stg_jaffle_shop.yml/not_null_stg_customers_customer_id.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/target/run/jaffle_shop/models/staging/jaffle_shop/stg_jaffle_shop.yml/not_null_stg_customers_customer_id.sql -------------------------------------------------------------------------------- /jaffle_shop/target/run/jaffle_shop/models/staging/jaffle_shop/stg_jaffle_shop.yml/not_null_stg_orders_order_id.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/target/run/jaffle_shop/models/staging/jaffle_shop/stg_jaffle_shop.yml/not_null_stg_orders_order_id.sql -------------------------------------------------------------------------------- /jaffle_shop/target/run/jaffle_shop/models/staging/jaffle_shop/stg_jaffle_shop.yml/relationships_stg_orders_96411fe0c89b49c3f4da955dfd358ba0.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/target/run/jaffle_shop/models/staging/jaffle_shop/stg_jaffle_shop.yml/relationships_stg_orders_96411fe0c89b49c3f4da955dfd358ba0.sql -------------------------------------------------------------------------------- /jaffle_shop/target/run/jaffle_shop/models/staging/jaffle_shop/stg_jaffle_shop.yml/unique_stg_customers_customer_id.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/target/run/jaffle_shop/models/staging/jaffle_shop/stg_jaffle_shop.yml/unique_stg_customers_customer_id.sql -------------------------------------------------------------------------------- /jaffle_shop/target/run/jaffle_shop/models/staging/jaffle_shop/stg_jaffle_shop.yml/unique_stg_orders_order_id.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/target/run/jaffle_shop/models/staging/jaffle_shop/stg_jaffle_shop.yml/unique_stg_orders_order_id.sql -------------------------------------------------------------------------------- /jaffle_shop/target/run/jaffle_shop/models/staging/jaffle_shop/stg_jaffle_shop__customers.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/target/run/jaffle_shop/models/staging/jaffle_shop/stg_jaffle_shop__customers.sql -------------------------------------------------------------------------------- /jaffle_shop/target/run/jaffle_shop/models/staging/jaffle_shop/stg_jaffle_shop__orders.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/target/run/jaffle_shop/models/staging/jaffle_shop/stg_jaffle_shop__orders.sql -------------------------------------------------------------------------------- /jaffle_shop/target/run/jaffle_shop/models/staging/jaffle_shop/stg_orders.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/target/run/jaffle_shop/models/staging/jaffle_shop/stg_orders.sql -------------------------------------------------------------------------------- /jaffle_shop/target/run/jaffle_shop/models/staging/stripe/stg_payments.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/target/run/jaffle_shop/models/staging/stripe/stg_payments.sql -------------------------------------------------------------------------------- /jaffle_shop/target/run/jaffle_shop/models/staging/stripe/stg_stripe__payments.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/target/run/jaffle_shop/models/staging/stripe/stg_stripe__payments.sql -------------------------------------------------------------------------------- /jaffle_shop/target/run/jaffle_shop/seeds/employees.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/target/run/jaffle_shop/seeds/employees.csv -------------------------------------------------------------------------------- /jaffle_shop/target/run/jaffle_shop/tests/assert_positive_total_for_payments.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/target/run/jaffle_shop/tests/assert_positive_total_for_payments.sql -------------------------------------------------------------------------------- /jaffle_shop/target/run/jaffle_shop/tests/assert_positive_total_for_payments_daily.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/target/run/jaffle_shop/tests/assert_positive_total_for_payments_daily.sql -------------------------------------------------------------------------------- /jaffle_shop/target/run_results.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/target/run_results.json -------------------------------------------------------------------------------- /jaffle_shop/tests/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /jaffle_shop/tests/assert_positive_total_for_payments.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/tests/assert_positive_total_for_payments.sql -------------------------------------------------------------------------------- /jaffle_shop/tests/assert_positive_total_for_payments_daily.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luchonaveiro/dbt-postgres-tutorial/HEAD/jaffle_shop/tests/assert_positive_total_for_payments_daily.sql --------------------------------------------------------------------------------