mirror of
https://github.com/datahub-project/datahub.git
synced 2025-12-27 01:48:24 +00:00
feat(ingest/gc): truncate query usage statistics aspect (#12268)
This commit is contained in:
parent
d2b67cab6d
commit
8093882d45
@ -188,6 +188,9 @@ class DataHubGcSource(Source):
|
||||
self._truncate_timeseries_helper(
|
||||
aspect_name="dashboardUsageStatistics", entity_type="dashboard"
|
||||
)
|
||||
self._truncate_timeseries_helper(
|
||||
aspect_name="queryusagestatistics", entity_type="query"
|
||||
)
|
||||
|
||||
def _truncate_timeseries_helper(self, aspect_name: str, entity_type: str) -> None:
|
||||
self._truncate_timeseries_with_watch_optional(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user