MINOR: DI Missing Dashboard Description Status (#18018)

This commit is contained in:
Mayur Singal 2024-09-30 11:06:22 +05:30 committed by ulixius9
parent cb2ef3f559
commit d83e3a6de8

View File

@ -217,6 +217,8 @@ public class DataInsightsEntityEnricherProcessor
.map(column -> CommonUtil.nullOrEmpty(column.getDescription()) ? 0 : 1)
.reduce(0, Integer::sum));
entityMap.put("hasDescription", CommonUtil.nullOrEmpty(entity.getDescription()) ? 0 : 1);
} else {
entityMap.put("hasDescription", CommonUtil.nullOrEmpty(entity.getDescription()) ? 0 : 1);
}
// Modify Custom Property key