Area: Ingestion
Sub-Area: Tableau
Issue
Tableau connector ingests external data sources even when configured not to, or there are issues with extracting correct URNs for Tableau entities, or transferring ownership from individual users to groups requires clarification on the proper approach.
Solution
Note: For DataHub Cloud customers, infrastructure-level changes are managed by DataHub Support.
- Configure external source filtering:
source:
type: tableau
config:
connect_uri: "https://tableau.company.com"
username: "${TABLEAU_USER}"
password: "${TABLEAU_PASSWORD}"
site: "YourSite"
# Prevent ingestion of external sources
ingest_tables_external: false
ingest_embed_url: true
Extract Tableau entity URNs:
- Use GraphQL API to list Tableau entities and their URNs
- URN format:
urn:li:chart:(tableau,workbook_name.view_name,PROD) - For datasources:
urn:li:dataset:(urn:li:dataPlatform:tableau,datasource_name,PROD)
Transfer ownership from users to groups:
mutation transferOwnership {
removeOwner(
input: {
ownerUrn: "urn:li:corpuser:individual_user",
resourceUrn: "urn:li:chart:(tableau,workbook.view,PROD)"
}
)
addOwners(
input: {
owners: [{
ownerUrn: "urn:li:corpGroup:data_team",
type: TECHNICAL_OWNER
}],
resourceUrn: "urn:li:chart:(tableau,workbook.view,PROD)"
}
)
}
- Batch ownership transfer:
- Use Python SDK with DataHub's batch ownership utilities
- Can query for all Tableau entities owned by specific user
- Iterate through results and update ownership programmatically
Additional Notes
Test configurations in a development environment before applying to production. Always backup configurations before making changes.
Related Documentation
Related Tickets
- 5740, 5902, 5917, 5904
Tags:
tableau, bi-tools, ownership, troubleshooting