This is an automated email from the ASF dual-hosted git repository.

nixon pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/atlas.git


The following commit(s) were added to refs/heads/master by this push:
     new cb0fe79  ATLAS-3589 Unable to search typeDefs of category 'Namespace'
cb0fe79 is described below

commit cb0fe79e3f41e1b7bf9a52202f71b23fe1326800
Author: Mandar Ambawane <[email protected]>
AuthorDate: Thu Jan 16 17:18:07 2020 +0530

    ATLAS-3589 Unable to search typeDefs of category 'Namespace'
    
    Signed-off-by: nixonrodrigues <[email protected]>
---
 .../src/main/java/org/apache/atlas/repository/util/FilterUtil.java      | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/repository/src/main/java/org/apache/atlas/repository/util/FilterUtil.java 
b/repository/src/main/java/org/apache/atlas/repository/util/FilterUtil.java
index 5b16dda..df27b0c 100644
--- a/repository/src/main/java/org/apache/atlas/repository/util/FilterUtil.java
+++ b/repository/src/main/java/org/apache/atlas/repository/util/FilterUtil.java
@@ -154,6 +154,8 @@ public class FilterUtil {
                             return atlasType.getTypeCategory() == 
TypeCategory.ENUM;
                         case "RELATIONSHIP":
                             return atlasType.getTypeCategory() == 
TypeCategory.RELATIONSHIP;
+                        case "NAMESPACE":
+                            return atlasType.getTypeCategory() == 
TypeCategory.NAMESPACE;
                         default:
                             // This shouldn't have happened
                             return false;

Reply via email to