-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incomplete SQL compiled in dbt 0.20.0b1 #3317
Labels
bug
Something isn't working
Comments
4 tasks
5 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Running
dbt compile
results in partly incomplete sql generated where WITH() clauses are missing for ephemeral models when the table to built is also ephemeralSteps To Reproduce
with colors_flat.sql as
gets compiled to
where
base_colors
andbase_colorclassifications
are ephemeral models as well.Expected behavior
The compiled SQL for __dbt__cte__base_colors and __dbt__cte__base_colorclassifications is missing, it should be inlined instead
Screenshots and log output
If applicable, add screenshots or log output to help explain your problem.
System information
Which database are you using dbt with?
The output of
dbt --version
:The operating system you're using:
Windows 10
The output of
python --version
:Python 3.9.4
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: