From 6a22086850fc960715b618e82f4c2e43a4529146 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 20 Feb 2023 09:50:35 +0100 Subject: Merging upstream version 11.2.0. Signed-off-by: Daniel Baumann --- tests/dialects/test_dialect.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/dialects/test_dialect.py') diff --git a/tests/dialects/test_dialect.py b/tests/dialects/test_dialect.py index 5f048da..685dea4 100644 --- a/tests/dialects/test_dialect.py +++ b/tests/dialects/test_dialect.py @@ -422,9 +422,11 @@ class TestDialect(Validator): self.validate_all( "TS_OR_DS_TO_DATE(x)", write={ + "bigquery": "CAST(x AS DATE)", "duckdb": "CAST(x AS DATE)", "hive": "TO_DATE(x)", "presto": "CAST(SUBSTR(CAST(x AS VARCHAR), 1, 10) AS DATE)", + "snowflake": "CAST(x AS DATE)", }, ) self.validate_all( -- cgit v1.2.3