Repository navigation
[2.1] Fixes #37978: MicroStrategy reads a report dataset's lineage from its source cube - #38206
Conversation
❌ 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 |
Code Review ✅ Approved 🟡 Medium risk 1 closed / 1 findingsUsing source-cube SQL to derive report lineage could associate incorrect warehouse tables or columns with a report dataset. MicroStrategy report datasets built on an Intelligent Cube now inherit that cube's lineage, and warehouse reports log why they have no lineage. Approved with no open findings. ✅ 1 closed✅ Edge Case: Report on a Live cube skips the Live-cube warning and logs a raw error
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 #37978
Backport of #37979 to
2.1. A MicroStrategy report built on an Intelligent Cube now gets that cube's lineage. Warehouse reports, prompted reports and Live cubes now log why they have no lineage. The connector code is identical tomain.Type of change:
Tests:
Checklist:
[2.1] Fixes <issue-number>: <short explanation>Fixes #<issue-number>above.🤖 Generated with Claude Code


Confidence Score: 5/5
The PR appears safe to merge; no actionable issues were found.Summary
MicroStrategy report datasets now inherit lineage from their source Intelligent Cube.
No actionable issues found. Tests were inspected but not run.
Diagram
%%{init: {'theme': 'neutral'}}%% flowchart TD A[Dossier dataset] --> B[Read cube SQL view] B -->|SQL available| C[Keep SQL and cube ID together] B -->|Dataset is a report| D[Read report source] D -->|Source cube exists| E[Read cached source cube SQL] E --> C D -->|Warehouse report| F[Warn and skip lineage] B -->|Live cube| F C --> G[Find warehouse tables] G --> H[Match columns using source cube type] H --> I[Link tables and columns to dataset data model]Reviews (1) · Last reviewed commit: "Fixes #37978: MicroStrategy reads a repo..." · Reviewed by Greptile