Declarations when tables have same name #1470
|
hi! i'm heavily using Dataform in my work at BigQuery in Google Cloud Platform. Dataform really changed the game in my job. I have a question that I didn't find the answer in official Docs: Suppose I have two tables with the same name from different schemas but the same database. Even if I name each declaration .sqlx file differently, how can I invoke these tables through ${ref()} statement if the tables share the same name? thank you very much for all the attention. best regards. |
Answered by
BenBirt
Mar 24, 2023
Replies: 2 comments
|
|
0 replies
Answer selected by
bigrogerio
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

ref("database", "schema", "name"), or if the schema name is enough to disambiguate, then justref("schema", "name")will work.