[Bug] The --empty
argument doesn't work on models with table aliases
#818
Labels
bug
Something isn't working
--empty
argument doesn't work on models with table aliases
#818
Is this a new bug in dbt-core?
Current Behavior
I get a Database Error when I use the
--empty
argument on a model that uses table aliases.Expected Behavior
I expect dbt to materialize the empty model.
Steps To Reproduce
Create a model
my_model
. Alias the referenced model.Run dbt with the
--empty
argument.I get the same error if I add
AS
in front of the alias name.Relevant log output
Environment
Which database adapter are you using with dbt?
redshift
Additional Context
No response
The text was updated successfully, but these errors were encountered: