Skip to content

Commit

Permalink
Merge pull request #12 from SpotOnInc/fqn-pipe
Browse files Browse the repository at this point in the history
add db qualifer to pipes
  • Loading branch information
DanCorley authored Aug 16, 2023
2 parents c1ecb65 + 719031f commit c0b9271
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dbt_project.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: 'dbt_object_mgmt'
version: '0.2.6'
version: '0.2.7'
config-version: 2

target-path: "target"
Expand Down
3 changes: 2 additions & 1 deletion macros/create_pipe.sql
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
{% endif %}

{% set pipe = gather_results(file) %}
{%- set schema_name = target.database ~ '.' ~ pipe.schema_name %}
{%- set database_name = pipe.database_name or target.database %}
{%- set schema_name = database_name ~ '.' ~ pipe.schema_name %}
{%- set table_name = pipe.table_name %}
{%- set file_type = pipe.file_type %}

Expand Down

0 comments on commit c0b9271

Please sign in to comment.