Skip to content

[2.1] Fixes #38215: MicroStrategy explains a report built on a Live cube - #38218

Merged
Khairajani merged 1 commit into
2.1from
mstr-live-cube-report-warning-2.1
Nov 19, 2026
Merged

Khairajani merged 1 commit into
2.1from
mstr-live-cube-report-warning-2.1

Conversation

@Khairajani

@Khairajani Khairajani commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Describe your changes:

Fixes #38215

Backport of #38216 to 2.1. A clean cherry-pick; the connector code is identical to main. 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:

  • Bug fix

Tests:

  • test_a_live_cube_has_no_sql_and_says_why now 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:

  • My PR title is [2.1] Fixes <issue-number>: <short explanation>
  • My PR is linked to a GitHub issue via Fixes #<issue-number> above.
  • I have added tests and listed them above.

🤖 Generated with Claude Code

RetriggerView in GreptileConfidence Score: 5/5

The PR appears safe to merge; no actionable issues were found.

Summary

MicroStrategy reports backed by Live Intelligent Cubes now explain why no SQL lineage is available, without changing lineage results.

  • Live cubes get the same clear warning whether reports use them or not.

No actionable issues found. Tests were inspected but not run.

Reviews (1) · Last reviewed commit: "Fixes #38215: MicroStrategy explains a r..." · Reviewed by Greptile

@Khairajani
Khairajani requested a review from a team as a code owner November 19, 2026 13:01
@Khairajani
Khairajani requested review from akashverma0786 and removed request for a team November 19, 2026 13:01
@Khairajani Khairajani added the safe to test Add this label to run secure Github workflows on PRs label Nov 19, 2026
@github-actions

Copy link
Copy Markdown
Contributor

❌ PR checklist incomplete

This PR cannot be merged until the following are addressed on its linked issue:

  • No GitHub issue is linked. Link an issue in the Development section of the PR (or add Fixes #12345 to the description). For a same-org cross-repo issue, add Fixes open-metadata/<repo>#123 to the description.

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 skip-pr-checks label.

@gitar-bot

gitar-bot Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Code Review ✅ Approved 🟡 Medium risk

Handling Live-cube API errors inside SQL-view reads changes MicroStrategy ingestion behavior; affected reports could be ingested without SQL lineage.

Moves the Live Intelligent Cube check to the point where the SQL view is read, so a report built on a Live cube now logs the specific warning instead of the generic "Could not read the SQL of cube X" message. Lineage is unchanged. No issues found.

Verification

Rules No rules evaluated

Functional validation Not enabled

Set up

Auto-approval Not enabled

Set up

For more verification details, comment gitar display:verbose.

Options

Display: compact → Showing compact verification results.

Comment with these commands to change the behavior for this request:

Compact
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source

@Khairajani
Khairajani merged commit ab35ee3 into 2.1 Nov 19, 2026
46 of 48 checks passed
@Khairajani
Khairajani deleted the mstr-live-cube-report-warning-2.1 branch November 19, 2026 13:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

safe to test Add this label to run secure Github workflows on PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant