Skip to content

Commit

Permalink
feat(lineage): change query structure for explored hop limit (datahub…
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanHolstien authored and sleeperdeep committed Jun 25, 2024
1 parent 39b206a commit 6f1244f
Show file tree
Hide file tree
Showing 15 changed files with 1,026 additions and 231 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ private SearchAcrossLineageResult mapResult(
.setDegrees(new ArrayList<>(searchEntity.getDegrees()))
.setExplored(Boolean.TRUE.equals(searchEntity.isExplored()))
.setIgnoredAsHop(Boolean.TRUE.equals(searchEntity.isIgnoredAsHop()))
.setTruncatedChildren(Boolean.TRUE.equals(searchEntity.isTruncatedChildren()))
.build();
}
}
5 changes: 5 additions & 0 deletions datahub-graphql-core/src/main/resources/search.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -747,6 +747,11 @@ type SearchAcrossLineageResult {
"""
explored: Boolean!

"""
Indicates this destination node has additional unexplored child relationships
"""
truncatedChildren: Boolean!

"""
Whether this relationship was ignored as a hop
"""
Expand Down
Loading

0 comments on commit 6f1244f

Please sign in to comment.