You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Hemanth Yamijala (JIRA)" <ji...@apache.org> on 2017/06/18 12:10:00 UTC

[jira] [Created] (ATLAS-1886) DSL queries with LIKE fail for composite searches

Hemanth Yamijala created ATLAS-1886:
---------------------------------------

             Summary: DSL queries with LIKE fail for composite searches
                 Key: ATLAS-1886
                 URL: https://issues.apache.org/jira/browse/ATLAS-1886
             Project: Atlas
          Issue Type: Improvement
          Components:  atlas-core
    Affects Versions: 0.9-incubating
            Reporter: Hemanth Yamijala


Search DSL was enhanced to support the LIKE query in ATLAS-1807. This was a great enhancement from a usability point of view and works as expected for String attributes of a type - like hive_table.name, hive_table.owner etc.

Another type of query that is useful is composite searches - for e.g. hive_tables in a DB (given a DB name). This query currently works - hive_table where db.name='xyz'.

However, when we try a 'like' operator here, it fails - i.e. hive_table where db.name LIKE '*xyz*' - this returns an error: Discovery query failed `hive_table` db.name LIKE '*financ*'

Can this be looked into if its an easy fix?



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)