Skip to content

More comprehensive parsing of the SQL dataflow graph #3103

@mscolnick

Description

@mscolnick

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions