diff --git a/tap_suiteql/query_builder.py b/tap_suiteql/query_builder.py index 51be908..2acf333 100644 --- a/tap_suiteql/query_builder.py +++ b/tap_suiteql/query_builder.py @@ -41,7 +41,7 @@ def _build_where_statement(self): self.stream.year_date_field ): # Filter added due to the limit of 100 thousand records that the Sensedata API returns # noqa:E501 where_clauses.append( - f"TO_CHAR({self.stream.year_date_field}, 'YYYY') >= 2023 and {self.stream.year_date_field} < ADD_MONTHS(SYSDATE, 3)" # noqa:E501 + f"TO_CHAR({self.stream.year_date_field}, 'YYYY') >= 2024 and {self.stream.year_date_field} < ADD_MONTHS(SYSDATE, 3)" # noqa:E501 ) if self.stream.replication_key: