-
Notifications
You must be signed in to change notification settings - Fork 79
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
Reference model from a package #89
Comments
Hi @mdimercurio. Thank you |
Hi @cdiniz. Thanks for the quick follow up. I'll try to look into it in my side. I haven't looked much into the package's code so I might have a few questions for you as I dig into it |
@mdimercurio +1 on this issue, any progress you might've made that you can share? |
Hello! I was thinking about having a go at a PR for this, but to be honest it's WAY more complex than anything else I've done in dbt. I can see that the issue is with the I can see a few ways around this, but I am a bit worried about unforeseen consequences. Since model names must be unique, is there a risk in just looking for the first model with a matching name? How does the Is there any problem with doing something like this? It feels wrong, somehow.
|
Hi there, we are doing a clean-up of old/inactive Issues. |
Very much still needed by me! Maybe I'll get around to a PR for it too! |
I am trying to write a unit test for a model that depends on a model from a different package.
I tried referencing the model name directly in
mock_ref
and got the following error:When trying to reference the package with
mock_ref([package_name], [model_name])
, I got:The text was updated successfully, but these errors were encountered: