Skip to content

Commit

Permalink
feat(ingest/gc): truncate query usage statistics aspect (datahub-proj…
Browse files Browse the repository at this point in the history
  • Loading branch information
anshbansal authored and chakru-r committed Jan 11, 2025
1 parent cc067db commit 91261a1
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,9 @@ def truncate_indices(self) -> None:
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(
Expand Down

0 comments on commit 91261a1

Please sign in to comment.