[ https://issues.apache.org/jira/browse/ATLAS-4182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17293374#comment-17293374 ]
ASF subversion and git services commented on ATLAS-4182: -------------------------------------------------------- Commit 48d4e79a055ebc3e5df954af60ac046ab60da313 in atlas's branch refs/heads/branch-2.0 from Pinal [ https://gitbox.apache.org/repos/asf?p=atlas.git;h=48d4e79 ] ATLAS-4182 : Quick Search: Incorrect aggregation Metric when less than operator is selected to filter Signed-off-by: Pinal <pinal-shah> > 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 > > 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)