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

[Backport 1.5.latest] Fix for #419: dbt-redshift 1.5 does not work with non-standard redshift hostnames #421

Merged
merged 1 commit into from
May 3, 2023

Conversation

github-actions[bot]
Copy link
Contributor

Backport b644963 from #420.

…ft hostnames (#420)

* Fix for region parsing in host name.WIP

* Edge cases and cleanup

* Minor nits

* clean up aws regions invocation

* Log message and doc nits

* Changie entry

* Skip validation if aws regions are not determined

* move the regions var earlier to effectively cache

(cherry picked from commit b644963)
@github-actions github-actions bot requested a review from a team as a code owner April 28, 2023 23:42
@cla-bot cla-bot bot added the cla:yes label Apr 28, 2023
@nssalian nssalian requested review from dbeatty10, VersusFacit and leahwicz and removed request for colin-rogers-dbt April 29, 2023 00:03
@nssalian nssalian closed this Apr 29, 2023
@nssalian nssalian reopened this Apr 29, 2023
@leahwicz
Copy link
Contributor

leahwicz commented May 1, 2023

@nssalian is this a regression or just a bug fix we want to get in? How risky would you say this change is since it would go straight to production runs

@nssalian
Copy link
Contributor

nssalian commented May 1, 2023

@nssalian is this a regression or just a bug fix we want to get in? How risky would you say this change is since it would go straight to production runs

This is a fix for the regression reported #419. I reviewed it with the Redshift team @sathiish-kumar was helpful to review here and we don't see a risk for runs. The ConnectionManager should at most be called once so the region calculation should be once. And if it fails, there's a fallback to pass through so things aren't blocked.

@nssalian nssalian requested review from leahwicz and removed request for leahwicz May 2, 2023 22:59
Copy link
Contributor

@leahwicz leahwicz left a comment

Choose a reason for hiding this comment

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

I'm approving but @nathaniel-may for visibility in case you disagree

@nssalian nssalian closed this May 3, 2023
@nssalian nssalian reopened this May 3, 2023
@nssalian nssalian merged commit 19fad46 into 1.5.latest May 3, 2023
@nssalian nssalian deleted the backport-420-to-1.5.latest branch May 3, 2023 16:08
@colin-rogers-dbt colin-rogers-dbt mentioned this pull request Jun 20, 2023
6 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.

4 participants