mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-11-10 07:53:35 +00:00
Fix Search Indexing Empty Stats (#15608)
This commit is contained in:
parent
2dd912ab8a
commit
b52fdaf05e
@ -291,7 +291,8 @@ public class SearchIndexApp extends AbstractNativeApplication {
|
|||||||
// Update Entity Level Stats
|
// Update Entity Level Stats
|
||||||
StepStats entityLevelStats = jobDataStats.getEntityStats();
|
StepStats entityLevelStats = jobDataStats.getEntityStats();
|
||||||
if (entityLevelStats == null) {
|
if (entityLevelStats == null) {
|
||||||
entityLevelStats = new StepStats();
|
entityLevelStats =
|
||||||
|
new StepStats().withTotalRecords(null).withFailedRecords(null).withSuccessRecords(null);
|
||||||
}
|
}
|
||||||
entityLevelStats.withAdditionalProperty(entityType, currentEntityStats);
|
entityLevelStats.withAdditionalProperty(entityType, currentEntityStats);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user