You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We can eliminate the dependency on dbt-postgres through a combination of vendoring the dbt-postgres macros into dbt-redshift and simply relying on the default in dbt-adapters.
Tasks
remove references to dbt-postgres macros (currently 7 instances in adapters.sql and 1 in snapshot_merge.sql)
remove the dependency in adapters.redshift.__init__.py
remove reference to dbt-postgres in tests (currently 1 in test_macros.py, 1 in test_query_comment.py, and 1 comment in unit/utils.py)
remove dependency in setup.py and dev-requirements.txt
update docs to reflect that postgres macros will no longer be available to use in custom macros; include the workaround of simply replacing postgres__ with redshift__ to get the new macro
The text was updated successfully, but these errors were encountered:
Describe the feature
dbt-redshift
depends ondbt-postgres
for 8 macros. These are all "pass-through" macros, e.g.:{% macro redshift__create_schema(relation) -%} {{ postgres__create_schema(relation) }} {% endmacro %}
We can eliminate the dependency on
dbt-postgres
through a combination of vendoring thedbt-postgres
macros intodbt-redshift
and simply relying on the default indbt-adapters
.Tasks
dbt-postgres
macros (currently 7 instances inadapters.sql
and 1 insnapshot_merge.sql
)adapters.redshift.__init__.py
dbt-postgres
intests
(currently 1 intest_macros.py
, 1 intest_query_comment.py
, and 1 comment inunit/utils.py
)setup.py
anddev-requirements.txt
The text was updated successfully, but these errors were encountered: