Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Improve Statement Splitter #135

Open
Open
Labels
enhancementNew feature or request
@psteinroe

Description

The statement splitter is a crate that receives sql source and returns ranges for every statement in the file. It's supposed to work with incomplete and incorrect statements. Right now, we use a simple Pratt Parser that

  • cuts on semicolons
  • cuts on double newlines
  • tries to be "smart" about DML statements (e.g. select 1 select 1 is split into two)

this is a very pragmatic solution, and we need to figure it if its sufficient.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /