Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
1.0.0
-
None
Description
1. Created an hdfs_path entity with description "hdfs_path"
2. Created a tag "tag1" and associated the tag to hdfs_path entity
3. In Basic Search
a) Typename = hdfs_path , filter : description = hdfs_path returned the hdfs_path entity
b) Typename = hdfs_path , filter : description = HDFS_PATH returned the hdfs_path entity (to verify case insensitivity)
c) Typename = hdfs_path , filter : description = hdfs_path , tag = tag1 returned the hdfs_path entity.
d) But , Typename = hdfs_path , filter : description = HDFS_PATH , tag = tag1 did not fetch the entity.
Therefore , any search with tag and case insensitive search in entityFilters does not fetch expected results.
Logs from EntitySearchProcessor:
2017-08-09 12:30:06,761 DEBUG - [pool-2-thread-10 - 56d0fb40-683d-48bb-8cf7-8d2dee690379:] ~ ==> EntitySearchProcessor.execute(searchParameters={query='null', typeName='hdfs_path', classification='tag1', excludeDeletedEntities=true, limit=25, offset=0, entityFilters={attributeName='null', operator=null, attributeValue='null', condition=AND, criterion=[{attributeName='description', operator=eq, attributeValue='HDFS_PATH', condition=null, criterion=null}]}, tagFilters=null, attributes=null}) (EntitySearchProcessor:129) 2017-08-09 12:30:06,788 DEBUG - [pool-2-thread-10 - 56d0fb40-683d-48bb-8cf7-8d2dee690379:] ~ <== EntitySearchProcessor.execute(searchParameters={query='null', typeName='hdfs_path', classification='tag1', excludeDeletedEntities=true, limit=25, offset=0, entityFilters={attributeName='null', operator=null, attributeValue='null', condition=AND, criterion=[{attributeName='description', operator=eq, attributeValue='HDFS_PATH', condition=null, criterion=null}]}, tagFilters=null, attributes=null}): ret.size()=0 (EntitySearchProcessor:213)
Attachments
Issue Links
- Blocked
-
ATLAS-1925 Bugfixes
- Resolved