feat(ingest/gc): truncate query usage statistics aspect (#12268)

This commit is contained in:
Aseem Bansal 2025-01-05 12:40:58 +05:30 committed by GitHub
parent d2b67cab6d
commit 8093882d45
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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(