We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b86bbf7 commit 842c8f9Copy full SHA for 842c8f9
metadata-ingestion/src/datahub/ingestion/source/gc/soft_deleted_entity_cleanup.py
@@ -258,7 +258,7 @@ def _get_soft_deleted_queries(self) -> Iterable[str]:
258
)
259
break
260
scroll_across_entities = result.get("scrollAcrossEntities")
261
- if not scroll_across_entities:
+ if not scroll_across_entities or not scroll_across_entities.get("count"):
262
263
scroll_id = scroll_across_entities.get("nextScrollId")
264
self.report.num_queries_found += scroll_across_entities.get("count")
0 commit comments