Uploaded image for project: 'Atlas'
  1. Atlas
  2. ATLAS-1822 Search Query Builder and Faceted Search in Atlas
  3. ATLAS-2022

Regression : Empty results fetched from GET Basic search query

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 1.0.0
    • 0.8.1, 1.0.0
    • atlas-core
    • None

    Description

      Basic search query fired as a POST request with attribute , tag filters fetches correct results.

      But Basic query fired as a GET request with query params encoded in the URL , returns empty results.
      For example : Basic query : typeName = "hive_table" query = <name of existing hive_table in Atlas"
      http://localhost:21000/api/atlas/v2/search/basic?typeName=hive_table&query=employee
      returns

      {
      queryType: "BASIC",
      searchParameters: {
      query: "employee",
      typeName: "hive_table",
      excludeDeletedEntities: false,
      limit: 0,
      offset: 0
      },
      queryText: "employee"
      }
      

      Few commits back , following was the response :

      {
      queryType: "BASIC",
      type: "hive_table",
      entities: [
      {
      typeName: "hive_table",
      attributes: {
      owner: "admin",
      qualifiedName: "default.employee@cl1",
      name: "employee",
      description: null
      },
      guid: "253aa208-0415-4e86-8611-3858fad78ede",
      status: "ACTIVE",
      displayText: "employee",
      classificationNames: [ ]
      }
      ]
      }
      

      Attachments

        1. ATLAS-2022.patch
          1 kB
          Sharmadha S

        Activity

          People

            sharmadhas Sharmadha S
            sharmadhas Sharmadha S
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: