Skip to content

Commit

Permalink
Temporarily remove delta
Browse files Browse the repository at this point in the history
  • Loading branch information
ifoukarakis committed Oct 18, 2024
1 parent 74e11be commit 5544f15
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 29 deletions.

This file was deleted.

This file was deleted.

5 changes: 5 additions & 0 deletions utils/db/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,11 @@ def merge(
delta_table: str,
dedup_prune_days: int,
):
"""
Helper to implement deferred merge on events table. Merges an event delta table to the base table.
Expects that base and delta tables have columns 'id', 'received_at' and 'after'.
"""
with ctx.obj['engine'].begin() as conn, conn.begin():
merge_event_delta_table_into(
conn,
Expand Down

0 comments on commit 5544f15

Please sign in to comment.