Skip to content

Commit

Permalink
make mutation condition simpler
Browse files Browse the repository at this point in the history
  • Loading branch information
volokluev committed Dec 13, 2024
1 parent 18deecf commit d563235
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion snuba/manual_jobs/scrub_ips_from_spans.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ def _get_query(self, cluster_name: str | None) -> str:
{on_cluster}
UPDATE `sentry_tags.value` = arrayMap((k, v) -> if(k = 'user.ip', 'scrubbed', v), `sentry_tags.key`, `sentry_tags.value`)
WHERE project_id IN [{project_ids}]
AND has(`sentry_tags.key`, 'user.ip')
AND end_timestamp > toDateTime('{start_datetime}')
AND end_timestamp <= toDateTime('{end_datetime}')"""

Expand Down

0 comments on commit d563235

Please sign in to comment.