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

Search using entity and trait attributes - On applying contains/ends with/begins with filter on a string with '/' (forward slash) in it, search results are empty.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.0.0
    • 1.0.0
    • atlas-core
    • None

    Description

      Created a hive_table employee. The hive_storagedesc for the table had the location value "hdfs://localhost:8020/apps/hive/warehouse/employee" .

      Selected type as hive_storagedesc , and applied filter

       Location = hdfs\://localhost\:8020/apps/hive/warehouse/employee
      

      which listed the storage descriptor of employee table

      Selected type as hive_storagedesc and applied "contains" filter

      Location contains /apps/hive/warehouse/employee
      

      The above query didn't fetch any result .The same applies for ends with , begins with operators.

      Hence "/" works with "=" operator but not with others.

      Application logs for the search with contains operator:

      Converted query string with 3 replacements: [v."__typeName": (hive_storagedesc) AND ( v."hive_storagedesc.location": (*/apps/hive/warehouse/employee*) ) AND v."__state":ACTIVE] => [iyt_t: (hive_storagedesc) AND ( 9hc5_t: (*/apps/hive/warehouse/employee*) ) AND b2d_t:ACTIVE] (IndexSerializer:648)
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sharmadhas Sharmadha S
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: