Area: UI
Sub-Area: Lineage Visualization
Applies to: OSS + Cloud
Issue
Large lineage graphs are hard to explore in the Lineage tab. You can't see the whole graph, and you want to expand it further or work with a very large result.
You Might Be Asking
- How do I expand all lineage levels for a node?
- Where is the "Expand All" button or the "Full Expansion" setting?
- Why don't I see the >> button on a node?
- Is there a feature flag for very large lineage graphs?
- How do I work with a lineage graph that is too large to read?
Cause
Each node in the lineage graph has a single-level expand button (>). Next to it, a node can show an expand more button (>>) that loads all levels in that direction. The >> button shows only when all of these are true:
- The
showLineageExpandMorefeature flag is on. It defaults totrue. - The node's lineage in that direction isn't fully loaded yet.
- No lineage Group by is active. This condition is checked on DataHub Cloud.
- The node is not inside a parent data job (these nodes have a count).
- For column nodes, column status isn't being ignored.
So the >> button is missing when the full lineage is already loaded, when Group by is on, or when the flag is off.
An older version of this article named a flag called LINEAGE_FULL_EXPANSION_ENABLED, an "Expand All" button and a "Full Expansion" toggle in Settings. None of these exist. You can't change lineage expansion in Settings. The lineage full expansion flag shipped in DataHub Cloud v0.3.11.1, not v0.3.11.
Solution
- Hover over the > button on the node you want to expand. The >> button appears next to it when it is allowed.
- If a lineage Group by is active, turn it off. The >> button doesn't show while Group by is on (checked on DataHub Cloud).
- Note that >> disappears once the full lineage in that direction is loaded. That means there is nothing more to expand.
- If you still don't see >>, the server setting that controls it may be off.
- Cloud: you can't change server settings yourself. Contact DataHub Support.
-
OSS (self-hosted): the GMS environment variable
SHOW_LINEAGE_EXPAND_MOREcontrols the button. It defaults totrue. See the environment variables reference.
- Narrow the graph with the Time Range control on the Lineage tab. On Cloud it has the presets Last 7 days, Last 14 days, Last 28 days and All Time. The filter hides edges in the latest version of the lineage that were last updated outside the window. It doesn't show historical lineage. See the lineage feature guide.
- For a long list instead of a graph, switch the Lineage tab from Explorer to Impact Analysis. You can pick Upstream or Downstream, filter by degree of dependency, Entity Type, Platform, Owner and more, and export the list to CSV. Any user with the View Entity Page privilege can do this. An export is limited to 10,000 records, so apply filters to narrow the list. See Impact Analysis.
Additional Notes
The release note for DataHub Cloud v0.3.11.1 reads "Add feature flag for lineage full expansion in the UI for very large graphs." See the v0.3.11 release notes.