You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Sharmadha Sainath (JIRA)" <ji...@apache.org> on 2017/08/04 10:33:00 UTC
[jira] [Created] (ATLAS-2022) Regression : Empty results fetched
from GET Basic search query
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)