datahub
datahub copied to clipboard
feat(ingestion/tableau): hidden asset handling
Description
This PR enables the configuration of how to handle hidden assets in Tableau. Views and Dashboards can be hidden within Workbooks. Hidden assets can be identified by a missing/blank luid, as stated in the documentation: https://help.tableau.com/current/api/metadata_api/en-us/reference/view.doc.html
This PR introduces two new config properties tags_for_hidden_assets and ingest_hidden_assets to better control what to do with hidden assets. They can either be skipped completely or tagged.
Configuration in the recipe could look like this:
source:
type: tableau
config:
# Coordinates
connect_uri: https://tableau.example.com
# Handling of hidden assets
tags_for_hidden_assets: ['private', 'hidden']
# or completely skip hidden assets with
# ingest_hidden_assets: False
# Credentials
username: "${TABLEAU_USER}"
password: "${TABLEAU_PASSWORD}"
sink:
type: "datahub-rest"
config:
server: "http://localhost:8080"
Checklist
- [ ] The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
- [ ] Links to related issues (if applicable)
- [ ] Tests for the changes have been added/updated (if applicable)
- [ ] Docs related to the changes have been added/updated (if applicable). If a new feature has been added a Usage Guide has been added for the same.
- [ ] For any breaking change/potential downtime/deprecation/big changes an entry has been made in Updating DataHub