diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-07-31 07:55:41 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-07-31 07:55:41 +0000 |
commit | 10c2aed88097d8c5495cdd00d975eb422c85f52a (patch) | |
tree | c723d62f54d831e40f80b91ba2c4edd52687335b /tests/test_expressions.py | |
parent | Releasing debian version 25.7.1-1. (diff) | |
download | sqlglot-10c2aed88097d8c5495cdd00d975eb422c85f52a.tar.xz sqlglot-10c2aed88097d8c5495cdd00d975eb422c85f52a.zip |
Merging upstream version 25.8.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/test_expressions.py')
-rw-r--r-- | tests/test_expressions.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_expressions.py b/tests/test_expressions.py index 9ac2110..37a9720 100644 --- a/tests/test_expressions.py +++ b/tests/test_expressions.py @@ -1001,6 +1001,8 @@ FROM foo""", self.assertEqual(exp.DataType.build("ARRAY<UNKNOWN>").sql(), "ARRAY<UNKNOWN>") self.assertEqual(exp.DataType.build("ARRAY<NULL>").sql(), "ARRAY<NULL>") self.assertEqual(exp.DataType.build("varchar(100) collate 'en-ci'").sql(), "VARCHAR(100)") + self.assertEqual(exp.DataType.build("int[3]").sql(dialect="duckdb"), "INT[3]") + self.assertEqual(exp.DataType.build("int[3][3]").sql(dialect="duckdb"), "INT[3][3]") with self.assertRaises(ParseError): exp.DataType.build("varchar(") |