Skip to content

use tokens before parsing #6

@jaheba

Description

@jaheba

I have digged a bit deeper into the code and have noted some issues, which are in my opinion are due to the fact, that the input string is not tokenised before. I have started to write one, which handles the input quite well. I hope I find time this or next week to port it into the sql2ast function.

Things which cause problems:

  • Select is not valid, only SELECT or select
  • ONand AS always needs to be written in capital letters
  • SELECT .. x = "some string"; .... "other string" results into ignoring the ; as a seperator between the queries

I think there are more issues with the current way the parser works, that are those I just found.

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