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

Search using entity and trait attributes - Filtering integral and float data types with != (NOT EQUALS) on negative number throws exception

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.0.0
    • 1.0.0
    • atlas-core
    • None

    Description

      Selected type = hive_table and applied filter

      Retention != -1
      

      The above throws 500 internal server error. Attached the application logs .

      Other filters like <,>,>=,<=,= on negative numbers work as expected.

      This happens for all integral and floating point data types

      POST request body :

      {  
         "entityFilters":{  
            "condition":"AND",
            "criterion":[  
               {  
                  "attributeName":"retention",
                  "operator":"!=",
                  "attributeValue":"-1"
               }
            ]
         },
         "tagFilters":null,
         "query":null,
         "excludeDeletedEntities":true,
         "limit":25,
         "typeName":"hive_table",
         "classification":null
      }
      

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: