Unrecoverable failure in Jinja templating: cannot unpack non-iterable UndefinedRecorder object #5887
Open
2 of 3 tasks
Labels
bug
Something isn't working
Search before asking
What Happened
When formatting a sql file with jinja set var {% set a = ``}, the formatting doesn't work and lint command fails with error.
Expected Behaviour
lint command should not fail and file should be formatted with sqlfluff fix
Observed Behaviour
lint command fails and runnig sqlfluff fix has no effect on sql
How to reproduce
Here is SQL to reproduce:
sqlfluff lint
sqlfluff fix
Dialect
dialect: bigquery
templating: jinja
Version
3.0.6
Configuration
Are you willing to work on and submit a PR to address the issue?
Code of Conduct
The text was updated successfully, but these errors were encountered: