Skip to content

Commit

Permalink
Feature/catalog relational objects (#3922)
Browse files Browse the repository at this point in the history
* filter to relational nodes

* cleanup

* flake formatting

* changelog

automatic commit by git-black, original commits:
  f4f5d31
  • Loading branch information
dave-connors-3 authored and iknox-fa committed Feb 8, 2022
1 parent b04b7d5 commit 696eb47
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions core/dbt/adapters/base/impl.py
Original file line number Diff line number Diff line change
Expand Up @@ -319,9 +319,11 @@ def _get_catalog_schemas(self, manifest: Manifest) -> SchemaSearchMap:
"""
info_schema_name_map = SchemaSearchMap()
nodes: Iterator[CompileResultNode] = chain(
[node for node in manifest.nodes.values() if (
node.is_relational and not node.is_ephemeral_model
)],
[
node
for node in manifest.nodes.values()
if (node.is_relational and not node.is_ephemeral_model)
],
manifest.sources.values(),
)
for node in nodes:
Expand Down

0 comments on commit 696eb47

Please sign in to comment.