Skip to content

SQL and Dataform sqlx language support #1756

Description

@paran-hiberuscom

Re-proposing SQL support as a single self-contained PR against current main, as suggested when #95 was closed. Listed under #648.

Scope: .sql files via a vendored tree-sitter-sql grammar. Tables, views and functions become nodes; FROM/JOIN references become edges, so impact analysis follows schema changes through query files. .sqlx Dataform models become one node each, linked by ref() / resolve() and config dependencies.

Out of scope for now: templated SQL such as dbt/Jinja. Those files parse to no symbols. Documented as partial support.

PR follows.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions