Repository navigation
fix(tableau): diagnose a failed sign-in, enforce schema/table dbServicePrefixes, skip lineage for a failed workbook - #36691
Conversation
…cePrefixes, skip lineage for a failed workbook - A wrong token, password or site raises TSC's FailedSignInError, an XMLError that is not a ServerResponseError, so the 401 rule never matched. Read the status off any XMLError. - A schema or table in dbServicePrefixes that differs from the published data source's table now skips it, as the custom SQL path does; the fullName fallback checks it too. - yield_datamodel_dashboard_lineage returns early when the workbook failed, instead of logging an FQN error for each of its data models.
❌ PR checklist incompleteThis PR cannot be merged until the following are addressed on its linked issue:
The fields live on the linked issue in the Shipping project (open the issue → right sidebar → Projects). After you set them, re-run this check (or push a commit) — issue/project changes do not re-trigger it automatically. Maintainers can bypass this check by adding the |
|
Hi there 👋 Thanks for your contribution! The OpenMetadata team will review the PR shortly! Once it has been labeled as Let us know if you need any help! |
|
The Python checkstyle failed. Please run You can install the pre-commit hooks with |
Code Review ✅ Approved🟡 Medium risk · Tableau prefix checks and failed-workbook handling change emitted lineage edges; mismatches could suppress valid relationships. Fixes three Tableau bugs: test connection now diagnoses failed sign-ins by reading the status from any VerificationRules No rules evaluated Functional validation Not enabledAuto-approval Not enabledFor more verification details, comment OptionsDisplay: compact → Showing compact verification results. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source |
|



Describe your changes:
Fixes #
Three Tableau bugs found in release testing, all reproduced on a 2.1 instance:
FailedSignInError, anXMLErrorbut not aServerResponseError, so the 401 rule never matched and users sawUnknown error connecting with <config>._status_ofnow reads the status off anyXMLError.dbServicePrefixeswasn't enforced for published data source lineage._get_table_entities_from_apilogged the mismatch but kept going, so prefixsvc.dev.inventorystill linkeddev.sales.*tables. It now skips them, as the custom SQL path already does, and thefullNamefallback checks the prefix too.Error building FQN for Dashboard: ... dashboard=None) for each of its data models.yield_datamodel_dashboard_lineagenow returns early when there is no dashboard, like the sharedyield_dashboard_chart_lineage.Verification:
mainand pass with the fix. The 156 Tableau unit tests pass.<redshift>.dev.inventory: 5 tables linked before → 2 after;Type of change:
Checklist:
🤖 Generated with Claude Code