mirror of
https://github.com/datahub-project/datahub.git
synced 2025-12-02 05:33:57 +00:00
fix(ingest/tableau): load project workbook hierarchy correctly (#7483)
This commit is contained in:
parent
b4dd1d7d82
commit
795d76b56c
@ -2091,12 +2091,7 @@ class TableauSource(StatefulIngestionSourceBase):
|
||||
]
|
||||
)
|
||||
dashboard_snapshot.aspects.append(browse_paths)
|
||||
else:
|
||||
logger.warning(
|
||||
f"Could not set browse path for dashboard {dashboard[tableau_constant.ID]}. Please check permissions."
|
||||
)
|
||||
|
||||
if (
|
||||
elif (
|
||||
workbook is not None
|
||||
and workbook.get(tableau_constant.PROJECT_NAME)
|
||||
and workbook.get(tableau_constant.NAME)
|
||||
@ -2110,8 +2105,8 @@ class TableauSource(StatefulIngestionSourceBase):
|
||||
)
|
||||
dashboard_snapshot.aspects.append(browse_paths)
|
||||
else:
|
||||
logger.debug(
|
||||
f"Browse path not set for dashboard {dashboard[tableau_constant.ID]}"
|
||||
logger.warning(
|
||||
f"Could not set browse path for dashboard {dashboard[tableau_constant.ID]}. Please check permissions."
|
||||
)
|
||||
|
||||
# Ownership
|
||||
|
||||
@ -85,6 +85,7 @@ sheet_graphql_query = """
|
||||
id
|
||||
name
|
||||
projectName
|
||||
projectLuid
|
||||
owner {
|
||||
username
|
||||
}
|
||||
@ -162,6 +163,7 @@ dashboard_graphql_query = """
|
||||
id
|
||||
name
|
||||
projectName
|
||||
projectLuid
|
||||
owner {
|
||||
username
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user