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

[Bug] Full refresh not deleting materialized view with cascade #740

Closed
2 tasks done
Dnirmania opened this issue Mar 26, 2024 · 1 comment
Closed
2 tasks done

[Bug] Full refresh not deleting materialized view with cascade #740

Dnirmania opened this issue Mar 26, 2024 · 1 comment
Labels

Comments

@Dnirmania
Copy link

Is this a new bug in dbt-redshift?

  • I believe this is a new bug in dbt-redshift
  • I have searched the existing issues, and I could not find an existing issue for this bug

Current Behavior

If execute dbt run --models mv1 --full-refresh, dbt try to drop mv with drop materialized view if exists "database"."schema"."mv1"; command

Expected Behavior

If execute dbt run --models mv1 --full-refresh, dbt try to drop mv with drop materialized view if exists "database"."schema"."mv1" cascade; command

Steps To Reproduce

  1. Create mv1 materialized view.
  2. Create mv2 materialized view on top of mv1.
  3. Execute `dbt run --models mv1 --full-refresh.

Relevant log output

No response

Environment

- OS: ubuntu
- Python: 3.10
- dbt-core:  1.7.1
- dbt-redshift:  1.7.1

Additional Context

No response

@dataders
Copy link
Contributor

Closing as I believe this is a dupe of #642. Please correct me if I'm wrong!

@dbeatty10 dbeatty10 closed this as not planned Won't fix, can't repro, duplicate, stale Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants