Skip to content

Commit

Permalink
Even more fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarrmondragon committed Mar 20, 2024
1 parent 4dbe287 commit 190b2c4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def validate(self) -> None:
assert row[1] == '[\n "apple",\n "orange",\n "pear"\n]'
table_schema = connector.get_table(table)
expected_types = {
"id": sct._CUSTOM_DECIMAL, # noqa: SLF001
"id": sqlalchemy.DECIMAL,
"fruits": sct.VARIANT,
"_sdc_extracted_at": sct.TIMESTAMP_NTZ,
"_sdc_batched_at": sct.TIMESTAMP_NTZ,
Expand All @@ -68,7 +68,7 @@ def validate(self) -> None:
table = f"{self.target.config['database']}.{self.target.config['default_target_schema']}.ForecastingTypeToCategory".upper() # noqa: E501
table_schema = connector.get_table(table)
expected_types = {
"id": sct._CUSTOM_DECIMAL, # noqa: SLF001
"id": sqlalchemy.VARCHAR,
"isdeleted": sqlalchemy.types.BOOLEAN,
"createddate": sct.TIMESTAMP_NTZ,
"createdbyid": sct.STRING,
Expand Down Expand Up @@ -255,6 +255,7 @@ def validate(self) -> None:
"_sdc_batched_at": sct.TIMESTAMP_NTZ,
"_sdc_received_at": sct.TIMESTAMP_NTZ,
"_sdc_deleted_at": sct.TIMESTAMP_NTZ,
"_sdc_sync_started_at": sct.NUMBER,
"_sdc_table_version": sct.NUMBER,
"_sdc_sequence": sct.NUMBER,
}
Expand Down

0 comments on commit 190b2c4

Please sign in to comment.