Skip to content

Fixes #37803: MicroStrategy links no column to Data Import objects that share a name - #37948

Merged
Khairajani merged 1 commit into
mainfrom
mstr-dup-object-names
Nov 17, 2026
Merged

Khairajani merged 1 commit into
mainfrom
mstr-dup-object-names

Conversation

@Khairajani

@Khairajani Khairajani commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Describe your changes:

Fixes #37803

Follow-up to #37804, from the bot review on its 2.0 backport #37945, which carries the same commit.

  • In a Data Import cube, two objects with the same name (such as id from two imported tables) both matched the warehouse column id, so each table's id was linked to both data model columns.
  • An object whose name another object of the cube shares now gets no column edge: which one reads the column cannot be told. Table lineage is unchanged.

Type of change:

  • Bug fix

Tests:

  • A case added to test_a_data_import_object_is_linked_only_to_the_one_column_it_is_named_after in ingestion/tests/unit/topology/dashboard/test_microstrategy.py; it fails without the fix. The connector's 105 tests 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 around the new logic.
  • Decision check: the rule is added to ADR:2026-11-05-microstrategy-charts-are-named-by-dossier-and-the-search-is-paged.

🤖 Generated with Claude Code

RetriggerView in GreptileConfidence Score: 5/5

The PR appears safe to merge.

Summary

Prevents MicroStrategy Data Import objects with the same case-insensitive name from receiving guessed column links.

  • Data Import cubes leave repeated object names without column links.

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

Reviews (1) · Last reviewed commit: "MicroStrategy: link no column to Data Im..." · Reviewed by Greptile

@Khairajani
Khairajani requested a review from a team as a code owner November 17, 2026 06:38
@Khairajani Khairajani added the safe to test Add this label to run secure Github workflows on PRs label Nov 17, 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 17, 2026 •

Copy link
Copy Markdown
Code Review ✅ Approved 🟡 Medium risk

Changing duplicate-name matching suppresses ambiguous column lineage, which could leave valid data-model column relationships unrepresented; table lineage remains unchanged.

Fixes MicroStrategy column lineage for Data Import cubes where objects share a name: an object whose name another object in the cube shares no longer gets a column edge, so each table's id is no longer linked to both data model columns. Table 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 enabled auto-merge (squash) November 17, 2026 07:25
@Khairajani
Khairajani merged commit 221fdab into main Nov 17, 2026
53 of 55 checks passed
@Khairajani
Khairajani deleted the mstr-dup-object-names branch November 17, 2026 08:46
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: column-level lineage from cube SQL to data models

2 participants