Closed bastienboutonnet closed 2 years ago
As @JCZuurmond we don't seem to be capturing "source" nodes from the manifest.json which results in a key error later.
We should look into parsing those as well and all should work fine again.
We might also want to think about a different way to handle the error.
I think while the KeyError
allowed us to spot the issue, it admittedly ruins the ability to push any of the found results into the cloud platform. I think we therefore may want a try except and collect the list of nodes for which an error was raised and then output this list to the user at the end of the run.
I would like to resolve the error handling in a different issue. I am not a fan of complicating the code too much with such error handling, so let's discuss what Soda's approach is for this.
Describe the bug @bjornvandijkman-ingka raised this issue on the community slack: https://soda-community.slack.com/archives/C01HYL8V64C/p1640076836205300
It looks like when ingesting if the source has a test on it, it will be part of the run result, but no node is able to be found in the
manifest.json
because dbt does not manage sources in the manifest.json.Traceback
To Reproduce Add a test to a source node, this should lead to a run result appearing for that test and then later on fail when we're trying to find that node in the manifest.json