[ https://issues.apache.org/jira/browse/ATLAS-1583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15877174#comment-15877174 ]
Madhan Neethiraj commented on ATLAS-1583: ----------------------------------------- +1 for the patch. Thanks [~ashutoshm]. > Import API: Ambiguous Metrics > ----------------------------- > > Key: ATLAS-1583 > URL: https://issues.apache.org/jira/browse/ATLAS-1583 > Project: Atlas > Issue Type: Bug > Components: atlas-webui > Affects Versions: 0.8-incubating > Reporter: Ashutosh Mestry > Assignee: Ashutosh Mestry > Priority: Minor > Fix For: 0.8-incubating > > Attachments: ATALAS-1583.patch > > > Metrics reported by Import API result can be confusing. The format <entity > type>:<entity name>:created and <entity type>:<entity name>:updated can > appear like duplication. > Please see example below: > *Existing* > bq. > "metrics": > { "typedef:enum": 0, "typedef:struct": 0, "entity:hive_column:created": 7, > "entity:hive_column:updated": 7, "entity:hive_storagedesc:created": 1, > "entity:hive_storagedesc:updated": 1, "entity:hive_process:created": 1, > "entity:hive_process:updated": 1, "entity:hive_db:created": 1, > "entity:hive_db:updated": 1, "Duration": 654, "entity:hive_table:created": 1, > "entity:hive_table:updated": 1, "entity:hdfs_path:created": 1, > "entity:hdfs_path:updated": 1, "typedef:entitydef": 6, > "typedef:classification": 0 } > bq. > *Should be* > bq. > "metrics": > { "typedef:enum": 0, "typedef:struct": 0, "entity:hive_column:created": 7, > "entity:hive_storagedesc:created": 1, "entity:hive_process:created": 1, > "entity:hive_db:created": 1, "Duration": 9454, "entity:hive_table:created": > 1, "entity:hdfs_path:created": 1, "typedef:entitydef": 6, > "typedef:classification": 0 } > bq. -- This message was sent by Atlassian JIRA (v6.3.15#6346)