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

[FEATURE] Improve exception handling for incorrect DQ rules #126

Open
IMC07 opened this issue Jan 23, 2025 · 0 comments
Open

[FEATURE] Improve exception handling for incorrect DQ rules #126

IMC07 opened this issue Jan 23, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@IMC07
Copy link
Contributor

IMC07 commented Jan 23, 2025

Is your feature request related to a problem? Please describe.
Formulating the data quality rule correctly can sometimes be challenging. Having better error handling for wrongly formulated rules can help. For instance I had this error:

Image

The problem appeared to be that I had accidentally set the rule_type=query_dq, but it should have been rule_type=row_dq. Perhaps there is a way for these (and similar other common pitfalls) to identify the issue easier with more fine-grained exception handling.

Describe the solution you'd like
For example, define new exception types something like this:
Invalid Query DQ Exception: 'The DQ expection [rule-name] can not be executed, please check the type and formulation of your DQ rule'
Invalid Row DQ Exception: ...
Invalid Query DQ Exception: ...

Describe alternatives you've considered

Additional context

@IMC07 IMC07 added the enhancement New feature or request label Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant