Skip to content

Commit

Permalink
fix(ingest/unity): Fix bug around unity notebook ingestion (datahub-p…
Browse files Browse the repository at this point in the history
  • Loading branch information
asikowitz authored and sleeperdeep committed Jun 25, 2024
1 parent 39b37b1 commit 6ae06cc
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -489,9 +489,10 @@ def process_table(self, table: Table, schema: Schema) -> Iterable[MetadataWorkUn

if self.config.include_notebooks:
for notebook_id in table.downstream_notebooks:
self.notebooks[str(notebook_id)] = Notebook.add_upstream(
table.ref, self.notebooks[str(notebook_id)]
)
if str(notebook_id) in self.notebooks:
self.notebooks[str(notebook_id)] = Notebook.add_upstream(
table.ref, self.notebooks[str(notebook_id)]
)

# Sql parsing is required only for hive metastore view lineage
if (
Expand Down

0 comments on commit 6ae06cc

Please sign in to comment.