[ https://issues.apache.org/jira/browse/ATLAS-279?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14987290#comment-14987290 ]
Ayub Khan edited comment on ATLAS-279 at 11/3/15 1:44 PM: ---------------------------------------------------------- [~Anilg]] [~darshankumar89] This seems to be due to some javascript exception {noformat} Error: [ngRepeat:dupes] Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: result in filteredResults, Duplicate key: undefined:undefined, Duplicate value: undefined http://errors.angularjs.org/1.2.29/ngRepeat/dupes?p0=result%20in%20filteredResults&p1=undefined%3Aundefined&p2=undefined at angular.js:78 at ngRepeatAction (angular.js:20705) at Object.$watchCollectionAction [as fn] (angular.js:12561) at Scope.$digest (angular.js:12690) at Scope.$apply (angular.js:12955) at done (angular.js:8466) at completeRequest (angular.js:8680) at XMLHttpRequest.xhr.onreadystatechange (angular.js:8619) {noformat} was (Author: ayubkhan): [~Anilsg] [~darshankumar89] This seems to be due to some javascript exception {noformat} Error: [ngRepeat:dupes] Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: result in filteredResults, Duplicate key: undefined:undefined, Duplicate value: undefined http://errors.angularjs.org/1.2.29/ngRepeat/dupes?p0=result%20in%20filteredResults&p1=undefined%3Aundefined&p2=undefined at angular.js:78 at ngRepeatAction (angular.js:20705) at Object.$watchCollectionAction [as fn] (angular.js:12561) at Scope.$digest (angular.js:12690) at Scope.$apply (angular.js:12955) at done (angular.js:8466) at completeRequest (angular.js:8680) at XMLHttpRequest.xhr.onreadystatechange (angular.js:8619) {noformat} > UI not displaying results for certain successful "select" search queries > ------------------------------------------------------------------------ > > Key: ATLAS-279 > URL: https://issues.apache.org/jira/browse/ATLAS-279 > Project: Atlas > Issue Type: Bug > Affects Versions: 0.5-incubating > Reporter: Ayub Khan > Assignee: Anilsg > > UI not displaying results for certain successful "select" search queries > For example: Below search query returns 6 results but none are shown on UI. > Link for UI snapshot: https://monosnap.com/file/1yNz13MGbe3t6vPvDNqrKqurW6K3Es > {noformat} > curl > 'http://localhost:21000/api/atlas/discovery/search?query=from+Table+select+Table.name' > -H 'Accept: application/json, text/plain, */*' -H 'Connection: keep-alive' > -H 'Accept-Encoding: gzip, deflate, sdch' -H 'Referer: > http://localhost:21000/' -H 'Accept-Language: en-US,en;q=0.8' -H 'User-Agent: > Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, > like Gecko) Chrome/46.0.2490.80 Safari/537.36' --compressed | python -m > json.tool > { > "count": 6, > "query": "from Table select Table.name", > "queryType": "dsl", > "requestId": "qtp1946331169-37253 - 4d068946-1df3-4c60-8671-584e2901c9ee", > "results": { > "dataType": { > "attributeDefinitions": [ > { > "dataTypeName": "string", > "isComposite": false, > "isIndexable": true, > "isUnique": false, > "multiplicity": { > "isUnique": false, > "lower": 0, > "upper": 1 > }, > "name": "_col_0", > "reverseAttributeName": null > } > ], > "typeName": "__tempQueryResultStruct625" > }, > "query": "Table as _src1 select _src1.name as _col_0", > "rows": [ > { > "$typeName$": "__tempQueryResultStruct625", > "_col_0": "product_dim" > }, > { > "$typeName$": "__tempQueryResultStruct625", > "_col_0": "sales_fact" > }, > { > "$typeName$": "__tempQueryResultStruct625", > "_col_0": "customer_dim" > }, > { > "$typeName$": "__tempQueryResultStruct625", > "_col_0": "time_dim" > }, > { > "$typeName$": "__tempQueryResultStruct625", > "_col_0": "sales_fact_daily_mv" > }, > { > "$typeName$": "__tempQueryResultStruct625", > "_col_0": "sales_fact_monthly_mv" > } > ] > } > } > {noformat} > Other such successful queries which are not displayed on UI are: > http://localhost:21000/api/atlas/discovery/search?query=Column+select+Column.name > http://localhost:21000/api/atlas/discovery/search?query=from+DB+select+DB.name -- This message was sent by Atlassian JIRA (v6.3.4#6332)