Skip to content

[2.1] Fixes #38485: Preserve per-input OpenLineage column transformations - #38909

Merged
Khairajani merged 1 commit into
2.1from
backport-38615-2.1
Nov 26, 2026
Merged

Khairajani merged 1 commit into
2.1from
backport-38615-2.1

Conversation

@Khairajani

Copy link
Copy Markdown
Contributor

Fixes #38485

Backport of #38615 to 2.1.

🤖 Generated with Claude Code

…38615)

* Preserve per-input OpenLineage column transformations

* Use typed column names for OpenLineage mappings

* Tolerate incomplete OpenLineage input transformations

* Replace a stored unlabelled column line once incoming lines label all its pairs

An edge the OpenLineage connector wrote before this change holds one unlabelled
line per output column. The next run splits it by function, the patch merge kept
the old line first, and the edge drawer read its empty function.

* Type the labelled column pairs like the merge's other keys

---------

Co-authored-by: Himanshu Khairajani <[email protected]>
Co-authored-by: Khairajani <[email protected]>
(cherry picked from commit 8cf1dca)
@Khairajani
Khairajani requested review from a team as code owners November 26, 2026 19:04
@Khairajani
Khairajani requested review from ulixius9 and removed request for a team November 26, 2026 19:04
@github-actions

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.

@Khairajani Khairajani added the safe to test Add this label to run secure Github workflows on PRs label Nov 26, 2026
@gitar-bot

gitar-bot Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Code Review ✅ Approved 🟡 Medium risk

Per-input OpenLineage transformations split column mappings and remove superseded unlabeled lineage, so incorrect grouping could misrepresent data dependencies.

Preserves each input column's OpenLineage transformation (such as DIRECT/AGGREGATION or INDIRECT/FILTER) as the mapping's function on both the REST endpoint and the Kafka/Kinesis connector, with existing lineage picking up the labels on the next run. 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 8d3f081 into 2.1 Nov 26, 2026
50 of 52 checks passed
@Khairajani
Khairajani deleted the backport-38615-2.1 branch November 26, 2026 20:06
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.

2 participants