-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* deleted extra spaces in compiled models * added target_table_alias * fixed exclude_columns SQL #16 * v1.5.23 --------- Co-authored-by: Tanya Shemet <tanyshak@gmail.com>
- Loading branch information
Showing
15 changed files
with
99 additions
and
100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
version = "1.5.22" | ||
version = "1.5.23" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 10 additions & 10 deletions
20
dbt/include/upsolver/macros/materializations/incremental/create_copy_job.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 9 additions & 9 deletions
18
dbt/include/upsolver/macros/materializations/incremental/create_insert_job.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
{% macro get_create_insert_job_sql(job_identifier, into_relation, sync, options, map_columns_by_name, target_type) -%} | ||
|
||
{% set enriched_options = adapter.enrich_options(options, target_type, 'transformation_options') %} | ||
{%- set enriched_options = adapter.enrich_options(options, target_type, 'transformation_options') -%} | ||
{%- if target_type == 'datalake' -%} | ||
{% set target_type = '' %} | ||
{%- set target_type = '' -%} | ||
{%- endif -%} | ||
|
||
CREATE | ||
{% if sync %} | ||
SYNC | ||
{% endif %} | ||
JOB {{job_identifier}} | ||
CREATE {{''}} | ||
{%- if sync -%} | ||
SYNC {{''}} | ||
{%- endif -%} | ||
JOB {{job_identifier}} | ||
{{ render_options(enriched_options, 'create') }} | ||
AS INSERT INTO {{target_type}} {{into_relation}} | ||
{% if map_columns_by_name %} | ||
{%- if map_columns_by_name %} | ||
MAP_COLUMNS_BY_NAME | ||
{% endif %} | ||
{%- endif %} | ||
{{sql}} | ||
|
||
{%- endmacro %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 6 additions & 6 deletions
12
dbt/include/upsolver/macros/materializations/utils/ater_job.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 7 additions & 7 deletions
14
dbt/include/upsolver/macros/materializations/utils/render_options.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,4 +9,4 @@ | |
) | ||
}} | ||
|
||
SELECT * FROM {{ ref('upsolver_s3_samples_2') }} | ||
SELECT * FROM {{ ref('upsolver_s3_samples') }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.