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

Search using entity and trait attributes - Equals comparison using filter key when filter key is present between special characters

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.0
    • 0.8.1, 1.0.0
    • atlas-core
    • None

    Description

      1. Created hdfs_path entity with name = "user" , path = "/user"
      2. Created another hdfs_path with name="dir1" , path = "/user/dir1"
      3. Searched for hdfs_path , filter Path = /user
      4. The search listed down both the hdfs_path entities - user and dir1. Expected that only "user" entity would be returned.

      Here, the filter key is "/user" and if the filter key is present between special characters in the attribute values ( "/" in this case) , all those entities are returned.

      Please note that , filter applied is "=" and not "contains"

      Created few random hdfs_path entities for testing :
      For the query type ="hdfs_path" and path = "/user" , entities with following path attribute values are returned :

      • user
      • /user
      • user/
      • /user/dir1
      • @user@dir1
      • /user@dir1

      Entities with following path values are NOT returned

      • /userdir1
      • rootuser/dir2

      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: