Repository navigation
[2.1] Fixes #38485: Preserve per-input OpenLineage column transformations - #38909
Conversation
…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)
❌ 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 riskPer-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 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 #38485
Backport of #38615 to
2.1.DIRECT/AGGREGATIONvsINDIRECT/FILTER) as the mapping'sfunction, on both the REST endpoint and the Kafka/Kinesis connector.git cherry-pick -x) on top of [2.1] Fixes #36788: keep OpenLineage column lineage for names with reserved characters or dots #38902 (the 2.1 backport of Fixes #36788: keep OpenLineage column lineage for names with reserved characters or dots #36789). The only conflict was the connector's import lines, frommain-only NATS and run-status work that 2.1 doesn't have.OpenLineage*Test(212 tests),test_openlineage.pyplus theometaand lineage-sink unit tests (242 tests), spotless, ruff and basedpyright on the changed files.🤖 Generated with Claude Code