From bf2badb987e9efac22631c1fa2e22d717a34f3cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Pinho?= Date: Tue, 31 Aug 2021 15:20:41 +0100 Subject: [PATCH] add agent_id as key property of AgentsActivity so SQL targets can use it as PRIMARY KEY --- tap_zendesk/streams.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tap_zendesk/streams.py b/tap_zendesk/streams.py index 1305f02..bddf837 100644 --- a/tap_zendesk/streams.py +++ b/tap_zendesk/streams.py @@ -574,6 +574,7 @@ def sync(self, state): class AgentsActivity(Stream): name = "agents_activity" replication_method = "FULL_TABLE" + key_properties = ["agent_id"] def sync(self, state): # pylint: disable=unused-argument