[ 
https://issues.apache.org/jira/browse/ATLAS-4182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pinal updated ATLAS-4182:
-------------------------
    Fix Version/s: 3.0.0

> Quick Search: Incorrect aggregation Metric when less than operator is 
> selected to filter
> ----------------------------------------------------------------------------------------
>
>                 Key: ATLAS-4182
>                 URL: https://issues.apache.org/jira/browse/ATLAS-4182
>             Project: Atlas
>          Issue Type: Bug
>          Components:  atlas-core
>    Affects Versions: 2.1.0
>            Reporter: Pinal
>            Assignee: Pinal
>            Priority: Major
>             Fix For: 3.0.0
>
>
> The aggregation metrics for POST /api/atlas/v2/search/quick API returned the 
> count of all entities (of a selected type) in case the createTime  < '' 
> filter is applied which results in no entities for the given search range.
>  
> Example
> {"assetProvider":"ATLAS","excludeDeletedEntities":true,"includeSubClassifications":true,"includeSubTypes":true,"tagFilters":null,"attributes":["qualifiedName","createTime","db","parameters"],"query":"","typeName":"hive_table","entityFilters":{"condition":"AND","criterion":[{"condition":"AND","criterion":[
> {"attributeName":"createTime","operator":"lt","attributeValue":"1613973469738"}
> ]}]},"classification":null,"childClassification":null,"limit":100,"offset":0}
> Response
> "approximateCount": 0
>  },
> "aggregationMetrics":{
> "__typeName":[
> {"name":"hive_table","count":66}],
> "__state":[
> {"name":"active","count":66}],
> "ServiceType":[
> {"name":"hive","count":66}],
> "Asset.owner":[
> {"name":"hive","count":66}
> ]}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to