matt-deboer opened a new issue, #1709:
URL: https://github.com/apache/datafusion-sqlparser-rs/issues/1709
1. The `PRINT string | @variable | str_expression` statement in MSSQL
doesn't parse as a valid statement, and causes all other statement parsing to
fail. I'm processing it now by finding and extracting all of them ahead of
time, but it would be nice if they could be handled and ignored--treated
essentially the same as comments.
They currently fail with:
`ParserError("Expected: an SQL statement, found: PRINT")`
2. Also, the CONSTRAINT line in this statement fails:
```
CREATE TABLE SAMPLE
(
[ID] numeric(19) NOT NULL ,
CONSTRAINT [ID_PK] PRIMARY KEY CLUSTERED ([ID] ASC)
)
```
With:
`ParserError("Expected: ), found: ASC")`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]