Skip to content

Fixes #38215: MicroStrategy explains a report built on a Live cube - #38216

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

Khairajani merged 1 commit into
mainfrom
mstr-live-cube-report-warning

Conversation

@Khairajani

@Khairajani Khairajani commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Describe your changes:

Fixes #38215

A follow-up to #37979, from a bot finding on #38206. 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 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

The MicroStrategy connector now explains why a Live Intelligent Cube has no stored SQL, including when a report uses that cube.

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

No actionable issues found. Tests were not run during this review.

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 12:58
@Khairajani Khairajani added the safe to test Add this label to run secure Github workflows on PRs label Nov 19, 2026
@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:

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 detection into SQL-view reads changes report-source handling; affected reports could omit SQL lineage rather than raise a generic read error.

Moves the Live Intelligent Cube check to the point where the SQL view is read, so a Live cube used directly or behind a report now logs the clear warning 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 e9b30ea into main Nov 19, 2026
52 of 54 checks passed
@Khairajani
Khairajani deleted the mstr-live-cube-report-warning 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.

MicroStrategy: a report built on a Live cube logs a generic warning

2 participants