Skip to content

ericj-db/dbt-query-tag-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quickstart for Dbt Query Tags Demo

  1. Run the following commands from the current directory
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
export DBT_PROFILES_DIR=${PWD}/profiles
  1. Update profiles/profiles.yml with your own E2 Dogfood catalog, schema, and PAT

  2. Run dbt run --select query_tags_demo to materialize the output table

  3. Go to E2 Dogfood and query system.query.history to find statements executed by the dbt run. For example: SELECT * FROM system.query.history WHERE client_application LIKE '%Dbt%' AND query_tags IS NOT NULL

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published