Repository navigation
Fixes #38477: Apply Sigma workspace filters to standalone data models - #38616
Conversation
❌ 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 |
UI browser testsRan: all test files (no impact map from main yet) Result: ✅ 1070 passed · 154 skipped |
|
All 238 Sigma tests passed locally on |
akashverma0786
left a comment
There was a problem hiding this comment.
Approved , Thanks
Code Review ✅ Approved 🟡 Medium risk 1 closed / 1 findingsApplying workspace filters before reading standalone Sigma models changes ingestion scope; a path-derived workspace mismatch could omit intended models or ingest unwanted ones. Applies the existing Sigma Project Filter Pattern to standalone data models so they are filtered by workspace before their elements, columns, or lineage are read, fixing models from other workspaces leaking into ingestion. The previously open finding that the data-model workspace filter rule was not recorded in any decision record has been resolved. ✅ 1 closed✅ Quality: Data-model workspace filter rule isn't recorded in any decision record
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 |
|
🤖 Backport to |
|
🤖 Backport to |
|
🤖 Backport to |
|
🤖 Backport to |
…#38616) (#38948) * Fixes #38477: Apply Sigma workspace filters to standalone data models * Document workspace filtering for standalone Sigma data models --------- (cherry picked from commit 7928460) Co-authored-by: Kia Yun <[email protected]> Co-authored-by: Akash Verma <[email protected]>
…#38616) (#38947) * Fixes #38477: Apply Sigma workspace filters to standalone data models * Document workspace filtering for standalone Sigma data models --------- (cherry picked from commit 7928460) Co-authored-by: Kia Yun <[email protected]> Co-authored-by: Akash Verma <[email protected]>
Describe your changes
Fixes #38477
Sigma workbooks already support workspace filtering in OpenMetadata 2.0.8. Standalone data models bypassed that filter, so selecting Accounting could still ingest models from other workspaces. This change applies the existing Project Filter Pattern to the workspace in each model’s listing path, before reading its elements, columns, or lineage. The Sigma connector guide includes an Accounting example.
Type of change
Bug fix
Tests
All 238 Sigma connector tests passed locally. The regression covers both listing modes, pagination, includes, excludes, missing paths, and an unset filter. Six cases failed before the fix. Ruff lint and formatting passed. Tests used simulated Sigma HTTP responses. No live Sigma tenant was exercised.