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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0
    • Fix Version/s: 0.8.1, 1.0.0
    • Component/s: atlas-core
    • Labels:
      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

            • Assignee:
              apoorvnaik Apoorv Naik
              Reporter:
              sharmadhas Sharmadha S

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment