diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-02-20 08:50:30 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-02-20 08:50:30 +0000 |
commit | cc4c7716b8fe6b13bf735ab1ccbc1a92ded4d6d5 (patch) | |
tree | 3723d527945944e4fed74f7fe9da43407349351a /tests/dialects | |
parent | Adding upstream version 11.1.3. (diff) | |
download | sqlglot-cc4c7716b8fe6b13bf735ab1ccbc1a92ded4d6d5.tar.xz sqlglot-cc4c7716b8fe6b13bf735ab1ccbc1a92ded4d6d5.zip |
Adding upstream version 11.2.0.upstream/11.2.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/dialects')
-rw-r--r-- | tests/dialects/test_dialect.py | 2 |
1 files changed, 2 insertions, 0 deletions
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( |