fix: Convert TIMESTAMP_* to TIMESTAMP in Snowflake (#22872)

This commit is contained in:
Geido
2023-01-26 19:49:44 +01:00
committed by GitHub
parent 6998f65e1d
commit 3fd4718ecb
3 changed files with 3 additions and 2 deletions

View File

@@ -34,6 +34,7 @@ from tests.unit_tests.fixtures.common import dttm
("DATE", "TO_DATE('2019-01-02')"),
("DATETIME", "CAST('2019-01-02T03:04:05.678900' AS DATETIME)"),
("TIMESTAMP", "TO_TIMESTAMP('2019-01-02T03:04:05.678900')"),
("TIMESTAMP_NTZ", "TO_TIMESTAMP('2019-01-02T03:04:05.678900')"),
],
)
def test_convert_dttm(actual: str, expected: str, dttm: datetime) -> None: