summaryrefslogtreecommitdiffstats
path: root/tests/test_serde.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-06-11 12:46:10 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-06-11 12:46:10 +0000
commitd142aecb38fbfd35bf2a0732f5391a807bff3a5e (patch)
treef5430f0e6a127d39c663e958045aa1bbb462c58b /tests/test_serde.py
parentReleasing debian version 15.0.0-1. (diff)
downloadsqlglot-d142aecb38fbfd35bf2a0732f5391a807bff3a5e.tar.xz
sqlglot-d142aecb38fbfd35bf2a0732f5391a807bff3a5e.zip
Merging upstream version 15.2.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--tests/test_serde.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_serde.py b/tests/test_serde.py
index 6b5c989..1043fcf 100644
--- a/tests/test_serde.py
+++ b/tests/test_serde.py
@@ -27,7 +27,7 @@ class TestSerDe(unittest.TestCase):
self.assertEqual(before, after)
def test_type_annotations(self):
- before = annotate_types(parse_one("CAST('1' AS INT)"))
+ before = annotate_types(parse_one("CAST('1' AS STRUCT<x ARRAY<INT>>)"))
after = self.dump_load(before)
self.assertEqual(before.type, after.type)
self.assertEqual(before.this.type, after.this.type)