1
0
Fork 0

Merging upstream version 26.28.1.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-06-15 10:36:04 +02:00
parent 893214206a
commit c79efa667c
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
96 changed files with 58442 additions and 56422 deletions

View file

@ -1003,3 +1003,9 @@ class TestParser(unittest.TestCase):
table_meta = ast.args["from"].this.this.meta
self.assertEqual(sql[table_meta["start"] : table_meta["end"] + 1], '"test_table_a"')
def test_qualified_function(self):
sql = "a.b.c.d.e.f.g.foo()"
ast = parse_one(sql)
assert not any(isinstance(n, exp.Column) for n in ast.walk())
assert len(list(ast.find_all(exp.Dot))) == 7