diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-09-20 09:22:22 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-09-20 09:22:22 +0000 |
commit | 281115ae80458761fb3593c81fe9488976b87c6d (patch) | |
tree | f159075e865f3bad227b365878dc315eeab64112 /tests/test_expressions.py | |
parent | Adding upstream version 18.4.1. (diff) | |
download | sqlglot-281115ae80458761fb3593c81fe9488976b87c6d.tar.xz sqlglot-281115ae80458761fb3593c81fe9488976b87c6d.zip |
Adding upstream version 18.5.1.upstream/18.5.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 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_expressions.py b/tests/test_expressions.py index 5d1f810..b3ce926 100644 --- a/tests/test_expressions.py +++ b/tests/test_expressions.py @@ -934,5 +934,8 @@ FROM foo""", assert dtype.is_type("foo") assert not dtype.is_type("bar") + dtype = exp.DataType.build("a.b.c", udt=True) + assert dtype.is_type("a.b.c") + with self.assertRaises(ParseError): exp.DataType.build("foo") |