We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa4087e commit 54b8720Copy full SHA for 54b8720
macros/internal/helpers/stage_processing_macros.sql
@@ -145,7 +145,8 @@
145
{# If column aliases are present they they have to map 1:1 to the extract_columns #}
146
{% if datavault4dbt.is_something(dict_item.aliases)
147
and not dict_item.aliases|length == dict_item.extract_columns|length %}
148
- {{ exceptions.raise_compiler_error("Prejoin aliases must have the same length as extract_columns") }}
+ {{ exceptions.raise_compiler_error("Prejoin aliases must have the same length as extract_columns. Got "
149
+ ~ dict_item.extract_columns|length ~ " extract_columns and " ~ dict_item.aliases|length ~ " aliases.") }}
150
{% endif %}
151
152
{# If multiple columns from the same source should be extracted each column has to be processed once #}
0 commit comments