Skip to content

Commit

Permalink
feat(ingest/gc): truncate queryusagestatistics
Browse files Browse the repository at this point in the history
  • Loading branch information
anshbansal committed Jan 3, 2025
1 parent f9e2c49 commit 8122259
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(

Check warning on line 191 in metadata-ingestion/src/datahub/ingestion/source/gc/datahub_gc.py

View check run for this annotation

Codecov / codecov/patch

metadata-ingestion/src/datahub/ingestion/source/gc/datahub_gc.py#L191

Added line #L191 was not covered by tests
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 8122259

Please sign in to comment.