You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "s5dsn-eqee (via GitHub)" <gi...@apache.org> on 2026/10/17 20:42:44 UTC

[I] ClickHouse: # comments are not recognized [datafusion-sqlparser-rs]

s5dsn-eqee opened a new issue, #2673:
URL: https://github.com/apache/datafusion-sqlparser-rs/issues/2673

   ClickHouse accepts `#` followed by a space as a single-line comment
     (https://clickhouse.com/docs/sql-reference/syntax#comments), but the
     ClickHouse dialect tokenizer rejects it:
   
         SELECT 1 # it's a comment
         -- Unterminated string literal at Line: 1, Column: 14
   
     The tokenizer only treats `#` as a comment start for Snowflake, BigQuery,
     MySQL and Hive. Found by the lexer-comparison fuzz target from #2646.


-- 
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] ClickHouse: # comments are not recognized [datafusion-sqlparser-rs]

Posted by "LucaCappelletti94 (via GitHub)" <gi...@apache.org>.
LucaCappelletti94 closed issue #2673: ClickHouse: # comments are not recognized
URL: https://github.com/apache/datafusion-sqlparser-rs/issues/2673


-- 
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