Uploaded image for project: 'Atlas'
  1. Atlas
  2. ATLAS-2035

Search using entity and trait attributes - Issue with Case insensitive search in entity attributes and tag

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 1.0.0
    • 0.8.1, 1.0.0
    • atlas-core
    • 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

          Activity

            People

              apoorvnaik Apoorv Naik
              sharmadhas Sharmadha S
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: