{"id":22400140,"url":"https://github.com/scalefreecom/datavault4dbt-snowflake-demo","last_synced_at":"2025-04-13T08:41:45.292Z","repository":{"id":161703905,"uuid":"557914935","full_name":"ScalefreeCOM/datavault4dbt-snowflake-demo","owner":"ScalefreeCOM","description":"A demo project for datavault4dbt on Snowflake.","archived":false,"fork":false,"pushed_at":"2025-03-26T16:26:19.000Z","size":81,"stargazers_count":3,"open_issues_count":1,"forks_count":5,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-27T00:17:30.942Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ScalefreeCOM.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-10-26T14:42:14.000Z","updated_at":"2024-11-28T16:33:17.000Z","dependencies_parsed_at":"2024-03-19T16:47:36.997Z","dependency_job_id":null,"html_url":"https://github.com/ScalefreeCOM/datavault4dbt-snowflake-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScalefreeCOM%2Fdatavault4dbt-snowflake-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScalefreeCOM%2Fdatavault4dbt-snowflake-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScalefreeCOM%2Fdatavault4dbt-snowflake-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScalefreeCOM%2Fdatavault4dbt-snowflake-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ScalefreeCOM","download_url":"https://codeload.github.com/ScalefreeCOM/datavault4dbt-snowflake-demo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248686897,"owners_count":21145598,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-05T08:11:32.608Z","updated_at":"2025-04-13T08:41:45.286Z","avatar_url":"https://github.com/ScalefreeCOM.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# datavault4dbt Demo on Snowflake!\n\nThis is a demo dbt project that uses the TPCH dataset to build a Data Vault with datavault4dbt on Snowflake. \n\n[\u003cimg src=\"https://user-images.githubusercontent.com/81677440/195860893-435b5faa-71f1-4e01-969d-3593a808daa8.png\" width=100% align=center\u003e](https://www.datavault4dbt.com/)\n\n## The Data\n\nThe TPCH dataset includes a total of 8 source objects. These are: \n- Customer\n- Lineitem\n- Nation\n- Order\n- Part\n- Partsupp\n- Region\n- Supplier\n\n## The Data Vault Model\n![datavault4dbt-snowflake-sample-project](https://user-images.githubusercontent.com/81677440/234200376-2245ddd9-3676-43a9-814d-98a3da8cbfaf.png)\n\nThis embedded screenshot is based on a publicly available [dbdocs Documentation](https://dbdocs.io/tkirschke/datavault4dbt-snowflake-sample-project?schema=core_core\u0026view=relationships\u0026table=customer_h) and has been created with the open source tool [dbt dbml erd](https://github.com/ScalefreeCOM/dbt_dbml_erd). \n\nCheck out explanations of the Data Vault model in the wiki!\n\n## Usage\n\n1. Clone this repository to your local machine.\n2. Create and activate a new Python Virtual Environment.\n3. Install dbt for Snowflake with `pip install dbt-snowflake`.\n4. If not there already, create a new file called `profiles.yml` within your local user account folder, e.g. `C:\\Users\\username\\.dbt\\profiles.yml`\n5. Add a new profile by adding this block of code to your `profiles.yml`:\n    ``` \n    datavault4dbt_snowflake_demo:\n    outputs:\n        dev:\n            \u003cinsert_authentication_config_here\u003e \n    target: dev\n    ``` \n    To fill out the placeholder, check the [official dbt documentation](https://docs.getdbt.com/reference/warehouse-setups/snowflake-setup#authentication-methods) to find the right authentication method to connect to your Snowflake instance. \n6. Execute `dbt debug` and ensure that all checks are passed to verify that the connection is established correctly. \n7. Execute `dbt build` and watch the entire Data Vault model coming to life within your own database!\n\nSidenote: On execution dbt will attempt to create multiple schemas in your target database, as defined in the `dbt_project.yml`. \nIf this is not desired you can safely remove the `models:`-block, found at the end of the `dbt_project.yml`.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscalefreecom%2Fdatavault4dbt-snowflake-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscalefreecom%2Fdatavault4dbt-snowflake-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscalefreecom%2Fdatavault4dbt-snowflake-demo/lists"}