diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-06-11 12:46:06 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-06-11 12:46:06 +0000 |
commit | 9dae42c19381cf27dc56bd932aebd780aa66722b (patch) | |
tree | d70521fc9bf401e225f567a2d6acf1c1e4add2fd /tests/test_serde.py | |
parent | Adding upstream version 15.0.0. (diff) | |
download | sqlglot-9dae42c19381cf27dc56bd932aebd780aa66722b.tar.xz sqlglot-9dae42c19381cf27dc56bd932aebd780aa66722b.zip |
Adding upstream version 15.2.0.upstream/15.2.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/test_serde.py')
-rw-r--r-- | tests/test_serde.py | 2 |
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) |