Skip to content

[2.0] Fixes #38215: MicroStrategy explains a report built on a Live cube - #38217

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

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

Conversation

@Khairajani

@Khairajani Khairajani commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Describe your changes:

Fixes #38215

Backport of #38216 to 2.0. 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.0] 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.

Summary

Moves the Live cube warning into _sql_view, so it explains missing SQL for both direct datasets and reports built on Live cubes.

  • Live cubes explain missing SQL whether used directly or through a report.

Reviews (2) · 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 12:58
@Khairajani
Khairajani removed the request for review from a team November 19, 2026 12:58
@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

Moving 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.

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 aba55c4 into 2.0 Nov 19, 2026
63 of 70 checks passed
@Khairajani
Khairajani deleted the mstr-live-cube-report-warning-2.0 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