diff options
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") |