Skip to content

Commit 6c380d3

Browse files
authored
Update oracle stage, remove AS for alias of joined tables
1 parent 0557fbf commit 6c380d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

macros/staging/oracle/stage.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ prejoined_columns AS (
343343
{%- endif -%}
344344
{%- set prejoin_alias = 'pj_' + loop.index|string %}
345345

346-
left join {{ relation }} as {{ prejoin_alias }}
346+
left join {{ relation }} {{ prejoin_alias }}
347347
on {{ datavault4dbt.multikey(columns=prejoin['this_column_name'], prefix=['lcte', prejoin_alias], condition='=', operator=operator, right_columns=prejoin['ref_column_name']) }}
348348
{%- endfor -%}
349349

0 commit comments

Comments
 (0)