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

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.0.0
    • Fix Version/s: 1.0.0
    • Component/s: atlas-core
    • Labels:
      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

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

                Dates

                • Created:
                  Updated: