diff --git a/openmetadata-service/src/main/java/org/openmetadata/service/jdbi3/ClassificationRepository.java b/openmetadata-service/src/main/java/org/openmetadata/service/jdbi3/ClassificationRepository.java index 4e35e4fcee7..c9786559f23 100644 --- a/openmetadata-service/src/main/java/org/openmetadata/service/jdbi3/ClassificationRepository.java +++ b/openmetadata-service/src/main/java/org/openmetadata/service/jdbi3/ClassificationRepository.java @@ -90,7 +90,9 @@ public class ClassificationRepository extends EntityRepository { } private Integer getUsageCount(Classification classification) { - return daoCollection.tagUsageDAO().getTagCount(TagSource.CLASSIFICATION.ordinal(), classification.getName()); + return daoCollection + .tagUsageDAO() + .getTagCount(TagSource.CLASSIFICATION.ordinal(), classification.getFullyQualifiedName()); } public static class TagLabelMapper implements RowMapper {