diff --git a/openmetadata-service/src/main/java/org/openmetadata/service/jdbi3/CollectionDAO.java b/openmetadata-service/src/main/java/org/openmetadata/service/jdbi3/CollectionDAO.java index dec58a7127f..02391de2a57 100644 --- a/openmetadata-service/src/main/java/org/openmetadata/service/jdbi3/CollectionDAO.java +++ b/openmetadata-service/src/main/java/org/openmetadata/service/jdbi3/CollectionDAO.java @@ -3202,7 +3202,7 @@ public interface CollectionDAO { + "(SELECT COUNT(*) FROM dashboard_entity ) as dashboardCount, " + "(SELECT COUNT(*) FROM pipeline_entity ) as pipelineCount, " + "(SELECT COUNT(*) FROM ml_model_entity ) as mlmodelCount, " - + "(SELECT (SELECT COUNT(*) FROM database_entity ) + " + + "(SELECT (SELECT COUNT(*) FROM metadata_service_entity ) + " + "(SELECT COUNT(*) FROM dbservice_entity )+" + "(SELECT COUNT(*) FROM messaging_service_entity )+ " + "(SELECT COUNT(*) FROM dashboard_service_entity )+ " @@ -3219,7 +3219,7 @@ public interface CollectionDAO { + "(SELECT COUNT(*) FROM dashboard_entity ) as dashboardCount, " + "(SELECT COUNT(*) FROM pipeline_entity ) as pipelineCount, " + "(SELECT COUNT(*) FROM ml_model_entity ) as mlmodelCount, " - + "(SELECT (SELECT COUNT(*) FROM database_entity ) + " + + "(SELECT (SELECT COUNT(*) FROM metadata_service_entity ) + " + "(SELECT COUNT(*) FROM dbservice_entity )+ " + "(SELECT COUNT(*) FROM messaging_service_entity )+ " + "(SELECT COUNT(*) FROM dashboard_service_entity )+ "