Nixon Rodrigues created ATLAS-4102:
--------------------------------------
Summary: UI - DSL Search: Web UI hangs When Executing Certain
Queries
Key: ATLAS-4102
URL: https://issues.apache.org/jira/browse/ATLAS-4102
Project: Atlas
Issue Type: Bug
Affects Versions: 2.1.0
Reporter: Nixon Rodrigues
Assignee: Prasad P. Pawar
*Background*
Certain types of Advanced Search (DSL) queries within Atlas return
_AtlasSearchResult_ in a slightly different format.
The current UI is not able to render the search results.
The REST APIs however, return the output successfully.
*Steps to Duplicate*
# Within Atlas web UI, Advanced Search, execute: _hive_table groupby (owner)
select min(name)_ _URL:
http://<url>:31000/index.html#!/search/searchResult?query=hive_table%20groupby%20(owner)%20select%20min(name)&searchType=dsl&dslChecked=true_
_Expected result:_ Search results should be displayed.
Actual result: Web UI freezes. Upon inspecting using Developer tools, a JS
exception is displayed.
Additional info:
Query: _hive_table groupby(owner) select owner, max(name)_
Output json:
{code:java}
{
"attributes": {
"name": [
"owner",
"max(name)"
],
"values": [
[
"hive",
"tuarp_uarmt_pmtreq_h"
],
[
"iadetldev",
"video_analytics_log_id"
],
[
"atsacoli",
"aj_psync_test_h"
]
]
},
"approximateCount": -1
}{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)