Skip to content

Commit

Permalink
fix(ingest/snowflake): fix lineage allow/deny pattern typo (#6506)
Browse files Browse the repository at this point in the history
  • Loading branch information
hsheth2 authored Nov 22, 2022
1 parent 490097e commit 10a31b1
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -392,9 +392,8 @@ def _populate_lineage(self, conn: SnowflakeConnection) -> None:
upstream_table_name = self.get_dataset_identifier_from_qualified_name(
db_row["UPSTREAM_TABLE_NAME"]
)
if not (
self._is_dataset_pattern_allowed(key, "table")
or self._is_dataset_pattern_allowed(upstream_table_name, "table")
if not self._is_dataset_pattern_allowed(key, "table") or not (
self._is_dataset_pattern_allowed(upstream_table_name, "table")
):
continue

Expand Down

0 comments on commit 10a31b1

Please sign in to comment.