Skip to content

Commit

Permalink
fix(views): handle unknown view when resolving a view to a filter (#1…
Browse files Browse the repository at this point in the history
  • Loading branch information
darnaut authored and yoonhyejin committed Jul 16, 2024
1 parent ee0880b commit 9bdbfc6
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,9 @@ public static Filter viewFilter(
return null;
}
DataHubViewInfo viewInfo = resolveView(opContext, viewService, UrnUtils.getUrn(viewUrn));
if (viewInfo == null) {
return null;
}
Filter result = SearchUtils.combineFilters(null, viewInfo.getDefinition().getFilter());
return result;
}
Expand Down

0 comments on commit 9bdbfc6

Please sign in to comment.