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

SQL failures in dbt run should be reported as yellow #823

Open
fatchat opened this issue Aug 22, 2024 · 2 comments
Open

SQL failures in dbt run should be reported as yellow #823

fatchat opened this issue Aug 22, 2024 · 2 comments

Comments

@fatchat
Copy link
Contributor

fatchat commented Aug 22, 2024

Similar to how we report dbt test failures as yellow

  • create a new prefect state
  • assign in webhook

The new state will continue to show as RED in the pipeline overview, but the ops team should be able to filter them out of failure reports

@fatchat
Copy link
Contributor Author

fatchat commented Aug 26, 2024

when a client's SQL fails, we show it to them as RED in their pipeline summary

but since the platform did not fail, prefect should show GREEN

but the pipeline will need to stop at that point, so prefect should treat it as a failure

and failure notifications should be triggered

@fatchat
Copy link
Contributor Author

fatchat commented Aug 27, 2024

@himanshudube97 replicate two types of failures:

  1. dbt not found
  2. incorrect sql

see if prefect can distinguish the two

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

2 participants