Skip to content

Commit

Permalink
Remove hard-coded values for database and schema (#139)
Browse files Browse the repository at this point in the history
* Remove hard-coded values for database and schema

* Trim and lowercase target database name
  • Loading branch information
dbeatty10 authored Aug 2, 2023
1 parent 848c4b1 commit 33b8b46
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions integration_tests/tests/test_generate_source_all_args.sql
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ version: 2
sources:
- name: {{ raw_schema | trim | lower }}
description: ""
database: analytics
schema: codegen_integration_tests_snowflake_raw_data
database: {{ target.database | trim | lower }}
schema: {{ raw_schema | trim | lower }}
tables:
- name: data__a_relation
description: ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ version: 2

sources:
- name: {{ raw_schema | trim | lower }}
database: analytics
database: {{ target.database | trim | lower }}
tables:
- name: data__a_relation
- name: data__b_relation
Expand Down

0 comments on commit 33b8b46

Please sign in to comment.