atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sharmadha Sainath (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ATLAS-2022) Regression : Empty results fetched from GET Basic search query
Date Fri, 04 Aug 2017 10:33:00 GMT
Sharmadha Sainath created ATLAS-2022:
----------------------------------------

             Summary: Regression : Empty results fetched from GET Basic search query
                 Key: ATLAS-2022
                 URL: https://issues.apache.org/jira/browse/ATLAS-2022
             Project: Atlas
          Issue Type: Bug
          Components:  atlas-core
    Affects Versions: 0.9-incubating
            Reporter: Sharmadha Sainath
            Priority: Blocker


Basic search query fired as a POST request with attribute , tag filters fetches correct results.

But Basic query fired as a GET request with query params encoded in the URL , returns empty
results.
For example : Basic query : typeName = "hive_table" query = <name of existing hive_table
in Atlas"
http://localhost:21000/api/atlas/v2/search/basic?typeName=hive_table&query=employee
returns 
{code}
{
queryType: "BASIC",
searchParameters: {
query: "employee",
typeName: "hive_table",
excludeDeletedEntities: false,
limit: 0,
offset: 0
},
queryText: "employee"
}
{code}


Few commits back , following was the response :
{code}
{
queryType: "BASIC",
type: "hive_table",
entities: [
{
typeName: "hive_table",
attributes: {
owner: "admin",
qualifiedName: "default.employee@cl1",
name: "employee",
description: null
},
guid: "253aa208-0415-4e86-8611-3858fad78ede",
status: "ACTIVE",
displayText: "employee",
classificationNames: [ ]
}
]
}
{code}




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

Mime
View raw message