Skip to content

Commit

Permalink
fix(ingest/tableau): check tableName existence on datasource respon…
Browse files Browse the repository at this point in the history
…se (#6478)

Co-authored-by: Harshal Sheth <[email protected]>
  • Loading branch information
lustefaniak and hsheth2 authored Nov 21, 2022
1 parent c99ae26 commit bc5e2d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metadata-ingestion/src/datahub/ingestion/source/tableau.py
Original file line number Diff line number Diff line change
Expand Up @@ -996,7 +996,7 @@ def emit_datasource(

project = (
datasource_info.get("projectName", "").replace("/", REPLACE_SLASH_CHAR)
if datasource_info
if datasource_info and datasource_info.get("projectName", "")
else ""
)
datasource_id = datasource["id"]
Expand Down

0 comments on commit bc5e2d4

Please sign in to comment.