Skip to content

Construct AST from Parsed Components #6

Description

@stifskere

Sub-issue of #3

Objective

Convert parsed SQL components into an AST representing the full schema.

Tasks

Stage 1: PostgreSQL CREATE TABLE (priority)

  • Map parsed PostgreSQL CREATE TABLE data into AST nodes.
  • Ensure proper parent-child relations (table → columns, constraints).
  • Validate AST structure correctness.

Stage 2: Full MVP / Other Dialects

  • Support additional node types from extended parsing.
  • Improve validation for complex schema constructs.

Note: Stage 2 is deferred; focus on Stage 1 for use within Flaky.

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

    Type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions