-
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
[CT-3196] [Bug] config block doesn't respect ref('') #8800
Comments
this might be a duplicate issue (sorry my bad) |
No worries @sudo-pradip. I think this comment has the info you are looking for: #6837 (comment) Could you give that a read, try it out, and let us know what you think? |
nice workaround, now it's working, you are kind, thanks you 🌟
|
Awesome @sudo-pradip 🎉 Thanks for sharing your nice example too -- I hadn't tried that variant before 🏆 I'm going to close this as "it's a (complicated) feature, not a bug" 😎 |
Is this a new bug in dbt-core?
Current Behavior
ref()
undermodel config
function, it replace current relation instead of one specified inref()
Expected Behavior
ref()
under themodel config
functionSteps To Reproduce
dbt build
then pre_hook query will generate as belowref('second_model')
is replaced withmydb.myschema.first_model
, but it suppose to replace mydb.myschema.second_model`Relevant log output
Environment
Which database adapter are you using with dbt?
snowflake
Additional Context
The text was updated successfully, but these errors were encountered: