Skip to content

[2.0] Backport all nine Sigma connector improvements - #37449

Merged
akashverma0786 merged 6 commits into
2.0from
backport/sigma-improvements-2.0
Nov 10, 2026
Merged

akashverma0786 merged 6 commits into
2.0from
backport/sigma-improvements-2.0

Conversation

@IceS2

@IceS2 IceS2 commented Nov 9, 2026

Copy link
Copy Markdown
Collaborator

Describe your changes

Backport all nine Sigma PRs merged to main on 9 November into 2.0:

Source PR Change
#37412 Match owners with mixed-case Sigma emails
#37340 Accept optional response fields and reuse successful API reads
#37341 Fetch elements once, link charts to elements, and apply chart/data model filters
#37296 Resolve table lineage unambiguously, use connection-aware SQL dialects, and ingest Sigma Data Models
#37339 Match Sigma column labels to warehouse columns
#37298 Populate workbook creation/update dates in dashboard lifeCycle
#37300 Store latestVersion as a dashboard custom property
#37297 Set dashboard project from the workbook workspace
#37299 Ingest certification badges as SigmaBadge tags

This is a consolidated backport of the merged PRs above; no separate implementation issue is linked.

Type of change

  • Improvement

High-level design

Carry the combined Sigma client, source, models, regression tests, connector documentation, and decision records from the merged changes. Move Tableau's column-name normalizer to the shared helper as in #37339, preserving its behavior for both connectors.

Compatibility adaptation: 2.0 lacks the dashboard tag-registry methods used on main. Sigma uses the existing get_ometa_tag_and_classification and get_tag_labels utilities, with includeTags passed explicitly. No shared dashboard-framework changes, schemas, generated models, or migrations are included.

Tests

Use cases covered

Owner lookup, optional response fields, repeated HTTP reads, chart links and filtering, SQL/file-based table and column lineage, ambiguous or missing sources, Sigma Data Models and their owners, lifecycle timestamps, workspace filters, certification badges, and latestVersion patches.

Unit tests

Python 3.11, with models generated from the 2.0 schemas:

  • 133 passed: ingestion/tests/unit/topology/dashboard/test_sigma.py, test_sigma_client.py, test_sigma_owners.py; ingestion/tests/unit/source/dashboard/sigma/; ingestion/tests/unit/metadata/ingestion/connections/test_source_api_client.py.
  • 140 passed: ingestion/tests/unit/topology/dashboard/test_tableau.py, test_tableau_client.py, test_tableau_backfill.py, test_tableau_redacted_upstream.py; ingestion/tests/unit/source/dashboard/tableau/; ingestion/tests/unit/test_helpers.py; ingestion/tests/unit/utils/test_helpers.py.
  • Sigma and Tableau/helper suites ran in separate pytest processes. Collecting both connector suites together exposed shared dashboard test-context state; no assertions were removed.
  • Sigma package line coverage: 87% overall; metadata.py 90%, client.py 81%, models.py 97% (rounded).
  • make -C ingestion py_format_check: passed.
  • Basedpyright on Sigma, Tableau metadata, and shared helpers with the existing 2.0 baseline: 0 errors, baseline unchanged.
  • Commit hooks: passed.

Backend integration tests

Not applicable: no Java or backend endpoint changes.

Ingestion integration tests

No Sigma integration suite exists in this branch. Live Sigma API/server ingestion and the full ingestion suite were not run. Focused tests exercise real source/client code with HTTP boundary responses.

Playwright tests and UI recording

Not applicable: ingestion and connector documentation only; no UI code changes.

Manual verification

Generated Python models from the 2.0 schemas and ran the focused checks above. No live Sigma instance was used.

Checklist

  • Existing upstream regression tests and connector documentation are included.
  • Reviewed commit 587e3a9f63 against the source PRs and the repository review bar; no unresolved backport-specific findings.
  • Checked the 2.0 tag utility APIs and shared column-name normalization.
  • Existing upstream decision records are included; no new design decision.
  • Schemas, migrations, Java checks, and UI recording are not applicable.
  • No separate linked issue: this PR backports the nine merged PRs listed above.

Backport #37412, #37340, #37341, #37296, #37339, #37298, #37300, #37297 and #37299 from main.

Use the existing 2.0 tag utilities for badge definitions and labels. Preserve the shared column-name normalization used by Sigma and Tableau.
@IceS2
IceS2 requested review from a team as code owners November 9, 2026 21:45
@IceS2
IceS2 requested review from harsh-vador and harshsoni2024 and removed request for a team November 9, 2026 21:45
@github-actions

github-actions Bot commented Nov 9, 2026

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 10, 2026

Copy link
Copy Markdown
Code Review ✅ Approved

🟡 Medium risk · Expanding Sigma ingestion with SQL and file lineage, Data Models, tags, and dashboard properties could misassociate metadata or produce incomplete lineage.

Backports nine Sigma connector improvements into the 2.0 branch, covering owner email matching, optional response fields, chart-to-element links, SQL and file-based table and column lineage, Sigma Data Models, lifecycle timestamps, workspace-based project assignment, latestVersion custom properties, and certification badges as SigmaBadge tags. 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

@sonarqubecloud

Copy link
Copy Markdown

@akashverma0786
akashverma0786 merged commit 40f087b into 2.0 Nov 10, 2026
62 of 64 checks passed
@akashverma0786
akashverma0786 deleted the backport/sigma-improvements-2.0 branch November 10, 2026 08:02

This branch was previously deployed

1 inactive deployment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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

2 participants