Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 387AD187BC for ; Mon, 28 Dec 2015 17:44:50 +0000 (UTC) Received: (qmail 46968 invoked by uid 500); 28 Dec 2015 17:44:50 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 46922 invoked by uid 500); 28 Dec 2015 17:44:50 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 46798 invoked by uid 99); 28 Dec 2015 17:44:50 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Dec 2015 17:44:50 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id AEEB32C1F5A for ; Mon, 28 Dec 2015 17:44:49 +0000 (UTC) Date: Mon, 28 Dec 2015 17:44:49 +0000 (UTC) From: "DIPAYAN BHOWMICK (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-14507) Attempt to Open a Saved Query Returns Unexpected Results 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/AMBARI-14507?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] DIPAYAN BHOWMICK updated AMBARI-14507: -------------------------------------- Attachment: AMBARI-14507_branch-2.2.patch > Attempt to Open a Saved Query Returns Unexpected Results > -------------------------------------------------------- > > Key: AMBARI-14507 > URL: https://issues.apache.org/jira/browse/AMBARI-14507 > Project: Ambari > Issue Type: Bug > Components: ambari-views > Affects Versions: 2.1.2 > Reporter: DIPAYAN BHOWMICK > Assignee: DIPAYAN BHOWMICK > Fix For: 2.2.1 > > Attachments: AMBARI-14507_branch-2.2.patch > > > 1. In Hive View, click Saved Queries > 2. Click a query to open in Hive Query View > 3. Modify the query > 4. Execute the query > 5. Click Saved Queries > 6. Click the same query to reopen the original query > A new tab is created in Hive Query View with the query as modified in step 3 rather than the original query. > To retrieve the saved query, one must reload Hive Query View in the browser to retrieve it. > Preferred behavior: > 1. In Hive View, click Saved Queries > 2. Click a query to open in Hive Query View > 3. Modify the query > 4. Execute the query > 5. Click Saved Queries > 7. A dialog box should appear with the message and 3 buttons, Save As, Replace, Discard Changes: > Query has been changed. Save changes? > Save As ... Replace Discard Changes > Save As should prompt for a name, replace should overwrite the existing file, and discard should close the existing query tab. > The Saved Queries View should then open. > 6. Click the same query to reopen the original query > 7. A new tab with the saved query should be opened -- This message was sent by Atlassian JIRA (v6.3.4#6332)