diff options
Diffstat (limited to 'tests/test_expressions.py')
-rw-r--r-- | tests/test_expressions.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test_expressions.py b/tests/test_expressions.py index e7a37f3..f83addb 100644 --- a/tests/test_expressions.py +++ b/tests/test_expressions.py @@ -179,6 +179,10 @@ class TestExpressions(unittest.TestCase): self.assertEqual(exp.table_name(parse_one("a.b", into=exp.Table)), "a.b") self.assertEqual(exp.table_name(parse_one("a.b.c", into=exp.Table)), "a.b.c") self.assertEqual(exp.table_name("a.b.c"), "a.b.c") + self.assertEqual( + exp.table_name(parse_one("foo.`{bar,er}`", read="databricks"), dialect="databricks"), + "foo.`{bar,er}`", + ) def test_table(self): self.assertEqual(exp.table_("a", alias="b"), parse_one("select * from a b").find(exp.Table)) |