diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-03-07 18:09:31 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-03-07 18:09:31 +0000 |
commit | ebec59cc5cb6c6856705bf82ced7fe8d9f75b0d0 (patch) | |
tree | eacad0719c5f2d113f221000ec126226f0d7fc9e /tests/dialects/test_redshift.py | |
parent | Releasing debian version 11.2.3-1. (diff) | |
download | sqlglot-ebec59cc5cb6c6856705bf82ced7fe8d9f75b0d0.tar.xz sqlglot-ebec59cc5cb6c6856705bf82ced7fe8d9f75b0d0.zip |
Merging upstream version 11.3.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | tests/dialects/test_redshift.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/dialects/test_redshift.py b/tests/dialects/test_redshift.py index fa4d422..640706a 100644 --- a/tests/dialects/test_redshift.py +++ b/tests/dialects/test_redshift.py @@ -39,6 +39,12 @@ class TestRedshift(Validator): }, ) self.validate_all( + "SELECT 'abc'::CHARACTER", + write={ + "redshift": "SELECT CAST('abc' AS CHAR)", + }, + ) + self.validate_all( "SELECT * FROM venue WHERE (venuecity, venuestate) IN (('Miami', 'FL'), ('Tampa', 'FL')) ORDER BY venueid", write={ "redshift": "SELECT * FROM venue WHERE (venuecity, venuestate) IN (('Miami', 'FL'), ('Tampa', 'FL')) ORDER BY venueid", |