Repository navigation
[2.0] Fixes #38498: resolve an Omni topic and view that share a name within one model - #38871
Conversation
… one model (#38501) * Omni: resolve a topic and a view that share a name within one model * Omni: apply the exact-name tie-break to the name index only An alias-index hit names a shared base view, not a topic, so a topic spelled like the view's leaf must not win it. Keep that case ambiguous and add a regression test. --------- Co-authored-by: Khairajani <himanshukhairajani8@gmail.com> (cherry picked from commit 20eabff)
❌ 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 riskThe resolver now selects exact same-model names from ambiguous Omni matches, which could attach lineage to a different topic or view. Resolves an Omni topic and view sharing a name within one model by preferring the data model whose name exactly matches the reference, so their lineage tiles are no longer dropped as ambiguous. Cross-model and shared-base-view matches remain ambiguous. 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 |
Fixes #38498
Backport of #38501 to
2.0.Ordersonanalytics__ordersand viewANALYTICS/orders.view) were always reported ambiguous, so their tiles got no lineage. The reference now resolves to the data model spelled exactly like it; cross-model and shared-base-view matches stay ambiguous.metadata.pycherry-picked cleanly; the test file conflicted on unrelated context, so the new tests were appended.test_omni.pypasses on2.0(47/47).🤖 Generated with Claude Code