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

Update materialized view configuration for redshift #4589

Merged
merged 14 commits into from
Dec 13, 2023

Conversation

mikealfare
Copy link
Contributor

@mikealfare mikealfare commented Dec 5, 2023

What are you changing in this pull request and why?

I'm updating the configuration documentation for materialized views in dbt-redshift. We didn't initially support swapping materialized views with non-materialized views (e.g. table, view, etc.) in 1.6. We now support that for 1.7. While making these updates, I also implemented a structure that aligns with the structure I used for dbt-bigquery. I will be submitting another PR for the dbt-postgres changes that will align with this structure as well.

Checklist

@mikealfare mikealfare self-assigned this Dec 5, 2023
@mikealfare mikealfare requested review from dataders and a team as code owners December 5, 2023 17:34
Copy link

vercel bot commented Dec 5, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs-getdbt-com ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 13, 2023 6:36pm

@github-actions github-actions bot added content Improvements or additions to content size: medium This change will take up to a week to address labels Dec 5, 2023
@matthewshaver
Copy link
Contributor

Thank you for these updates @mikealfare I'll get them published ASAP

Copy link
Contributor

@dbeatty10 dbeatty10 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Things look good in the preview 👍

I didn't verify the code examples or the key technical details.

My main feedback is that:

  • it would be nice to make the table less wide
  • consider lowercase or sentence case for NO, and potentially others
  • maybe boolean instead of bool (or whatever our style is for this data type)

These are all nits, and I'm checking off the "Review by DX" box.

Copy link
Contributor

@dbeatty10 dbeatty10 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The preview looks awesome @mikealfare 👍

@mikealfare
Copy link
Contributor Author

The preview looks awesome @mikealfare 👍

Gah, I missed the linked in the config block version. Let me fix that.

@matthewshaver matthewshaver merged commit a339932 into current Dec 13, 2023
7 checks passed
@matthewshaver matthewshaver deleted the content/materialized-views/redshift branch December 13, 2023 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content Improvements or additions to content size: medium This change will take up to a week to address
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants