You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Nikhil Bonte (Jira)" <ji...@apache.org> on 2019/11/11 11:41:00 UTC

[jira] [Created] (ATLAS-3520) Regression: DSL query with "like" clause with "_" and "AND" returns unexpected entities.

Nikhil Bonte created ATLAS-3520:
-----------------------------------

             Summary: Regression: DSL query with "like" clause with "_" and "AND" returns unexpected entities.
                 Key: ATLAS-3520
                 URL: https://issues.apache.org/jira/browse/ATLAS-3520
             Project: Atlas
          Issue Type: Bug
            Reporter: Nikhil Bonte
            Assignee: Nikhil Bonte


*Problem*

Dataset:

Created a hive_table with name "sample_01" under hive_db with name as "default".

Example query: 
{code:java}
hive_table db.name="default" and qualifiedName like "*sample_01*"
{code}
It is expected that above should return 1 hive_table entity having qualifiedName = default.sample_01@cluster, but it doesn't return any entity.

 

 

Other queries like following work and return expected results:
{code:java}
hive_table where db.name = "default" (only first part of query)

hive_table qualifiedName like "*sample_01*"  (only second part of query)

hive_table where db.name = "default" and name like "sample_01" (updating only second part of query)

hive_table db.name="default" and qualifiedName = "default.sample_01@cluster" (using "=" instead of "like" with full qualifiedName)
{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)