You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "alexkazik (via GitHub)" <gi...@apache.org> on 2026/02/08 14:38:13 UTC

[I] Error parsing an empty comment [datafusion-sqlparser-rs]

alexkazik opened a new issue, #2211:
URL: https://github.com/apache/datafusion-sqlparser-rs/issues/2211

   Sql (mysql, only the first five lines of the file, unix=lf-style):
   ```sql
   -- phpMyAdmin SQL Dump
   -- version 5.2.2
   -- https://www.phpmyadmin.net/
   --
   -- Host: localhost:3306
   ```
   
   ```
   sql parser error: Expected: an SQL statement, found: - at Line: 4, Column: 1
   ```
   
   Changing `--` into `-- nop` does fix the issue.
   
   Was parsed correctly in 0.53, is broken in 0.60 (no other versions tested).
   


-- 
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-unsubscribe@datafusion.apache.org.apache.org

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


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


Re: [I] Error parsing an empty comment [datafusion-sqlparser-rs]

Posted by "alexkazik (via GitHub)" <gi...@apache.org>.
alexkazik commented on issue #2211:
URL: https://github.com/apache/datafusion-sqlparser-rs/issues/2211#issuecomment-3889119437

   Fixed with 0.61


-- 
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-unsubscribe@datafusion.apache.org

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


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


Re: [I] Error parsing an empty comment [datafusion-sqlparser-rs]

Posted by "alexkazik (via GitHub)" <gi...@apache.org>.
alexkazik closed issue #2211: Error parsing an empty comment
URL: https://github.com/apache/datafusion-sqlparser-rs/issues/2211


-- 
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-unsubscribe@datafusion.apache.org

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


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