Skip to content

Commit

Permalink
chore(tap-suiteql) add test
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurferreira1 committed May 8, 2024
1 parent 8331a80 commit 8b41f9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tap_suiteql/tests/test_query_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def test_sql_builder_from_transaction():
def test_sql_builder_with_filter():
expected = """select col_id,col_1,col_2,TO_CHAR(year_date_field, 'YYYY-MM-DD\"T\"HH24:MI:SS') year_date_field
from dummy_with_stream
where 1=1 and TO_CHAR(year_date_field, 'YYYY') >= 2023 and year_date_field < ADD_MONTHS(SYSDATE, 3)
where 1=1 and TO_CHAR(year_date_field, 'YYYY') >= 2024 and year_date_field < ADD_MONTHS(SYSDATE, 3)
order by col_id""" # noqa:E501

query = QueryBuilder(DummyStreamWithFilter).query()
Expand Down

0 comments on commit 8b41f9a

Please sign in to comment.