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

Validation missing against external tables #199

Open
tvogels01 opened this issue Jul 10, 2020 · 0 comments
Open

Validation missing against external tables #199

tvogels01 opened this issue Jul 10, 2020 · 0 comments

Comments

@tvogels01
Copy link
Contributor

Summary

When a view depends on a table inside a schema that's marked as an "external" one in the configuration,
Arthur skips checking the dependencies entirely and trusts the user's configuration.

We should, however, at least check that the external tables already exist!

Details

The SVV_EXTERNAL_TABLES table allows us to pull all existing external tables. We should take the intersection with the external schemas that are marked as "external". During the validation we can then ensure that any table marked as dependency is either known because it is managed by Arthur or is in the list of external tables.

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

No branches or pull requests

1 participant