DIPAYAN BHOWMICK created AMBARI-14507:
-----------------------------------------

             Summary: 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


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)

Reply via email to