Skip to content

Commit

Permalink
Remove metadata upsert for valid-replication-keys
Browse files Browse the repository at this point in the history
  • Loading branch information
BernardWez committed Nov 24, 2023
1 parent f3c1fe5 commit bd524ef
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions elx/catalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,12 +186,6 @@ def set_replication_keys(self, replication_keys: Optional[dict]) -> "Catalog":
# Update the replication key value
stream.replication_key = replication_key

# Add the replication key to stream metadata
stream.upsert_metadata(
breadcrumb=[],
metadata={"valid-replication-keys": [replication_key]},
)

# Set inclusion of replication property metadata to `automatic`
stream.upsert_metadata(
breadcrumb=["properties", replication_key],
Expand Down

0 comments on commit bd524ef

Please sign in to comment.