-
Notifications
You must be signed in to change notification settings - Fork 21
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
[Bug]: Reflection bug: The name argument to ref() must be a string, got <class 'jinja2.runtime.Undefined'> #193
Comments
I am curious as well. I have been trying to create reflections, but I couldn't find any documentation on how to do that. @Conq1 do you know where I could find it? |
@donatobarone Here is the documentation: https://github.com/dremio/dbt-dremio/wiki/Using-Materializations-with-Dremio#reflections. |
@ravjotbrar thanks a lot for the link, really appreciated. I get an issue that was already documented here 'dict object' has no attribute 'CompilationError' #190, not sure if anybody knows what is going on :) |
This has been broken for a while, do we have any ETA for when this will be fixed? |
@donatobarone the issue is on our radar, but unfortunately I don't have an eta for when it'll be fixed. I'll keep you posted here with any updates. |
Is there an existing issue for this?
Current Behavior
I get the above error. Used to work and have drilled down to:
{% set anchor = ref(model.refs[0][0]) %}
Not sure if they changed it in dbt-core to be an array of dictionaries, but changing it to
{% set anchor = ref(model.refs[0]['name']) %}
seems to work.
Might be same root cause as #190
Expected Behavior
No response
Steps To Reproduce
No response
Environment
Relevant log output
No response
The text was updated successfully, but these errors were encountered: