-
Notifications
You must be signed in to change notification settings - Fork 96
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
Ref with package #68
Comments
That is indeed currently not supported. Only the one parameter ref is supported. I have not yet have any use case for using ref with package name. Could you shine some light on your exact use case? |
Ofc, I will try to shine some light on it :) Hope it makes some sense! |
We also use extensively packags in our code. but never needed to use the package parameter. We simply ref('anotherModel') from another package. Why do you need to specify the package? Does this make it work if your model identifiers are duplicated? |
Well, it doesn't support duplicated model identifiers yet, but they are working on it and I really hope it will be possible soon 1269. Since we are spread out on multiple teams, we hope we don't have to care about clashes in the near future. Some reasons we would like to use the syntax ref('pkg','model') (same for sources)
|
We are also using the As well as the autocomplete, we are unable to navigate between the models using Both syntaxes are officially supported by DBT so it would be really nice if all features in the extension worked seamlessly regardless of which one has been chosen. |
Sure, this change is definitely welcome! Are you willing to provide a PR for this feature? |
I guess you are talking to me. More than willing but sadly unable. Just don't know enough to be able to contribute 😞 |
fixed for models in 0.8.8. Let me know if it works. |
This doesn't seem to apply on sources. Please correct me if I'm wrong. |
Thank you so much for this! The We truly appreciate the helpful work you've put in! |
Hi!
I've looked around but haven't found any issues about this.
Currently I can do {{ ref('some_table') }} and get autocomplete, but if I use the syntax {{ ref('some_package', 'some_table') }} it doesn't help me at all. Maybe I'm doing something wrong or it's not supported by the extension yet?
Everything is latest and greats.
Otherwise, great extension!
The text was updated successfully, but these errors were encountered: