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

fix relationship exception on dab validate #2100

Merged

Conversation

abhishekkumams
Copy link
Contributor

@abhishekkumams abhishekkumams commented Mar 13, 2024

Why make this change?

What is this change?

  • A lot of places in our code, we have had assumptions of happy paths and no failures, no null values, and it was working fine as of now because when starting the engine, any exception once thrown usually exits the engine. But dab validate tries to collect all the exception, so some part of code might be triggered which was excepting some values. This PR addresses that and put more conservative approach to some of the code we have, by adding null checks and try/catch block.

How was this tested?

  • Integration Tests

@abhishekkumams
Copy link
Contributor Author

/azp run

Copy link

Azure Pipelines successfully started running 2 pipeline(s).

Copy link
Contributor

@seantleonard seantleonard left a comment

Choose a reason for hiding this comment

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

some feedback for making error messages a little clearer

@abhishekkumams
Copy link
Contributor Author

/azp run

Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@abhishekkumams
Copy link
Contributor Author

/azp run

Copy link

Azure Pipelines successfully started running 2 pipeline(s).

Copy link
Contributor

@aaronburtle aaronburtle left a comment

Choose a reason for hiding this comment

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

Looks good, thanks for addressing all comments so quickly and opening new issues when needed.

@seantleonard
Copy link
Contributor

/azp run

Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@seantleonard seantleonard enabled auto-merge (squash) March 25, 2024 20:38
@seantleonard seantleonard merged commit 6a75c76 into main Mar 25, 2024
8 of 9 checks passed
@seantleonard seantleonard deleted the dev/abhishekkuma/fix_relationship_exception_dab_validate branch March 25, 2024 21: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.

[Bug]: dab validate returns an Unhandled Exception if a table definition is not inferred
3 participants