Skip to content

Valid SQL Unable to be Parsed #71

Description

@chris-clark-serverless

I'm not sure what is causing it, but sql like this.

SELECT TOP 10 *
FROM dbname.vw.Invoices
WHERE [Open Invoice] = 'Y'
ORDER BY CAST([Invoice Amount] AS decimal(15,2)) DESC

Is throwing an error.
"Expected ], found Invoice, Line: 3, Col: 13"

My suspicion is that this library doesn't support spaces even though they are inside [ ]

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