Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-14507

Attempt to Open a Saved Query Returns Unexpected Results

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.1.2
    • 2.2.1
    • ambari-views
    • None

    Description

      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

      Attachments

        1. AMBARI-14507_branch-2.2.patch
          4 kB
          DIPAYAN BHOWMICK

        Issue Links

          Activity

            People

              dipayanb DIPAYAN BHOWMICK
              dipayanb DIPAYAN BHOWMICK
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: