[DOP-39210] Rewrite LineageService#503
Merged
Merged
Conversation
dolfinus
force-pushed
the
improvement/DOP-39210
branch
from
July 18, 2026 12:12
f8dc84a to
eee33dd
Compare
dolfinus
marked this pull request as ready for review
July 18, 2026 12:14
dolfinus
force-pushed
the
improvement/DOP-39210
branch
10 times, most recently
from
July 20, 2026 11:37
5564755 to
d7fd1d5
Compare
dolfinus
force-pushed
the
improvement/DOP-39210
branch
from
July 20, 2026 12:20
d7fd1d5 to
09ff1f0
Compare
TiGrib
approved these changes
Jul 20, 2026
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.
Change Summary
Previously we fetched runs/operations/jobs/datasets/column_lineage and so on for each recursion level. Now we only jump over graph
input -> outputorinput -> symlink -> output, save identifiers and load runs/operations/jobs/datasets/column_lineage only at the end. This reduces number of DB queries from O(depth) to O(1).Related issue number
Checklist
mddocs/docs/changelog/next_release/<pull request or issue id>.<change type>.mdfile added describing change(see CONTRIBUTING.rst for details.)