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 drop materialized view, missing cascade #2

Merged
merged 1 commit into from
Jun 18, 2024

Conversation

lvitti
Copy link
Collaborator

@lvitti lvitti commented Jun 18, 2024

resolves dbt-labs#642

Problem

When you refresh the materialized view but there are other views that depend on it, an error occurs.

Solution

Add the cascade to the drop like already do for Table and view

Checklist

  • I have read the contributing guide and understand what's expected of me
  • I have run this code in development and it appears to resolve the stated issue
  • This PR includes tests, or tests are not required/relevant for this PR
  • This PR has no interface changes (e.g. macros, cli, logs, json artifacts, config files, adapter interface, etc) or this PR has already received feedback and approval from Product or DX

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant