mirror of
https://github.com/datahub-project/datahub.git
synced 2025-11-02 11:49:23 +00:00
fix(views): handle unknown view when resolving a view to a filter (#10640)
This commit is contained in:
parent
67c610d339
commit
1ac740d288
@ -239,6 +239,9 @@ public class ResolverUtils {
|
||||
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;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user