s5dsn-eqee commented on PR #2646:
URL:
https://github.com/apache/datafusion-sqlparser-rs/pull/2646#issuecomment-6743705600
### Known mismatches the new target will report
The ClusterFuzzLite build runs `cargo fuzz build --all-features` and
copies every target from `cargo fuzz list`, so `fuzz_clickhouse_lexes` joins
the daily batch run. Two inputs that ClickHouse accepts and `ClickHouseDialect`
rejects are already known, and both have fixes:
| Input | ClickHouse 26.9.19.9 | sqlparser today | Fix |
|---|---|---|---|
| `SELECT 1_` | `Identifier 1_` | `Unexpected character '_'` | #2694 |
| `SELECT $a$ x` | `Identifier $a$ (alias x)` | `Unterminated
dollar-quoted, expected $` | #2894 |
ClickHouse's lexer is much more permissive than its parser, so many inputs
it accepts are rejected later by the engine anyway. These two are accepted by
the engine too, but for future reports: do we need to match the lexer on corner
cases like these, or only where the engine actually accepts the statement?
--
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]