Skip to content

Commit

Permalink
fix(ingest): tableau - add extra debug info for lineage failure (#6285)
Browse files Browse the repository at this point in the history
  • Loading branch information
hsheth2 authored Oct 27, 2022
1 parent e27b017 commit d986a04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions metadata-ingestion/src/datahub/ingestion/source/tableau.py
Original file line number Diff line number Diff line change
Expand Up @@ -586,12 +586,12 @@ def get_upstream_tables(self, tables, datasource_name, project, is_custom_sql):
# Lineage and Schema details for these will be taken care in self.emit_custom_sql_datasources()
if not is_custom_sql and not table.get("columns"):
logger.debug(
f"Skipping upstream table with id {table['id']}, no columns"
f"Skipping upstream table with id {table['id']}, no columns: {table}"
)
continue
elif table["name"] is None:
logger.warning(
f"Skipping upstream table {table['id']} from lineage since its name is none"
f"Skipping upstream table {table['id']} from lineage since its name is none: {table}"
)
continue

Expand Down

0 comments on commit d986a04

Please sign in to comment.