Skip to content

Commit

Permalink
fix(ingest/dbt): fix bug in CLL pruning (datahub-project#11614)
Browse files Browse the repository at this point in the history
  • Loading branch information
hsheth2 authored and aviv-julienjehannet committed Oct 21, 2024
1 parent 2101ff1 commit bb4a50a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1074,8 +1074,8 @@ def add_node_to_cll_list(dbt_name: str) -> None:
for upstream in all_nodes_map[dbt_name].upstream_nodes:
schema_nodes.add(upstream)

upstream_node = all_nodes_map[upstream]
if upstream_node.is_ephemeral_model():
upstream_node = all_nodes_map.get(upstream)
if upstream_node and upstream_node.is_ephemeral_model():
add_node_to_cll_list(upstream)

cll_nodes.add(dbt_name)
Expand Down

0 comments on commit bb4a50a

Please sign in to comment.