-
Notifications
You must be signed in to change notification settings - Fork 104
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
clean up relation construction #91
Comments
+1 to using Check out how we did this same thing in
|
beautiful. I'll open a PR. maybe being extra here... but how about concatenating a relation by dbt-sqlserver/dbt/include/sqlserver/macros/adapters.sql Lines 116 to 139 in 4b3f7bc
potential solutions
|
Option 1 doesn't sound crazy to me. You could define a special method on It's fewer moving pieces if you handle in Jinja or SQL, of course. |
Should happen together with #325 |
we should try and standardize on a convention of using
{{ relation }}
wherever possible over these variants:{{ relation.schema }}.{{ relation.identifier }}
to_relation.schema ~ '.' ~ to_relation.identifier
@jtcohen6, how do we disable by default
database
being included when calling{{ relation }}
? Do we have create a child of theRelation
class?dbt-sqlserver/dbt/include/sqlserver/macros/adapters.sql
Line 49 in 4b3f7bc
dbt-sqlserver/dbt/include/sqlserver/macros/adapters.sql
Line 111 in 4b3f7bc
dbt-sqlserver/dbt/include/sqlserver/macros/adapters.sql
Line 118 in 4b3f7bc
dbt-sqlserver/dbt/include/sqlserver/macros/adapters.sql
Line 130 in 4b3f7bc
dbt-sqlserver/dbt/include/sqlserver/macros/adapters.sql
Lines 152 to 154 in 4b3f7bc
dbt-sqlserver/dbt/include/sqlserver/macros/adapters.sql
Lines 168 to 169 in 4b3f7bc
The text was updated successfully, but these errors were encountered: