Support underscore separators in numbers for Clickhouse. Fixes #1659 (#1677)

This commit is contained in:
Paul Grau 2025-01-28 15:26:08 +02:00 committed by GitHub
parent 8de3a62948
commit 269967a6ac
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 99 additions and 3 deletions

View file

@ -249,6 +249,10 @@ impl Dialect for PostgreSqlDialect {
fn supports_string_escape_constant(&self) -> bool {
true
}
fn supports_numeric_literal_underscores(&self) -> bool {
true
}
}
pub fn parse_create(parser: &mut Parser) -> Option<Result<Statement, ParserError>> {