mirror of
https://github.com/datahub-project/datahub.git
synced 2025-09-22 15:43:21 +00:00
fix(elastic): improve error handling for profiling (#8785)
This commit is contained in:
parent
9f223c0069
commit
c38bb91519
@ -553,7 +553,9 @@ class ElasticsearchSource(Source):
|
||||
row_count = 0
|
||||
size_in_bytes = 0
|
||||
for profile_info in profile_info_current:
|
||||
if profile_info["docs.count"] is not None:
|
||||
row_count += int(profile_info["docs.count"])
|
||||
if profile_info["store.size"] is not None:
|
||||
size_in_bytes += int(profile_info["store.size"])
|
||||
yield MetadataChangeProposalWrapper(
|
||||
entityUrn=dataset_urn,
|
||||
|
Loading…
x
Reference in New Issue
Block a user