aharpervc commented on PR #1809:
URL: 
https://github.com/apache/datafusion-sqlparser-rs/pull/1809#issuecomment-2825528849

   Here's another example case this PR should parse properly, before merging 
(on my todo list...)
   
   ```
   USE some_database;
   GO
   
   ;WITH cte AS (
     SELECT 1 x
   )
   SELECT *
   FROM cte;
   ```
   
   The peek logic in parse_go should be seeing that newline, but it's 
accidentally advancing past the whitespace, seeing the semi-colon, and failing.


-- 
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: github-unsubscr...@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to