Skip to content
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

Fix: redshift leverages postgres adapter dispatch implementations for common functionality #2770

Merged
merged 4 commits into from
Jun 14, 2024

Conversation

crericha
Copy link
Contributor

The redshift dbt adapter depends on the postgres adapter. For adapter dispatch, this means that postgres dispatch macros are valid when a corresponding redshift macro does not exist.

Note: The databricks adapter also depends on the spark adapter, so this fix applies there too.

sqlmesh/dbt/adapter.py Outdated Show resolved Hide resolved
sqlmesh/dbt/adapter.py Outdated Show resolved Hide resolved
@crericha crericha enabled auto-merge (squash) June 14, 2024 19:44
@crericha crericha merged commit 9d24bca into main Jun 14, 2024
14 of 15 checks passed
@crericha crericha deleted the dispatch-macro-detection branch June 14, 2024 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants