Description
We fail to parse Tables and Common Table Expression (CTE) in certain nested expressions or joins in SQL.
We would like to be able to cover more edge-case. They can be found in:
tests/_ast/test_sql_visitor.py > "@pytest.mark.xfail"
Suggested solution
We could continue parsing ourselves using the token/ast that duckdb returns, or use a more comprehensive library like sqlglot
Alternative
No response
Additional context
No response