Return-Path: X-Original-To: apmail-atlas-dev-archive@minotaur.apache.org Delivered-To: apmail-atlas-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7DBD018F0E for ; Tue, 10 Nov 2015 10:07:25 +0000 (UTC) Received: (qmail 92673 invoked by uid 500); 10 Nov 2015 10:07:25 -0000 Delivered-To: apmail-atlas-dev-archive@atlas.apache.org Received: (qmail 92625 invoked by uid 500); 10 Nov 2015 10:07:25 -0000 Mailing-List: contact dev-help@atlas.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@atlas.incubator.apache.org Delivered-To: mailing list dev@atlas.incubator.apache.org Received: (qmail 92614 invoked by uid 99); 10 Nov 2015 10:07:25 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Nov 2015 10:07:25 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id EA3AEC8800 for ; Tue, 10 Nov 2015 10:07:24 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.458 X-Spam-Level: *** X-Spam-Status: No, score=3.458 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_BADIPHTTP=2, KAM_LAZY_DOMAIN_SECURITY=1, NORMAL_HTTP_TO_IP=0.001, RP_MATCHES_RCVD=-0.345, URIBL_BLOCKED=0.001, WEIRD_PORT=0.001] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id XmhmIBkr1mn9 for ; Tue, 10 Nov 2015 10:07:13 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with SMTP id DCF7A20313 for ; Tue, 10 Nov 2015 10:07:12 +0000 (UTC) Received: (qmail 91238 invoked by uid 99); 10 Nov 2015 10:07:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Nov 2015 10:07:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 0B5C52C1F60 for ; Tue, 10 Nov 2015 10:07:11 +0000 (UTC) Date: Tue, 10 Nov 2015 10:07:11 +0000 (UTC) From: "Anilsg (JIRA)" To: dev@atlas.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ATLAS-279) UI not displaying results for certain successful "select" search queries MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/ATLAS-279?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14998345#comment-14998345 ] Anilsg commented on ATLAS-279: ------------------------------ Patch for ATLAS-279,268,244,264 are in one patch available in ATLAS-279 [ http://52.27.169.250:3208/#!/search] Please review > 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 > Attachments: ATLAS-279-ATLAS-268-ATLAS-244-ATLAS-264_v0.patch > > > 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)