Skip to content

Commit 3ab4db2

Browse files
tobiascadeeclaude
andauthored
fix: append L suffix to timestamp filter for Exact API compatibility (#297)
The Exact API requires timestamp values to be suffixed with 'L' to denote a long integer type in OData filter expressions. Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 2470ed5 commit 3ab4db2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tap_exact/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ def get_url_params(self, context: dict | None, next_page_token: str) -> dict[str
199199
if self.select:
200200
params["$select"] = self.select
201201
starting_timestamp = self.get_starting_replication_key_value(context)
202-
params["$filter"] = f"Timestamp gt {starting_timestamp if type(starting_timestamp) is int else 1}"
202+
params["$filter"] = f"Timestamp gt {starting_timestamp if type(starting_timestamp) is int else 1}L"
203203
if next_page_token:
204204
params["$skiptoken"] = next_page_token
205205
return params

0 commit comments

Comments
 (0)