Skip to content

Commit 8331a80

Browse files
chore(tap-suitql): Change year from filter in query builder
1 parent 88217a0 commit 8331a80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: tap_suiteql/query_builder.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def _build_where_statement(self):
4141
self.stream.year_date_field
4242
): # Filter added due to the limit of 100 thousand records that the Sensedata API returns # noqa:E501
4343
where_clauses.append(
44-
f"TO_CHAR({self.stream.year_date_field}, 'YYYY') >= 2023 and {self.stream.year_date_field} < ADD_MONTHS(SYSDATE, 3)" # noqa:E501
44+
f"TO_CHAR({self.stream.year_date_field}, 'YYYY') >= 2024 and {self.stream.year_date_field} < ADD_MONTHS(SYSDATE, 3)" # noqa:E501
4545
)
4646

4747
if self.stream.replication_key:

0 commit comments

Comments
 (0)