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

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

     [ https://issues.apache.org/jira/browse/ATLAS-1886?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Madhan Neethiraj updated ATLAS-1886:
------------------------------------
    Attachment: ATLAS-1866.patch

> 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
>            Assignee: Madhan Neethiraj
>             Fix For: 0.9-incubating
>
>         Attachments: ATLAS-1866.patch
>
>
> 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)