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

[CT-1483] Backport #8181 to 1.6.latest #8196

Merged
merged 3 commits into from
Jul 25, 2023

Conversation

QMalcolm
Copy link
Contributor

@QMalcolm QMalcolm commented Jul 24, 2023

Description

This is a backport of approved and merged #8181 to 1.6.latest. There's currently an issue which is stopping people from upgrading (and has been since 1.3) wherein macros that included the word materialization in their name, but didn't actually contain a materialization, caused an exception to be thrown. More details can be seen in CT-1483.

This backport was done by cherry-picking from the #8181 PR branch. Specifically git cherry-pick 68df0f9753e9a41a2b91064a6851af7f3366af36^..3bf17598ee09254a2e0dcda398d9ee8248f3fa46. No merge conflicts occurred, so no conflict resolutions were necessary.

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

@QMalcolm QMalcolm requested a review from a team as a code owner July 24, 2023 20:19
@QMalcolm QMalcolm requested a review from martynydbt July 24, 2023 20:19
@cla-bot cla-bot bot added the cla:yes label Jul 24, 2023
@QMalcolm QMalcolm requested a review from graciegoheen July 24, 2023 20:19
QMalcolm added 3 commits July 24, 2023 16:02
Previously we were checking if a macro included a materialization
based on if the macro name included the word `materialization`. However,
a macro name included the word `materialization` isn't guarnteed to
actually have a materialization, and a macro that doesn't have
`materialization` in the name isn't guaranteed to not have a materialization.
This change is to detect macros with materializations based on the
detected block type of the macro.
@QMalcolm QMalcolm force-pushed the ct-1483--backport-1.6.latest branch from adae0b1 to 4e2f076 Compare July 24, 2023 23:02
@QMalcolm QMalcolm merged commit f5c8691 into 1.6.latest Jul 25, 2023
@QMalcolm QMalcolm deleted the ct-1483--backport-1.6.latest branch July 25, 2023 15:53
@aranke aranke mentioned this pull request Jul 12, 2024
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants