├── .circleci └── config.yml ├── .gitignore ├── Dockerfile ├── LICENSE ├── README.md ├── core ├── __init__.py ├── bootstrap.py ├── compare.py ├── find.py ├── main.py ├── open.py ├── retry_failed.py └── show_dependencies.py ├── docker-compose.yml ├── setup.cfg ├── setup.py ├── test.env ├── test ├── __init__.py ├── integration │ ├── 001_basic_ui_test │ │ ├── models │ │ │ ├── downstream.sql │ │ │ └── test_view.sql │ │ └── test_ui.py │ ├── 002_bootstrap_test │ │ ├── models │ │ │ ├── downstream.sql │ │ │ └── test_view.sql │ │ └── test_bootstrap.py │ ├── 003_compare_test │ │ ├── models │ │ │ ├── downstream.sql │ │ │ └── test_view.sql │ │ └── test_compare.py │ ├── 004_compare_snapshot_test │ │ ├── data │ │ │ └── seed.csv │ │ ├── snapshots │ │ │ └── seed_snapshot.sql │ │ └── test_compare_snapshot.py │ ├── 005_dependency_viewer_test │ │ ├── models │ │ │ ├── a.sql │ │ │ ├── b.sql │ │ │ ├── c.sql │ │ │ └── d.sql │ │ └── test_dependency_viewer.py │ ├── 006_source_schema_test │ │ ├── models │ │ │ ├── a.sql │ │ │ ├── b.sql │ │ │ ├── c.sql │ │ │ ├── d.sql │ │ │ └── schema.yml │ │ └── test_source_schemas.py │ ├── 007_open_find_test │ │ ├── local_dependency │ │ │ ├── dbt_project.yml │ │ │ └── models │ │ │ │ └── my_package_model.sql │ │ ├── models │ │ │ └── my_model.sql │ │ └── test_open_find.py │ ├── 008_retry_failed_test │ │ ├── models │ │ │ ├── my_failing_model.sql │ │ │ ├── my_passing_model.sql │ │ │ └── my_skipped_model.sql │ │ └── test_retry_failed.py │ ├── __init__.py │ └── base.py ├── setup_db.sh └── test.py ├── tox.ini └── utils ├── __init__.py ├── logging.py └── ui.py /.circleci/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikekaminsky/dbt-helper/HEAD/.circleci/config.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikekaminsky/dbt-helper/HEAD/.gitignore -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikekaminsky/dbt-helper/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikekaminsky/dbt-helper/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikekaminsky/dbt-helper/HEAD/README.md -------------------------------------------------------------------------------- /core/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /core/bootstrap.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikekaminsky/dbt-helper/HEAD/core/bootstrap.py -------------------------------------------------------------------------------- /core/compare.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikekaminsky/dbt-helper/HEAD/core/compare.py -------------------------------------------------------------------------------- /core/find.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikekaminsky/dbt-helper/HEAD/core/find.py -------------------------------------------------------------------------------- /core/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikekaminsky/dbt-helper/HEAD/core/main.py -------------------------------------------------------------------------------- /core/open.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikekaminsky/dbt-helper/HEAD/core/open.py -------------------------------------------------------------------------------- /core/retry_failed.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikekaminsky/dbt-helper/HEAD/core/retry_failed.py -------------------------------------------------------------------------------- /core/show_dependencies.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikekaminsky/dbt-helper/HEAD/core/show_dependencies.py -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikekaminsky/dbt-helper/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /setup.cfg: -------------------------------------------------------------------------------- 1 | [flake8] 2 | max-line-length = 120 3 | -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikekaminsky/dbt-helper/HEAD/setup.py -------------------------------------------------------------------------------- /test.env: -------------------------------------------------------------------------------- 1 | DBT_INVOCATION_ENV=development 2 | -------------------------------------------------------------------------------- /test/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/integration/001_basic_ui_test/models/downstream.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikekaminsky/dbt-helper/HEAD/test/integration/001_basic_ui_test/models/downstream.sql -------------------------------------------------------------------------------- /test/integration/001_basic_ui_test/models/test_view.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikekaminsky/dbt-helper/HEAD/test/integration/001_basic_ui_test/models/test_view.sql -------------------------------------------------------------------------------- /test/integration/001_basic_ui_test/test_ui.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikekaminsky/dbt-helper/HEAD/test/integration/001_basic_ui_test/test_ui.py -------------------------------------------------------------------------------- /test/integration/002_bootstrap_test/models/downstream.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikekaminsky/dbt-helper/HEAD/test/integration/002_bootstrap_test/models/downstream.sql -------------------------------------------------------------------------------- /test/integration/002_bootstrap_test/models/test_view.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikekaminsky/dbt-helper/HEAD/test/integration/002_bootstrap_test/models/test_view.sql -------------------------------------------------------------------------------- /test/integration/002_bootstrap_test/test_bootstrap.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikekaminsky/dbt-helper/HEAD/test/integration/002_bootstrap_test/test_bootstrap.py -------------------------------------------------------------------------------- /test/integration/003_compare_test/models/downstream.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikekaminsky/dbt-helper/HEAD/test/integration/003_compare_test/models/downstream.sql -------------------------------------------------------------------------------- /test/integration/003_compare_test/models/test_view.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikekaminsky/dbt-helper/HEAD/test/integration/003_compare_test/models/test_view.sql -------------------------------------------------------------------------------- /test/integration/003_compare_test/test_compare.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikekaminsky/dbt-helper/HEAD/test/integration/003_compare_test/test_compare.py -------------------------------------------------------------------------------- /test/integration/004_compare_snapshot_test/data/seed.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikekaminsky/dbt-helper/HEAD/test/integration/004_compare_snapshot_test/data/seed.csv -------------------------------------------------------------------------------- /test/integration/004_compare_snapshot_test/snapshots/seed_snapshot.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikekaminsky/dbt-helper/HEAD/test/integration/004_compare_snapshot_test/snapshots/seed_snapshot.sql -------------------------------------------------------------------------------- /test/integration/004_compare_snapshot_test/test_compare_snapshot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikekaminsky/dbt-helper/HEAD/test/integration/004_compare_snapshot_test/test_compare_snapshot.py -------------------------------------------------------------------------------- /test/integration/005_dependency_viewer_test/models/a.sql: -------------------------------------------------------------------------------- 1 | SELECT 1 2 | -------------------------------------------------------------------------------- /test/integration/005_dependency_viewer_test/models/b.sql: -------------------------------------------------------------------------------- 1 | SELECT * FROM {{ref('a')}} 2 | -------------------------------------------------------------------------------- /test/integration/005_dependency_viewer_test/models/c.sql: -------------------------------------------------------------------------------- 1 | SELECT * FROM {{ref('b')}} 2 | -------------------------------------------------------------------------------- /test/integration/005_dependency_viewer_test/models/d.sql: -------------------------------------------------------------------------------- 1 | SELECT * FROM {{ref('c')}} 2 | -------------------------------------------------------------------------------- /test/integration/005_dependency_viewer_test/test_dependency_viewer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikekaminsky/dbt-helper/HEAD/test/integration/005_dependency_viewer_test/test_dependency_viewer.py -------------------------------------------------------------------------------- /test/integration/006_source_schema_test/models/a.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikekaminsky/dbt-helper/HEAD/test/integration/006_source_schema_test/models/a.sql -------------------------------------------------------------------------------- /test/integration/006_source_schema_test/models/b.sql: -------------------------------------------------------------------------------- 1 | SELECT * FROM {{ref('a')}} 2 | -------------------------------------------------------------------------------- /test/integration/006_source_schema_test/models/c.sql: -------------------------------------------------------------------------------- 1 | SELECT * FROM {{ref('b')}} 2 | -------------------------------------------------------------------------------- /test/integration/006_source_schema_test/models/d.sql: -------------------------------------------------------------------------------- 1 | SELECT * FROM {{ref('c')}} 2 | -------------------------------------------------------------------------------- /test/integration/006_source_schema_test/models/schema.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikekaminsky/dbt-helper/HEAD/test/integration/006_source_schema_test/models/schema.yml -------------------------------------------------------------------------------- /test/integration/006_source_schema_test/test_source_schemas.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikekaminsky/dbt-helper/HEAD/test/integration/006_source_schema_test/test_source_schemas.py -------------------------------------------------------------------------------- /test/integration/007_open_find_test/local_dependency/dbt_project.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikekaminsky/dbt-helper/HEAD/test/integration/007_open_find_test/local_dependency/dbt_project.yml -------------------------------------------------------------------------------- /test/integration/007_open_find_test/local_dependency/models/my_package_model.sql: -------------------------------------------------------------------------------- 1 | select 1 as colname 2 | -------------------------------------------------------------------------------- /test/integration/007_open_find_test/models/my_model.sql: -------------------------------------------------------------------------------- 1 | 2 | 3 | select 1 as id 4 | -------------------------------------------------------------------------------- /test/integration/007_open_find_test/test_open_find.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikekaminsky/dbt-helper/HEAD/test/integration/007_open_find_test/test_open_find.py -------------------------------------------------------------------------------- /test/integration/008_retry_failed_test/models/my_failing_model.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikekaminsky/dbt-helper/HEAD/test/integration/008_retry_failed_test/models/my_failing_model.sql -------------------------------------------------------------------------------- /test/integration/008_retry_failed_test/models/my_passing_model.sql: -------------------------------------------------------------------------------- 1 | select 1 as colname 2 | -------------------------------------------------------------------------------- /test/integration/008_retry_failed_test/models/my_skipped_model.sql: -------------------------------------------------------------------------------- 1 | -- depends on {{ ref('my_failing_model') }} 2 | select 1 as colname 3 | -------------------------------------------------------------------------------- /test/integration/008_retry_failed_test/test_retry_failed.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikekaminsky/dbt-helper/HEAD/test/integration/008_retry_failed_test/test_retry_failed.py -------------------------------------------------------------------------------- /test/integration/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/integration/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikekaminsky/dbt-helper/HEAD/test/integration/base.py -------------------------------------------------------------------------------- /test/setup_db.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikekaminsky/dbt-helper/HEAD/test/setup_db.sh -------------------------------------------------------------------------------- /test/test.py: -------------------------------------------------------------------------------- 1 | def test(): 2 | assert True 3 | -------------------------------------------------------------------------------- /tox.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikekaminsky/dbt-helper/HEAD/tox.ini -------------------------------------------------------------------------------- /utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /utils/logging.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikekaminsky/dbt-helper/HEAD/utils/logging.py -------------------------------------------------------------------------------- /utils/ui.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikekaminsky/dbt-helper/HEAD/utils/ui.py --------------------------------------------------------------------------------