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

Search using entity and trait attributes - typename and "*" in classificationName throws Invalid condition exception

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.8.2, 1.0.0
    • 0.8.2, 1.0.0
    • atlas-core
    • None

    Description

      Following is the POST request body to /api/atlas/v2/search/basic

      {
      "excludeDeletedEntities":true,
      "entityFilters":null,
      "tagFilters":null,
      "attributes":[],
      "limit":25,
      "offset":0,
      "typeName":"hive_table",
      "classification":"*"
      }
      

      When any typeName is provided , Atlas throws 500 Internal server exception.Attached the exception stack trace.

      When typeName parameter is removed ,or is given "null" value , response is 200 OK.

      When a tag name is provided instead of "*" , and typeName is given ,no issues are seen.

      Hence , issue with * in classificationName and typeName provided together.

      CC : sarath.kum4r@gmail.com

      Attachments

        Activity

          People

            madhan Madhan Neethiraj
            sharmadhas Sharmadha S
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: