Uploaded image for project: 'Atlas'
  1. Atlas
  2. ATLAS-4102

UI - DSL Search: UI hangs When Executing Certain Queries

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Resolved
    • 2.1.0
    • 3.0.0, 2.2.0
    • None
    • None

    Description

      Background

      Certain types of Advanced Search (DSL) queries within Atlas return AtlasSearchResult in a slightly different format.

      The current UI is not able to render the search results.

      The REST APIs however, return the output successfully.

      Steps to Duplicate

      1. Within Atlas web UI, Advanced Search, execute: hive_table groupby (owner) select min(name) URL: http://<url>:31000/index.html#!/search/searchResult?query=hive_table%20groupby%20(owner)%20select%20min(name)&searchType=dsl&dslChecked=true

      Expected result: Search results should be displayed.

      Actual result: Web UI freezes. Upon inspecting using Developer tools, a JS exception is displayed.

      Additional info:

      Query: hive_table groupby(owner) select owner, max(name)

      Output json:

      {
          "attributes": {
              "name": [
                  "owner",
                  "max(name)"
              ],
              "values": [
                  [
                      "hive",
                      "tuarp_uarmt_pmtreq_h"
                  ],
                  [
                      "iadetldev",
                      "video_analytics_log_id"
                  ],
                  [
                      "atsacoli",
                      "aj_psync_test_h"
                  ]
              ]
          },
          "approximateCount": -1
      }

       

      Attachments

        1. 0001-Atlas-4102-UI-DSL-Search-UI-hangs-When-Executing-Cer.patch
          3 kB
          Prasad P. Pawar
        2. Atlas-4102.png
          128 kB
          Prasad P. Pawar

        Activity

          People

            prasadpp13 Prasad P. Pawar
            nixon Nixon Rodrigues
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: