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

Ele 1194 test dwh connection edr #959

Closed
wants to merge 3 commits into from

Conversation

NoyaArie
Copy link
Contributor

No description provided.

@github-actions
Copy link
Contributor

👋 @NoyaArie
Thank you for raising your pull request.
Please make sure to add tests and document all user-facing changes.
You can do this by editing the docs files in this pull request.

Copy link
Member

@elongl elongl left a comment

Choose a reason for hiding this comment

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

What problem does this PR solve?

@@ -17,6 +17,14 @@ def run(self) -> bool:
self.config.profile_target,
)

try:
dbt_runner.debug()
Copy link
Member

Choose a reason for hiding this comment

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

This is problematic because dbt debug requires git which is not necessarily required.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Do we know what is happening if we don't have git?
Does it still test the connection? If so, maybe we can extract only that part from the debug result?

@NoyaArie
Copy link
Contributor Author

What problem does this PR solve?

  1. When we failed to connect the DWH, the error is not informative.
  2. The first query we run in the report is getting the last invocation. We don't stop the execution when we were unable to connect the DWH at this point (only after). This is very confusing when we are trying to understand what went wrong.

@NoyaArie NoyaArie closed this Jun 25, 2023
@NoyaArie NoyaArie deleted the ele-1194-test-dwh-connection-edr branch June 25, 2023 06:22
@NoyaArie NoyaArie restored the ele-1194-test-dwh-connection-edr branch June 25, 2023 06:23
@NoyaArie NoyaArie deleted the ele-1194-test-dwh-connection-edr branch June 27, 2023 07:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants