diff --git a/dev/dags/dbt/simple/data/imdb.db b/dev/dags/dbt/data/imdb.db similarity index 71% rename from dev/dags/dbt/simple/data/imdb.db rename to dev/dags/dbt/data/imdb.db index 605f6526e..be0c1fe77 100644 Binary files a/dev/dags/dbt/simple/data/imdb.db and b/dev/dags/dbt/data/imdb.db differ diff --git a/dev/dags/dbt/simple/profiles.yml b/dev/dags/dbt/simple/profiles.yml index 5de7e781a..24841363e 100644 --- a/dev/dags/dbt/simple/profiles.yml +++ b/dev/dags/dbt/simple/profiles.yml @@ -7,5 +7,5 @@ simple: database: 'database' schema: 'main' schemas_and_paths: - main: "{{ env_var('DBT_SQLITE_PATH', '.') }}/data/imdb.db" - schema_directory: 'data' + main: "{{ env_var('DBT_SQLITE_PATH') }}/imdb.db" + schema_directory: "{{ env_var('DBT_SQLITE_PATH') }}" diff --git a/dev/dags/example_cosmos_sources.py b/dev/dags/example_cosmos_sources.py index ddeb9ab15..29c70db5a 100644 --- a/dev/dags/example_cosmos_sources.py +++ b/dev/dags/example_cosmos_sources.py @@ -26,7 +26,7 @@ DEFAULT_DBT_ROOT_PATH = Path(__file__).parent / "dbt" DBT_ROOT_PATH = Path(os.getenv("DBT_ROOT_PATH", DEFAULT_DBT_ROOT_PATH)) -os.environ["DBT_SQLITE_PATH"] = str(DEFAULT_DBT_ROOT_PATH / "simple") +os.environ["DBT_SQLITE_PATH"] = str(DEFAULT_DBT_ROOT_PATH / "data") profile_config = ProfileConfig(