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

fix(ingest/redshift): fix bug in lineage v2 table renames #9967

Merged
merged 1 commit into from
Mar 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import collections
import logging
import traceback
from typing import Callable, Dict, Iterable, List, Optional, Set, Tuple, Union
Expand Down Expand Up @@ -116,7 +117,9 @@ def build(
table_renames, _ = self._lineage_v1._process_table_renames(
database=self.database,
connection=connection,
all_tables={},
all_tables=collections.defaultdict(
lambda: collections.defaultdict(set)
),
)
for new_urn, original_urn in table_renames.items():
self.aggregator.add_table_rename(
Expand Down
Loading