mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-11-02 03:29:03 +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
|
||||
StepStats entityLevelStats = jobDataStats.getEntityStats();
|
||||
if (entityLevelStats == null) {
|
||||
entityLevelStats = new StepStats();
|
||||
entityLevelStats =
|
||||
new StepStats().withTotalRecords(null).withFailedRecords(null).withSuccessRecords(null);
|
||||
}
|
||||
entityLevelStats.withAdditionalProperty(entityType, currentEntityStats);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user