Repository navigation
[2.1] Fixes #39529: Show nested column paths in lineage and draw in-model column edges on the right column rows - #39757
Merged
Merged
Conversation
…olumn edges on the right column rows (#39730) * Fixes #39529: Show nested column paths in lineage and draw in-model column edges on the right column rows - Edge drawer and node column list show a nested column's path inside its own entity (Orders.customer_id) instead of the ambiguous leaf name. - Deep paths truncate the parent path first; the column name stays visible and the full path is in the tooltip. - Edge drawer resolves source and target nodes separately, so an edge within one model shows its Target row. - A column edge inside one model loops on the node's right side between the two column rows instead of reusing the node-level arc behind the node. - Move the edge drawer's overview builders to EdgeInfoDrawer.utils.ts. * Use Typography for the nested column label segments The parent path takes its muted colour from the color prop instead of a text-colour class, matching the plain-name branch. (cherry picked from commit ef53974)
gh-bot-collate
Bot
requested review from
karthicksharan
and removed request for
a team
December 4, 2026 06:51
Author
|
🤖 This backport will not merge itself: |
ShaileshParmar11
approved these changes
Dec 4, 2026
On 2.1 the only user of ColumnLineage in this file moved to EdgeInfoDrawer.utils.ts, so organize-imports removed it and failed UI checkstyle.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Automated backport of #39730 to
2.1.ef53974a9b553464bdfa3b7c9b4e40301cf00552Resolution notes
Backport notes — PR #39730 →
2.1Source:
ef53974a9b553464bdfa3b7c9b4e40301cf00552— "Fixes #39529: Show nested column paths inlineage and draw in-model column edges on the right column rows".
git cherry-pick -xconflicted in two files; both are resolved below. Everything else in thecommit (
EdgeInfoDrawer.test.tsx, the newEdgeInfoDrawer.utils.ts,CustomNode.utils.tsx,NodeChildren.component.tsx,VirtualColumnList.component.tsx,CanvasUtils.ts,FqnUtils.tsand their tests) applied cleanly, unchanged from main.
Why the conflicts happened
2.1does not have PR #39213 ("Keep OpenLineage column mappings intact when editing columnlineage in the UI"), which is main-only. That PR added
updateColumnLineageFunctiontoEntityLineageEdgeUtils.tsand reworkedgetUpdatedColumnsFromEdgeto understand OpenLineagefunction labels, and both files this PR touches sit right next to that code, so the cherry-pick's
context lines didn't match.
EdgeInfoDrawer.component.tsxOnly the import block conflicted. Resolved to:
getRelativeTime,EntityReference as LineagePipelineReference,LineageDetails,getEntityName,entityUtilClassBase,getNameFromFQN— these were this PR's own overviewbuilder helpers, now moved into the new
EdgeInfoDrawer.utils.ts(added cleanly).ColumnLineage, Sourcefromgenerated/type/entityLineageandgetLineageDetailsObjectfromEntityLineageEdgeUtils— both still used elsewhere in the file.updateColumnLineageFunctionfrom theEntityLineageEdgeUtilsimport. It isn'tpart of this PR's diff (confirmed via
git log -S— it was introduced by Fixes #39212: Keep OpenLineage column mappings intact when editing column lineage in the UI #39213) and doesn'texist in
2.1'sEntityLineageEdgeUtils.ts.2.1'sonFunctionUpdatekeeps its existinginline
findIndexlogic unchanged.buildEdgeOverviewDataimport and the self-edge-awaregetEdgeInfobody(
nodes.findfor source/target instead of the singleforEachloop) — that's the actualintent of this PR.
EntityLineageEdgeUtils.test.tsThe conflict had two parts:
Position(fromreactflow) andgetEdgePathData(thisPR's new export, already present in
2.1'sEntityLineageEdgeUtils.ts), while droppingConnection,EdgeDetails,getUpdatedColumnsFromEdge,updateColumnLineageFunction— noneof those are used by anything this PR added.
describeblocks:getUpdatedColumnsFromEdgeandupdateColumnLineageFunction(both from the unrelated,un-backported Fixes #39212: Keep OpenLineage column mappings intact when editing column lineage in the UI #39213 — the latter function doesn't even exist in
2.1) andgetEdgePathData(this PR's actual new test, exercising the self-edge "side loop" path added to
getEdgePathDatainEntityLineageEdgeUtils.ts, which merged with no conflict). Kept only thegetEdgePathDatablock.What a reviewer should check by hand
getEdgePathData,SIDE_LOOP_WIDTH, andisSelfConnectingEdgelanded inEntityLineageEdgeUtils.tsas expected (merged without conflict) and that the kept test blockmatches that implementation.
EdgeInfoDrawer.component.tsxhas no leftover references to the removedhelpers/imports (
getRelativeTime,getEntityName,entityUtilClassBase,getNameFromFQN,updateColumnLineageFunction) — verified by grep, none remain.src/tree).behavior (Fixes #39212: Keep OpenLineage column mappings intact when editing column lineage in the UI #39213) — that PR is separate and out of scope for this backport.
Cherry-pick is left in progress (not staged/committed), per the workflow.
Opened from openmetadata-collate, which holds the credentials needed to open a PR here. It merges itself once this branch's required checks pass — no review needed. If a check fails it stays open and the author of #39730 is asked to look.
resolver run