summaryrefslogtreecommitdiffstats
path: root/tests/dialects/test_redshift.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-10-09 06:28:52 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-10-09 06:28:52 +0000
commita8cfe41f416430cab0d6aa0ff6a688b2832a39aa (patch)
treedd48a1d853317a0daaaf3e2f6868e01dbad936e7 /tests/dialects/test_redshift.py
parentReleasing debian version 25.24.0-1. (diff)
downloadsqlglot-a8cfe41f416430cab0d6aa0ff6a688b2832a39aa.tar.xz
sqlglot-a8cfe41f416430cab0d6aa0ff6a688b2832a39aa.zip
Merging upstream version 25.24.5.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/dialects/test_redshift.py')
-rw-r--r--tests/dialects/test_redshift.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/dialects/test_redshift.py b/tests/dialects/test_redshift.py
index 6f561da..01c7f78 100644
--- a/tests/dialects/test_redshift.py
+++ b/tests/dialects/test_redshift.py
@@ -214,6 +214,12 @@ class TestRedshift(Validator):
},
)
self.validate_all(
+ "CREATE TABLE a (b BINARY VARYING(10))",
+ write={
+ "redshift": "CREATE TABLE a (b VARBYTE(10))",
+ },
+ )
+ self.validate_all(
"SELECT 'abc'::CHARACTER",
write={
"redshift": "SELECT CAST('abc' AS CHAR)",