You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Put an unknown tag within raw tags in a sql file, in your analysis directory (note that the bug doesn't occur in a model).
{% raw %}
{% form %}
date_part:
type: select
default: day
options: [hour, day, week, month]
{% endform %}
{% endraw %}
run dbt compile
Expected Result
The following should be compiled:
{% form %}
date_part:
type: select
default: day
options: [hour, day, week, month]
{% endform %}
Actual Result
Error on compilation:
Found 0 models, 0 tests, 0 archives, 1 analyses, 122 macros, 2 operations, 0 seed files
10:56:47 | Concurrency: 1 threads (target='dev')
10:56:47 |
Encountered an error:
Runtime Error
Compilation Error in analysis form_tag (analysis/analysis/form_tag.sql)
Encountered unknown tag 'form'.
line 2
{% form %}
System information
OS: MacOS Mojave
Python 3.7.1
dbt 0.12.1
The text was updated successfully, but these errors were encountered:
clrcrl
changed the title
dbt trying to parse tags even when they are wrapped in raw tags
dbt trying to parse tags in analyses even when wrapped in raw tags
Nov 27, 2018
Issue
Steps to Reproduce
raw
tags in a sql file, in your analysis directory (note that the bug doesn't occur in a model).dbt compile
Expected Result
The following should be compiled:
Actual Result
Error on compilation:
System information
OS: MacOS Mojave
Python 3.7.1
dbt 0.12.1
The text was updated successfully, but these errors were encountered: