You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2021/03/02 05:51:00 UTC

[jira] [Commented] (ATLAS-4182) Quick Search: Incorrect aggregation Metric when less than operator is selected to filter

    [ https://issues.apache.org/jira/browse/ATLAS-4182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17293372#comment-17293372 ] 

ASF subversion and git services commented on ATLAS-4182:
--------------------------------------------------------

Commit 33f7fcbb681bfb82c12272c95aafd715ec716d9e in atlas's branch refs/heads/master from Pinal
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=33f7fcb ]

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)