Repository navigation
[2.0] Fixes #38215: MicroStrategy explains a report built on a Live cube - #38217
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 riskMoving Live-cube handling into SQL-view reads lets report sources return no SQL, potentially omitting lineage for those reports; this is a localized connector behavior change. Moves the Live Intelligent Cube check to the shared SQL-reading path so a report built on a Live cube logs the same clear warning as a Live cube used directly, instead of a generic "Could not read the SQL" message. Lineage is unchanged. No issues found. 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 #38215
Backport of #38216 to
2.0. A clean cherry-pick; the connector code is identical tomain. A report built on a Live Intelligent Cube logged a generic "Could not read the SQL of cube X". The Live cube check now runs where the SQL view is read, so a Live cube used directly or behind a report logs the same clear warning. Lineage is unchanged.Type of change:
Tests:
test_a_live_cube_has_no_sql_and_says_whynow covers a Live cube used as a dataset and as a report's source. The report case fails without the fix. Connector unit tests: 112 pass.Checklist:
[2.0] Fixes <issue-number>: <short explanation>Fixes #<issue-number>above.🤖 Generated with Claude Code


Confidence Score: 5/5
The PR appears safe to merge.Summary
Moves the Live cube warning into
_sql_view, so it explains missing SQL for both direct datasets and reports built on Live cubes.Reviews (2) · Last reviewed commit: "Fixes #38215: MicroStrategy explains a r..." · Reviewed by Greptile