[
https://issues.apache.org/jira/browse/ATLAS-2035?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Péter Gergő Barna reassigned ATLAS-2035:
----------------------------------------
Assignee: Péter Gergő Barna
> Search using entity and trait attributes - Issue with Case insensitive search
> in entity attributes and tag
> -----------------------------------------------------------------------------------------------------------
>
> Key: ATLAS-2035
> URL: https://issues.apache.org/jira/browse/ATLAS-2035
> Project: Atlas
> Issue Type: Bug
> Components: atlas-core
> Affects Versions: 0.9-incubating
> Reporter: Sharmadha Sainath
> Assignee: Péter Gergő Barna
> Priority: Critical
>
> 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:
> {code}
> 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)
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)